pypowsybl.dynamic.ModelMapping.add_tap_changer_automation_system#

ModelMapping.add_tap_changer_automation_system(df=None, **kwargs)[source]#

Add a dynamic tap changer automation 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 tap changer automation system

  • parameter_set_id: id of the parameter for this model given in the dynawo configuration

  • static_id: id of the load on which the tap changer is added

  • side: transformer side of the tap changer (HIGH_VOLTAGE, LOW_VOLTAGE or NONE)

  • 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_tap_changer_automation_system(dynamic_model_id='DM_TC',
                                                parameter_set_id='tc',
                                                static_id='LOAD',
                                                side='HIGH_VOLTAGE',
                                                model_name='TapChangerAutomaton')