pypowsybl.network.Network.create_static_var_compensators#
- Network.create_static_var_compensators(df=None, **kwargs)[source]#
Creates static var compensators.
- 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 SVC
voltage_level_id: the voltage level where the new SVC will be created. The voltage level must already exist.
bus_id: the bus where the new SVC will be connected, if the voltage level has a bus-breaker topology kind.
connectable_bus_id: the bus where the new SVC will be connectable, if the voltage level has a bus-breaker topology kind.
node: the node where the new SVC will be connected, if the voltage level has a node-breaker topology kind.
name: an optional human-readable name
b_max: the maximum susceptance, in S
b_min: the minimum susceptance, in S
regulation_mode: the regulation mode (VOLTAGE, REACTIVE_POWER, OFF)
target_v: the target voltage, in kV, when the regulation mode is VOLTAGE
target_q: the target reactive power, in MVar, when the regulation mode is not VOLTAGE
Examples
Using keyword arguments:
network.create_static_var_compensators(id='CS-1', voltage_level_id='VL1', bus_id='B1', b_min=-0.01, b_max=0.01, regulation_mode='VOLTAGE', target_v=400.0)