The com.powsybl.iidm.network.Load interface is used to model a constant power load. The active and reactive power setpoints are fixed.

# Characteristics

Attribute Type Unit Required Default value Description
LoadType LoadType - no UNDEFINED The type of the load
P0 double MW yes - The active power setpoint
Q0 double MVar yes - The reactive power setpoint

The com.powsybl.iidm.network.LoadType enum contains these three values:

• UNDEFINED
• AUXILIARY
• FICTITIOUS

# Flow sign convention

• Flow out from bus has positive sign.
• Consumptions are positive.

# Examples

This example shows how to create a new Load in the network:

Load load = network.getVoltageLevel("VL").newLoad()