August 16, 2026 — Electrical Power merge (one dynamic section)
Path: · Site v1.1.7 · SW cache v103
One grid, last two roles
- Removed Ohm / BTU / VD blocks and all field bridges (
injectOhmsUserValue, syncBridgeLock, duplicate V / I / P).
- New
PowerStep in electrical-calc.js: solver fields V, I, R, P, BTU; params length / phase / material; derived wire / drop / % / note.
- Last two typed solver fields are
active / previous. P ↔ BTU is an alias (3.412). Voltage starts empty (no fake 600 V anchor).
Exceeds safety
- Drop that cannot stay ≤ 3% at 4/0 marks length + drop % with
.is-unsafe: red “Exceeds safety” and strike-through.
- CSS in
styles.css / stylesdark.css only — no inline styles.
Disclaimer
terms.htm §3.1 conductor-sizing clause.
- First-visit Electrical modal and Power help aligned; link to TOS.
Files
app/tools/electrical.htm
js/electrical-calc.js
scripts/test-electrical-live.mjs
styles.css, stylesdark.css, terms.htm
app/help/electrical-power.htm, help.htm
Cache & version
- Service worker
phvac-app-v103; electrical script ?v=103.
- Site version 1.1.7.
← All sessions · App home · Bug fixes & changes