DC Bus
See also
Create Function
- pandapower.create_bus_dc(net, vn_kv, name=None, index=None, geodata=None, type='b', zone=None, in_service=True, max_vm_pu=nan, min_vm_pu=nan, coords=None, **kwargs)
Adds one dc bus in table net[“bus_dc”].
Buses are the nodes of the network that all other elements connect to.
- Parameters:
**net** (pandapowerNet)
**vn_kv** (float)
**name** (string, default None)
**index** (int, default None)
**geodata** ((x,y)-tuple, default None)
**type** (string, default "b")
busbar ("b" -)
muff ("m" -)
**zone** (string, None)
**in_service** (boolean)
**max_vm_pu** (float, NAN)
**min_vm_pu** (float, NAN)
**coords** (list (len=2) of tuples (len=2), default None)
of (the dc bus with multiple points. coords is typically a list of tuples (start and endpoint)
Example (the busbar) -) – [(x1, y1), (x2, y2)]
net (pandapowerNet)
vn_kv (float)
name (str | None)
index (int | integer | None)
geodata (tuple[float, float] | None)
type (Literal['n', 'b', 'm'])
zone (str | None)
in_service (bool)
max_vm_pu (float)
min_vm_pu (float)
coords (list[tuple[float, float]] | None)
- Returns:
index (int) - The unique ID of the created element
- Return type:
int | integer
Example
create_bus_dc(net, 20., name=”bus1”)
Input Parameters
net.bus_dc
Parameter |
Datatype |
Value Range |
Explanation |
name |
string |
name of the dc bus |
|
vn_kv* |
float |
\(>\) 0 |
rated voltage of the dc bus [kV] |
type |
string |
naming conventions:
“n” - node
“b” - busbar
“m” - muff
|
type variable to classify buses |
zone |
string |
can be used to group dc buses, for example network groups / regions |
|
in_service* |
boolean |
True / False |
specifies if the dc bus is in service |
*necessary for executing a power flow calculation
Note
Bus voltage limits can not be set for slack buses and will be ignored by the optimal power flow.
net.bus_dc_geodata
Parameter |
Datatype |
Explanation |
x |
float |
x coordinate of dc bus location |
y |
float |
y coordinate of dc bus location |
Electric Model
Result Parameters
net.res_bus_dc
Parameter |
Datatype |
Explanation |
vm_pu |
float |
voltage magnitude [p.u] |
p_mw |
float |
resulting active power demand [MW] |
The power flow bus results are defined as: