pypowsybl.network.Network.create_areas#
- Network.create_areas(df=None, **kwargs)[source]#
Create areas.
- Parameters:
- Return type:
None
See also
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 area
name: an optional human-readable name
area_type: the type of Area (e.g. ControlArea, BiddingZone …)
interchange_target: Target active power interchange (MW)
Examples
Using keyword arguments:
network.create_areas(id='Area1', area_type='ControlArea', interchange_target=120.5)