ElectricalState constructor
Implementation
const factory ElectricalState({
/// Voltage drop in percentage relative to the source voltage.
@Default(0.0) double voltageDropPercent,
/// Short circuit current at this point in Amperes (kA typically, but storing as double for precision).
@Default(0.0) double shortCircuitCurrentAmps,
/// Active power flowing through this node in Watts (W).
@Default(0.0) double activePowerWatts,
/// Reactive power flowing through this node in VARs.
@Default(0.0) double reactivePowerVars,
/// Current flowing through this node in Amperes (A).
@Default(0.0) double currentAmps,
/// Voltage level at this node in Volts (V).
@Default(0.0) double voltageVolts,
}) = _ElectricalState;