pypowsybl.dynamic.ModelMapping.add_phase_shifter_p_automation_system#

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

Add a dynamic phase shifter P 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 phase shifter P automation system

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

  • transformer: id of the transformer controlled by the automation system

  • 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_phase_shifter_p_automation_system(dynamic_model_id='DM_PS_P',
                                                    parameter_set_id='ov',
                                                    transformer='TRA',
                                                    model_name='PhaseShifterP')