DOC-01 · OPEN MATHEMATICAL SPECIFICATION

Formulas & Engineering Methodology

Every WattStacker calculator executes deterministic, inspectable equations using consistent Wh, W, V, and A units. No black-box multipliers, hidden affiliate defaults, or silent efficiency fudges.

1. Daily Energy & Efficiency Cascade

Direct_Load_Wh = Σ (Watts × Qty × Hours × Duty_%) Reference check: 100 W × 5 h = 500 Wh AC_Battery_Wh = AC_Load_Wh / η_inverter Total_Battery_Side_Wh = (DC_Load_Wh + AC_Battery_Wh + P_idle × h_idle) / (1 − DC_Loss)

AC loads are penalized by inverter efficiency and inverter standby draw; DC direct loads bypass the inverter.

2. Nominal vs Usable Battery Storage

Nominal_Wh = Nominal_V × Capacity_Ah Reference check: 12 V × 100 Ah = 1,200 Wh nominal Usable_Wh = Nominal_Wh × (DoD_% / 100) × (Temp_Factor_% / 100) Required_Nominal_Wh = (Daily_Wh × Autonomy_Days) / (η_discharge × DoD × Temp_Factor)

Series count equals System_V / Unit_V (exact integer multiple required); parallel strings equal ceil(Required_Ah / Unit_Ah).

3. Solar Array & Peak Sun Hours

Required_PV_W = (Daily_Wh / (PSH × η_system)) × (1 + Safety_Margin) Installed_Panels = ceil(Required_PV_W / Single_Panel_W) Daily_Harvest_Wh = Installed_W × PSH × η_system

One Peak Sun Hour equals 1,000 Wh/m² of solar insolation. Combined system derate efficiency (default 78%) accounts for module temperature above 25 °C STC, dust/soiling, mismatch, wiring, MPPT conversion, and battery charge efficiency.

4. Cold-Weather Voc & MPPT Sizing

Cold_Voc = Array_Voc_STC × [1 + (T_min_°C − 25) × (Voc_Temp_Coeff_% / 100)] MPPT_Nominal_A = (Array_W × η_mppt) / Battery_Nominal_V MPPT_Design_A = MPPT_Nominal_A × Sizing_Margin_Factor

Temperature inputs support both °C and °F (converted via °C = (°F − 32) × 5/9). PWM comparison reflects clamping array operating voltage down near battery bulk charging voltage (~1.15 × nominal V).

5. Peukert Battery Runtime

Effective_Battery_W = (Load_W / η_bus) + Idle_W Discharge_Current_A = Effective_Battery_W / Battery_V Runtime_h = H × (C_Ah / (I_A × H))^k × (DoD_% / 100)

Peukert exponent k ≈ 1.03 for LiFePO4 (nearly flat capacity across rates) and 1.15–1.20 for AGM/Flooded lead-acid (steep capacity loss at high C-rates).

6. Resistive Voltage Drop (Estimation Only)

R_loop_Ω = (R_20C_Ω/km × [1 + α × (T_°C − 20)] / 1000) × (2 × Length_m) V_drop = I × R_loop_Ω · Drop_% = (V_drop / V_system) × 100 P_loss_W = I² × R_loop_Ω

Uses standard IEC 60228 / ASTM B8 copper (α = 0.00393/°C) and aluminum (α = 0.00403/°C) resistance constants. This estimates resistive drop ONLY and does NOT verify conductor ampacity or electrical code compliance.