Unit System and ConventionsΒΆ

Naming Conventions

Parameters are always named in the form of <parameter>_<unit>, such as:

Parameter read as
vm_pu \(v_m [pu]\)
loading_percent \(loading [\%]\)
pl_mw \(p_l [mw]\)
r_ohm_per_km \(r [\Omega / km]\)

Constraint parameters are always named with max or min as the prefix to the variable which is constrained, for example:

Parameter read as
min_vm_pu \(v_m^{min} [pu]\)
max_loading_percent \(loading^{max} [\%]\)
max_p_mw \(p^{max} [mw]\)
min_q_mvar \(q^{min} [mvar]\)

It is advised to keep consistent with these naming conventions when extending the framework and introducing new parameters.

Three Phase System

For the three phase system, the following conventions apply:

  • voltage values are given as phase-to-phase voltages
  • current values are given as phase currents
  • power values are given as three-phase power flows

The power equation in the three phase system is therefore given as \(S = \sqrt3 \cdot V \cdot I\).

All power values are given in MW / MVA / MVar except the iron losses of transformers which are given in MW (pfe_mw).

Per Unit System

Bus voltages are given in the per unit system. The per unit values are relative to the phase-to-phase voltages defined in net.bus.vn_kv for each bus.

The rated apparent power for the per unit system can be defined with the net.sn_mva parameter when creating an empty network. The default value is \(S_{N} = 1 MVA\). The value should not be relevant in most applications since all power values are given in physical units.

Signing System

There are three elements that have power values based on the generator viewpoint (positive active power means power generation), which are:
  • gen
  • sgen
  • ext_grid
For all other bus elements the signing is based on the consumer viewpoint (positive active power means power consumption):
  • bus
  • load
  • shunt
  • ward
  • xward
  • storage

The power flow values for branch elements (e.g. lines & transformers) are always defined as the power flow into the branch element (positive values means power flows into the element, negative power means power flows out of the element).

Frequency

The frequency can be defined when creating an empty network. The frequency is only used to calculate the shunt admittance of lines, since the line reactance is given directly in ohm per kilometer. The frequency is also relevant when calculating the peak factor \(\kappa\) in the short circuit calculation.

The standard frequency in pandapower is 50 Hz, and the pandapower standard types are also chosen for 50 Hz systems. If you use a different frequency, please be aware that the line reactance values might not be realistic.