Motor
Create Function
- pandapower.create.create_motor(net, bus, pn_mech_mw, cos_phi, efficiency_percent=100.0, loading_percent=100.0, name=None, lrc_pu=nan, scaling=1.0, vn_kv=nan, rx=nan, index=None, in_service=True, cos_phi_n=nan, efficiency_n_percent=nan, **kwargs)
Adds a motor to the network.
- Parameters:
created (**net** - The net within this motor should be)
**bus** (int)
**pn_mech_mw** (float)
**cos_phi** (float, nan)
**name** (string, None)
**efficiency_percent** (float, 100)
**loading_percent** (float, 100)
**scaling** (float, 1.0)
**cos_phi_n** (float, nan)
**efficiency_n_percent** (float, 100)
**lrc_pu** (float, nan)
**rx** (float, nan)
**vn_kv** (float, NaN)
**in_service** (bool, True)
**index** (int, None)
net (pandapowerNet)
bus (int | integer)
pn_mech_mw (float)
cos_phi (float)
efficiency_percent (float)
loading_percent (float)
name (str | None)
lrc_pu (float)
scaling (float)
vn_kv (float)
rx (float)
index (int | integer | None)
in_service (bool)
cos_phi_n (float)
efficiency_n_percent (float)
- Returns:
index (int) - The unique ID of the created motor
- Return type:
int | integer
Example
create_motor(net, 1, pn_mech_mw=0.120, cos_ph=0.9, vn_kv=0.6, efficiency_percent=90, loading_percent=40, lrc_pu=6.0)
Input Parameters
net.motor
Parameter |
Datatype |
Value Range |
Explanation |
name |
string |
name of the motor |
|
bus * |
integer |
index of connected bus |
|
pn_mech_mw* |
float |
\(\geq 0\) |
Mechanical rated power of the motor [MW] |
cos_phi * |
float |
\(0...1\) |
cosine phi at current operating point |
cos_phi_n * |
float |
\(0...1\) |
cosine phi at rated power of the motor for short-circuit calculation |
efficiency_percent * |
float |
\(0..100\) |
Efficiency in percent at current operating point[%] |
efficiency_n_percent * |
float |
\(0..100\) |
Efficiency in percent at rated power for short-circuit calculation [%] |
loading_percent * |
float |
\(0..100\) |
Efficiency in percent at rated power for short-circuit calculation [%] [%] |
scaling * |
float |
\(\geq 0\) |
scaling factor for active and reactive power |
lrc_pu * |
float |
\(\geq 0\) |
locked rotor current in relation to the rated motor current [pu] |
rx * |
float |
\(\geq 0\) |
R/X ratio of the motor for short-circuit calculation. |
vn_kv * |
float |
\(\geq 0\) |
Rated voltage of the motor for short-circuit calculation |
in_service* |
boolean |
True / False |
specifies if the motor is in service. |
*necessary for executing a power flow calculation.
Electric Model
Result Parameters
net.res_motor
Parameter |
Datatype |
Explanation |
p_mw |
float |
resulting active power demand [MW] |
q_mvar |
float |
resulting reactive power demand [MVar] |
The power values in the net.res_motor table are equivalent to \(P_{motor}\) and \(Q_{motor}\).