pypowsybl.dynamic.ModelMapping.add_hvdc_p#

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

Add an HVDC P mapping

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:

  • static_id: id of the network element to map

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

  • 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_hvdc_p(static_id='HVDC_LINE',
                         parameter_set_id='hvdc_p',
                         model_name='HvdcPV')