pypowsybl.dynamic.ModelMapping.add_base_bus#

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

Add a base bus 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

  • dynamic_model_id: id of the model mapping the network element (if none the static id will be used)

  • 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_base_bus(static_id='BUS',
                           parameter_set_id='bus',
                           dynamic_model_id='DM_BUS',
                           model_name='Bus')