Load DC

Note

DC Loads, as their AC counterparts, should always have a positive p_mw value, since all power values are given in the consumer system. If you want to model constant generation, use a source_dc instead of a negative load.

Create Function

pandapower.create_load_dc(net, bus_dc, p_dc_mw, scaling=get_default_value('load_dc', 'scaling'), type=None, index=None, name=None, in_service=get_default_value('load_dc', 'in_service'), controllable=get_default_value('load_dc', 'controllable'), **kwargs)

Creates a DC load connected to a DC bus.

Parameters:
  • net (pandapowerNet) – The pandapower network in which the element is created

  • bus_dc (int | integer) – index of the dc bus the dc load is connected to

  • p_dc_mw (float) – The power of the load

  • name (str | None) – element name

  • index (int | integer | None) – Force a specified ID if it is available. If None, the index one higher than the highest already existing index is selected.

  • in_service (bool) – True for in service or False for out of service.

  • scaling (float) – An OPTIONAL scaling factor, is multiplied with p_dc_mw.

  • type (str | None) – A string describing the type.

  • controllable (bool) – States, whether a load is controllable or not. Only respected for OPF; defaults to False if “controllable” column exists in DataFrame

Returns:

The ID of the created DC load

Table Structure

net.load_dc

Parameter

Datatype

Value Range

Explanation

nullable

required

name

name of the load

✓

bus_dc

int

>=0

index of connected bus

✓

p_dc_mw

float

active power of the load [MW] positive value means consumption

✓

scaling

float

>=0

scaling factor for active and reactive power

✓

in_service

bool

specifies if the load is in service.

✓

type

A string describing the type.

✓

controllable

bool

States if load is controllable or not, load will not be used as a flexibilty if it is not controllable

zone

can be used to group loads, for example network groups / regions

✓

*necessary for executing a power flow calculation.

Note

The type is provided as additional information for usage in controller or other applications based on pandapower. It is not considered in the power flow! Together with source_dc one could build a pure multi terminal DC systen. But currently such pure system will not run. A small AC system is still needed, but no connection between both systems is needed.

Electric Model

Loads are modelled as P-buses in the power flow calculation:

alternate Text

What part of the load is considered constant with constant power: The load power values are then defines as:

\begin{align*} P_{load} =& p\_mw \cdot scaling \cdot (p_{const_p} + i_{const_p} \cdot V ) \\ \end{align*}

Result Table

net.res_load_dc

Parameter

Datatype

Explanation

nullable

required

p_dc_mw

float

resulting active power demand after scaling and after considering voltage dependence [MW]

✓

✓

The power values in the net.res_load_dc table are equivalent to \(P_{load}\).