ElectricalConstants class

Electrical engineering constants for calculations and validation Based on REBT (Spanish Low Voltage Electrical Regulations) and IEC standards

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

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

Operators

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

Static Properties

cableCurrentCapacity Map<double, double>
Current capacity estimates for Cu, PVC, under conduit (UNE 20-460) Map: section (mm²) → current capacity (A)
final

Static Methods

estimateCurrentCapacity(double sectionMm2) double
Estimate cable current capacity from section Returns closest match from standard table
magneticMultiplier(String curve) double
Get magnetic trip multiplier based on curve type
requiredSection(double current) double
Calculate required cable section for given current Returns first standard section that can handle the current
voltageDropLimit({required bool isLighting}) double
Get voltage drop limit based on load type

Constants

aluminumResistivity → const double
Aluminum resistivity at 20°C (Ω·mm²/m)
aluminumTempCoefficient → const double
Temperature coefficient for aluminum (per °C)
cableSafetyFactor → const double
Safety factor for cable selection (typically 1.25x)
copperResistivity → const double
Copper resistivity at 20°C (Ω·mm²/m)
copperTempCoefficient → const double
Temperature coefficient for copper (per °C)
curveBMagneticMultiplier → const double
Curve B: Instantaneous trip at 3-5 times In Used for long cables and sensitive loads
curveCMagneticMultiplier → const double
Curve C: Instantaneous trip at 5-10 times In Standard for general purpose (most common)
curveDMagneticMultiplier → const double
Curve D: Instantaneous trip at 10-20 times In Used for inductive loads (motors, transformers)
defaultBreakingCapacityKA → const double
Default breaking capacity in kA (kiloamperes) Used when protection device doesn't specify Pdc
defaultSimultaneityFactor → const double
Default simultaneity factor (diversity factor) Ks = 1.0 means all loads operate simultaneously
maxPowerFactor → const double
Maximum power factor
minPowerFactor → const double
Minimum power factor for clamping (avoid division by zero)
minShortCircuitFactor → const double
Minimum short circuit current reduction factor IccMin = IccMax * 0.8 (conservative estimate for end-of-line)
nominalVoltageSinglePhase → const double
Single-phase nominal voltage (230V in EU)
nominalVoltageThreePhase → const double
Three-phase nominal voltage line-to-line (400V in EU)
powerFactorInductive → const double
Typical power factor for inductive loads (motors)
powerFactorResistive → const double
Typical power factor for resistive loads (lighting)
protectionSafetyFactor → const double
Safety factor for protection selection
transformerReactanceRatio → const double
Transformer impedance factor (reactance ratio) Typically X = 0.98 * Z (derived from Pythagorean theorem)
transformerResistanceRatio → const double
Transformer impedance factor (resistance ratio) Typically R = 0.2 * Z for distribution transformers
voltageDropLimitDefault → const double
Default voltage drop limit when load type is unknown
voltageDropLimitForce → const double
Maximum voltage drop for power circuits (%) - REBT Applies to motor and power loads
voltageDropLimitLighting → const double
Maximum voltage drop for lighting circuits (%) - REBT More restrictive to prevent flickering
voltageTolerance → const double
Voltage tolerance (+10% / -10% per REBT)