Calculation Methodology & Data Standards
Mathematical Models, Physical Constants, Precision Rules, and Automated Verification
VoltBase Pro is built on open, verifiable calculation logic. This document explains the exact mathematical formulas, physical constants, standard code tables, and unit testing procedures implemented across our tools.
1. Client-Side Computational Architecture
All calculations execute locally inside your web browser using modern TypeScript algorithms.
- Zero network latency during calculation inputs.
- Zero server-side logging or storage of user calculation parameters.
- Instant updates on slider movements and numeric input changes.
2. Physical Constants & Conductor Material Properties
Our wire sizing and voltage drop algorithms use standard ASTM physical resistivity values and temperature coefficients:
Annealed Copper (ASTM B3 / International Annealed Copper Standard - IACS)
• Resistivity at 20°C: ρ₂₀ = 1.7241 × 10⁻⁸ Ω·m (10.371 Ω·cmil/ft, approximate constant K ≈ 12.9 Ω·cmil/ft at 75°C).
• Temperature Coefficient (α): 0.00393 per °C at 20°C.
Electrical Conductor (EC) Aluminum (ASTM B231)
• Resistivity at 20°C: ρ₂₀ = 2.8264 × 10⁻⁸ Ω·m (17.002 Ω·cmil/ft, approximate constant K ≈ 21.2 Ω·cmil/ft at 75°C).
• Temperature Coefficient (α): 0.00403 per °C at 20°C.
Conductor Resistance Temperature Adjustment
When adjusting conductor resistance from baseline temperature T₁ to operating temperature T₂:
R(T₂) = R(T₁) × [1 + α × (T₂ - T₁)]
3. Voltage Drop Formulas & Calculation Logic
Voltage drop calculations apply the standard fundamental formulas based on circuit phase configuration:
- Single-Phase AC & DC 2-Wire Circuits:V_drop = (2 × K × I × L) / Conductor_Area_cmilWhere $2$ accounts for the total circuit loop length (out-and-back), $K$ is the conductor resistivity constant, $I$ is the load current in Amperes, and $L$ is one-way distance in feet.
- Three-Phase 3-Wire / 4-Wire Balanced Circuits:V_drop = (√3 × K × I × L) / Conductor_Area_cmilWhere $\sqrt3 \approx 1.73205$ accounts for the three-phase line-to-line phase relationship.
4. Conduit Fill & Motor Datasets (NEC 2023)
Where tools provide sizing recommendations based on North American standards, data tables are sourced directly from published standards:
- Conduit Fill Percentages (NEC Chapter 9, Table 1): 1 conductor = 53% fill, 2 conductors = 31% fill, 3 or more conductors = 40% maximum raceway fill.
- Raceway Dimensions (NEC Chapter 9, Table 4): Internal cross-sectional areas for Electrical Metallic Tubing (EMT), Rigid Metal Conduit (RMC), PVC Schedule 40/80, Flexible Metal Conduit (FMC), and Liquidtight Flexible Metal Conduit (LFMC).
- Conductor Dimensions (NEC Chapter 9, Table 5): Outer diameter and cross-sectional areas for THHN, THWN-2, XHHW-2, and USE insulated conductors.
- Motor Running Currents (NEC Table 430.248 & 430.250): Standard full-load ampacities used for branch conductor sizing and overcurrent protection.
5. Precision Rules & Automated Unit Test Verification
To maintain mathematical integrity:
- 64-Bit Floating-Point Precision: Intermediate math operations retain full IEEE 754 64-bit double precision to prevent compounding roundoff errors.
- Engineering Display Formatting: Final outputs are formatted with appropriate significant figures (typically 2 to 4 decimal places for electrical values, and whole numbers for standard wire gauges and breaker ratings).
- Automated Vitest Test Suite: Our codebase runs 55 unit tests covering mathematical formulas, conversion factors, and edge cases (such as extreme temperatures, 0% to 100% power factors, and metric-to-imperial rounding).