pypowsybl.dynamic.ModelMapping.add_two_levels_overload_management_system#
- ModelMapping.add_two_levels_overload_management_system(df=None, **kwargs)[source]#
Add a dynamic two levels overload management system (not link to a network element)
- Args:
df: Attributes as a dataframe. kwargs: Attributes as keyword arguments.
- 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:
dynamic_model_id: id of the two levels overload management system
parameter_set_id: id of the parameter for this model given in the dynawo configuration
controlled_branch: id of the branch controlled by the automation system
i_measurement_1: id of the first branch used for the current intensity measurement
i_measurement_1_side: measured side of the i_measurement_1 branch (ONE or TWO)
i_measurement_2: id of the second branch used for the current intensity measurement
i_measurement_2_side: measured side of the i_measurement_2 branch (ONE or TWO)
model_name: name of the model used for the mapping (if none the default model will be used)
Examples
Using keyword arguments:
model_mapping.add_two_levels_overload_management_system(dynamic_model_id='DM_TOV', parameter_set_id='tov', controlled_branch= 'LINE1', i_measurement_1='LINE1', i_measurement_1_side='TWO', i_measurement_2='LINE2', i_measurement_2_side='ONE', model_name='TwoLevelsOverloadManagementSystem')