pypowsybl.network.Network.create_grounds¶
- Network.create_grounds(df=None, **kwargs)[source]¶
Create grounds.
- 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 ground
voltage_level_id: the voltage level where the new ground will be created. The voltage level must already exist.
bus_id: the bus where the new ground will be connected, if the voltage level has a bus-breaker topology kind.
connectable_bus_id: the bus where the new ground will be connectable, if the voltage level has a bus-breaker topology kind.
node: the node where the new ground will be connected, if the voltage level has a node-breaker topology kind.
name: an optional human-readable name
Examples
Using keyword arguments:
network.create_loads(id='GROUND-1', voltage_level_id='VL1', bus_id='B1')