pypowsybl.network.Network.update_loads#

Network.update_loads(df=None, **kwargs)[source]#

Update loads with data provided as a DataFrame or as named arguments.

Parameters:
Return type:

None

Notes

Attributes that can be updated are:

  • p0

  • q0

  • connected

  • fictitious

See also

get_loads()

Examples

Some examples using keyword arguments:

network.update_loads(id='L-1', p0=10, q0=3)
network.update_loads(id=['L-1', 'L-2'],  p0=[10, 20], q0=[3, 5])