pypowsybl.network.Network.create_loads#

Network.create_loads(df=None, **kwargs)[source]#

Create loads.

Parameters:
Return type:

None

Notes

Data may be provided as a dataframe or as keyword arguments. In the latter case, all arguments must have the same length.

Valid attributes are:

  • id: the identifier of the new load

  • voltage_level_id: the voltage level where the new load will be created. The voltage level must already exist.

  • bus_id: the bus where the new load will be connected, if the voltage level has a bus-breaker topology kind.

  • connectable_bus_id: the bus where the new load will be connectable, if the voltage level has a bus-breaker topology kind.

  • node: the node where the new load will be connected, if the voltage level has a node-breaker topology kind.

  • name: an optional human-readable name

  • type: optionally, the type of load (UNDEFINED, AUXILIARY, FICTITIOUS)

  • p0: active power load, in MW

  • q0: reactive power load, in MVar

Examples

Using keyword arguments:

network.create_loads(id='LOAD-1', voltage_level_id='VL1', bus_id='B1', p0=10, q0=3)