ElectricalState class

Represents the calculated electrical state of a node. These values are derived from load flow or voltage drop calculations.

Annotations

Constructors

ElectricalState({@Default(0.0) double voltageDropPercent, @Default(0.0) double shortCircuitCurrentAmps, @Default(0.0) double activePowerWatts, @Default(0.0) double reactivePowerVars, @Default(0.0) double currentAmps, @Default(0.0) double voltageVolts})
const
factory
ElectricalState.fromJson(Map<String, dynamic> json)
factory

Properties

activePowerWatts double
Active power flowing through this node in Watts (W).
no setterinherited
copyWith → $ElectricalStateCopyWith<ElectricalState>
no setterinherited
currentAmps double
Current flowing through this node in Amperes (A).
no setterinherited
hashCode int
The hash code for this object.
no setterinherited
reactivePowerVars double
Reactive power flowing through this node in VARs.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
shortCircuitCurrentAmps double
Short circuit current at this point in Amperes (kA typically, but storing as double for precision).
no setterinherited
voltageDropPercent double
Voltage drop in percentage relative to the source voltage.
no setterinherited
voltageVolts double
Voltage level at this node in Volts (V).
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited