pypowsybl.network.Network.create_hvdc_lines#

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

Creates HVDC lines.

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 HVDC line

  • name: an optional human-readable name

  • converter_station1_id: the station where the new HVDC line will be connected on side 1. It must already exist.

  • converter_station2_id: the station where the new HVDC line will be connected on side 2. It must already exist.

  • r: the resistance of the HVDC line, in Ohm

  • nominal_v: the nominal voltage of the HVDC line, in kV

  • max_p: the maximum transmissible power, in MW

  • target_p: the active power target, in MW

  • converters_mode: SIDE_1_RECTIFIER_SIDE_2_INVERTER or SIDE_1_INVERTER_SIDE_2_RECTIFIER

Examples

Using keyword arguments:

network.create_hvdc_lines(id='HVDC-1', converter_station1_id='CS-1', converter_station2_id='CS-2',
                          r=1.0, nominal_v=400, converters_mode='SIDE_1_RECTIFIER_SIDE_2_INVERTER',
                          max_p=1000, target_p=800)