pypowsybl.dynamic.EventMapping.add_node_fault#

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

Creates a bus node fault 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 bus affected by the event

  • start_time: timestep at which the event happens

  • fault_time: delta with start_time at which the event ends

  • r_pu: r pu variation

  • x_pu: x pu variation

Examples

Using keyword arguments:

event_mapping.add_node_fault(static_id='BUS', start_time=12, fault_time=2, r_pu=0.1, x_pu=0.2)