pypowsybl.dynamic.EventMapping.add_disconnection#

EventMapping.add_disconnection(df=None, **kwargs)[source]#

Creates an equipment disconnection event

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 disconnect

  • start_time: timestep at which the event happens

  • disconnect_only: the disconnection is made on the provided side only for branch equipment (ONE or TWO)

Examples

Using keyword arguments:

event_mapping.add_disconnection(static_id='LINE', start_time=3.3, disconnect_only='TWO')