Ward

Create Function

pandapower.create_ward(net, bus, ps_kw, qs_kvar, pz_kw, qz_kvar, name=None, in_service=True, index=None)

Creates a ward equivalent.

A ward equivalent is a combination of an impedance load and a PQ load.

INPUT:

net (pandapowernet) - The pandapower net within the element should be created

bus (int) - bus of the ward equivalent

ps_kw (float) - active power of the PQ load

qs_kvar (float) - reactive power of the PQ load

pz_kw (float) - active power of the impedance load in kW at 1.pu voltage

qz_kvar (float) - reactive power of the impedance load in kVar at 1.pu voltage

OUTPUT:
ward id

Input Parameters

net.ward

Parameter Datatype Value Range Explanation
name string   name of the ward equivalent
bus* integer   index of connected bus
ps_kw* float   constant active power demand [kW]
qs_kvar* float   constant reactive power demand [kVar]
pz_kw* float   constant impedance active power demand at 1.0 pu [kW]
qz_kvar* float   constant impedance reactive power demand at 1.0 pu [kVar]
in_service* boolean True / False specifies if the ward equivalent is in service.

*necessary for executing a power flow calculation.

Electric Model

../_images/ward.png

The ward equivalent is a combination of a constant apparent power consumption and a constant impedance load. The constant apparent power is given by:

\begin{align*} P_{const} &= ps\_kw\\ Q_{const} &= qs\_kvar\\ \end{align*}

The shunt admittance part of the ward equivalent is calculated as described here:

\begin{align*} \underline{y}_{shunt} &= \frac{pz\_kw + j \cdot qz\_kvar}{S_{N}} \end{align*}

Result Parameters

net.res_ward

Parameter Datatype Explanation
p_kw float active power demand of the ward equivalent [kW]
q_kvar float reactive power demand of the ward equivalent [kVar]
vm_pu float voltage at the ward bus [p.u]
\begin{align*} vm\_pu &= v_{bus} \\ p\_kw &= P_{const} + Re(\frac{\underline{V}_{bus}^2}{\underline{Y}_{shunt}}) \\ q\_kvar &= Q_{const} + Im(\frac{\underline{V}_{bus}^2}{\underline{Y}_{shunt}}) \end{align*}