pypowsybl.network.Network.update_substations¶
- Network.update_substations(df=None, **kwargs)[source]¶
Update substations with data provided as a
DataFrameor as named arguments.- Parameters:
df (DataFrame | None) – the data to be updated, as a dataframe.
kwargs (ArrayLike) – the data to be updated, as named arguments. Arguments can be single values or any type of sequence. In the case of sequences, all arguments must have the same length.
- Return type:
None
Notes
Attributes that can be updated are :
TSO
country
fictitious
See also
Examples
Some examples using keyword arguments:
network.update_substations(id='S-1', TSO='ELIA', country='BE') network.update_substations(id=['S-1', 'S-2'], country=['BE', 'FR'])