pypowsybl.dynamic.ModelMapping.add_under_voltage_automation_system#

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

Add a dynamic under voltage 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 under voltage automation system

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

  • generator: id of the generator 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_under_voltage_automation_system(dynamic_model_id='DM_UV',
                                                  parameter_set_id='psi',
                                                  generator='GEN',
                                                  model_name='UnderVoltage'