pypowsybl.dynamic.EventMapping.add_reactive_power_variation¶
- EventMapping.add_reactive_power_variation(df=None, **kwargs)[source]¶
Creates a reactive power variation event on load and generator without dynamic model
- 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 load or generator affected by the event
start_time: timestep at which the event happens
delta_q: reactive power variation
Examples
Using keyword arguments:
event_mapping.add_reactive_power_variation(static_id='LOAD', start_time=14, delta_q=2)