Asymmetric Static Generator
Note
Static generators should always have a positive p_mw value, since all power values are given in the generator convention. If you want to model constant power consumption, it is recommended to use a load element instead of a static generator with negative active power value.
See also
Create Function
- pandapower.create.create_asymmetric_sgen(net, bus, p_a_mw=0, p_b_mw=0, p_c_mw=0, q_a_mvar=0, q_b_mvar=0, q_c_mvar=0, sn_mva=nan, name=None, index=None, scaling=1.0, type='wye', in_service=True, **kwargs)
Adds one static generator in table net[“asymmetric_sgen”].
Static generators are modelled as negative PQ loads. This element is used to model generators with a constant active and reactive power feed-in. Positive active power means generation.
- Parameters:
created (**net** - The net within this static generator should be)
**bus** (int)
**p_a_mw** (float, default 0) – Phase A
**p_b_mw** (float, default 0) – Phase B
**p_c_mw** (float, default 0) – Phase C
**q_a_mvar** (float, default 0) – Phase A
**q_b_mvar** (float, default 0) – Phase B
**q_c_mvar** (float, default 0) – Phase C
**sn_mva** (float, default None)
**name** (string, default None)
**index** (int, None)
**scaling** (float, 1.)
phases. (Multiplies with p_mw and q_mvar of all)
**type** (string, 'wye') – wye/delta
**in_service** (boolean)
net (pandapowerNet)
bus (int | integer)
p_a_mw (float)
p_b_mw (float)
p_c_mw (float)
q_a_mvar (float)
q_b_mvar (float)
q_c_mvar (float)
sn_mva (float)
name (str | None)
index (int | integer | None)
scaling (float)
type (Literal['wye', 'delta'])
in_service (bool)
- Returns:
index (int) - The unique ID of the created sgen
- Return type:
int | integer
Example
create_asymmetric_sgen(net, 1, p_b_mw=0.12)
Input Parameters
net.asymmetric_sgen
Parameter |
Datatype |
Value Range |
Explanation |
name |
string |
name of the static generator |
|
type |
string |
naming conventions:
“PV” - photovoltaic system
“WP” - wind power system
“CHP” - combined heating and power system
|
type of generator |
bus* |
integer |
index of connected bus |
|
p_a_mw* |
float |
\(\leq\) 0 |
active power of the static generator : Phase A[MW] |
q_a_mvar* |
float |
reactive power of the static generator : Phase A [MVar] |
|
p_b_mw* |
float |
\(\leq\) 0 |
active power of the static generator : Phase B[MW] |
q_b_mvar* |
float |
reactive power of the static generator : Phase B [MVar] |
|
p_c_mw* |
float |
\(\leq\) 0 |
active power of the static generator : Phase C[MW] |
q_c_mvar* |
float |
reactive power of the static generator : Phase C [MVar] |
|
sn_mva |
float |
\(>\) 0 |
rated power ot the static generator [MVA] |
scaling* |
float |
\(\geq\) 0 |
scaling factor for the active and reactive power |
in_service* |
boolean |
True / False |
specifies if the generator is in service. |
*necessary for executing a power flow calculation
**optimal power flow parameter
Electric Model
Static Generators are modelled as PQ-buses in the power flow calculation:
The PQ-Values are calculated from the parameter table values as:
Note
The apparent power value sn_mva is provided as additional information for usage in controller or other applications based on pandapower. It is not considered in the power flow!
Result Parameters
net.asymmetric_sgen
Parameter |
Datatype |
Explanation |
p_a_mw |
float |
resulting active power demand after scaling : Phase A [MW] |
q_a_mvar |
float |
resulting reactive power demand after scaling : Phase A [MVar] |
p_b_mw |
float |
resulting active power demand after scaling : Phase B [MW] |
q_b_mvar |
float |
resulting reactive power demand after scaling : Phase B [MVar] |
p_c_mw |
float |
resulting active power demand after scaling : Phase C [MW] |
q_c_mvar |
float |
resulting reactive power demand after scaling : Phase C [MVar] |
The power values in the net.res_sgen table are equivalent to \(P_{sgen}\) and \(Q_{sgen}\).