LightningPhasor

About Lightning Phasor

Lightning Phasor is a powerful, interactive 3-phase electrical system diagram viewer developed by Will Gibson for metering technicians and engineers. It provides real-time phasor diagram visualisation for analysing voltage and current relationships across different 3-phase metering configurations.

The app supports multiple system types including LV 3-Phase 4-Wire, HV 3-Phase 4-Wire, and HV 3-Phase 3-Wire configurations, allowing for detailed analysis of phase angles and magnitudes. With built-in dark mode support and responsive design, Lightning Phasor works seamlessly on desktop and mobile devices.

Key Features:

  • Real-time phasor diagram visualisation
  • Support for LV 4-Wire, HV 4-Wire, and HV 3-Wire systems
  • Dynamic voltage and current input with automatic lead/lag detection
  • Dark and light mode themes with persistent settings
  • Diagram rotation for different viewing angles
  • Voltage validation for LV systems
  • Installable as a progressive web app (PWA)

Version History

Version 1.4
March 7, 2026
Major Features & Improvements:
  • Global Diagram Rotation: Rotation preference syncs across all pages and persists via localStorage—toggle rotation once and it applies site-wide
  • Comprehensive Examples Page: Four interactive educational examples:
    • Example 1: Load Types & Phase Shift (Resistive, Inductive, Capacitive)
    • Example 2: CT Wiring Errors (180° phase reversal detection)
    • Example 3: Voltage Phase Swap (Phase sequence issues)
    • Example 4: Solar Generation (Current reversal in generating mode)
  • Persistent User Preferences: Rotation state saved to localStorage key 'phasor-diagram-rotation'
  • Cross-Page Synchronization: Rotating diagram on any page updates all diagrams globally
  • Improved Current Scaling: Updated diagram scaling to better display smaller current values for improved visibility and clarity
  • Decimal Angle Input Fix: Fixed bug that prevented users from entering decimal place values in angle input fields
Version 1.3
December 31, 2025
Improvements:
  • Voltage validation with color indicators for LV 4-Wire mode
  • Reduced Lead/Lag dropdown width to 100% for better mobile fit
  • Repositioned dropdown arrow to outer right edge (2px)
  • Improved iPhone layout and overflow handling
  • Added About & Version Log page
Version 1.2
December 2025
Features:
  • Dynamic input rows based on system mode selection
  • Phase data reset when switching between system modes
  • Improved styling and minor improvements
Version 1.1
December 2025
Improvements:
  • iOS webapp header padding with safe-area-inset
  • NMI Reference field for system identification
  • Automatic lead/lag detection based on phase angle sign
Version 1.0
December 2025
Initial Release:
  • Core phasor diagram visualisation
  • Support for three system modes (LV 4-Wire, HV 4-Wire, HV 3-Wire)
  • Input fields for voltage, current, and phase angle
  • Lead/Lag selection for each phase
  • Theme toggle functionality with dark/light mode
  • Diagram rotation (90° toggle) for alternative viewing
  • Responsive design for mobile and desktop
  • Service Worker for offline support and PWA installation