Live Personal Project Frontend

Solar Simulator Pro

An interactive web-based simulator designed to help creatives and remote workers in Nigeria design, configure, and plan sustainable off-grid solar backup power systems. Features real-time load analysis, weather integration, extended survival modeling, and configuration persistence for iterative design.

HTML5 Canvas API Vanilla JavaScript Chart.js LocalStorage Responsive Design
Launch Simulator ← Back to Projects
Solar Simulator Pro dashboard interface

Project Overview

Solar Simulator Pro is an interactive web-based tool designed to address a critical infrastructure challenge facing creatives and remote workers across Nigeria: unreliable electricity supply and the need for sustainable, affordable off-grid backup power solutions.

The simulator empowers users to design customized solar systems by either specifying their electrical load and discovering the required system cost, or setting a budget and determining what load they can sustainably power. This bidirectional design approach democratizes solar system planning, replacing manual quotation processes with data-driven configuration modeling.

Key Features

  • Dual-Direction Configuration: Design systems by load (specify devices, get cost) or by budget (set budget, discover feasible load)
  • Real-Time Load Analysis: Hour-by-hour breakdown of power consumption across different times of day and weather conditions
  • Weather Integration: Model system behavior under varying weather — sunny, cloudy, rainy — with real-time generation estimates
  • Extended Survival Modeling: Multi-day simulation to forecast battery depletion and system viability over extended periods without full sun
  • Phase-Based Time Configuration: Define distinct operational phases (e.g., work hours, standby, charging) with independent load profiles
  • Import/Export Configurations: Save system designs as JSON and reload them later for refinement or reuse—critical for iterative planning with solar providers
  • Interactive Visualizations: Real-time charts showing solar generation, battery state-of-charge, and load distribution over 24-hour cycles and extended simulations
  • Dark/Light Theme Toggle: Full theme support with persistent preference storage

Tech Stack

  • HTML5 Canvas API — Custom real-time graphics rendering for interactive simulation visualization and phase timeline animations
  • Vanilla JavaScript (ES6+) — No frameworks or build tools; all logic self-contained for minimal deployment friction
  • Chart.js 4.4+ — Time-series charting for solar generation, load, and battery state-of-charge curves with real-time updates
  • LocalStorage API — Persistent storage of user configurations, theme preference, and simulation state
  • CSS Custom Properties (CSS Variables) — Design system tokens for colors, spacing, shadows, and transitions; seamless dark/light theme switching
  • CSS Flexbox & Grid — Responsive layout with sidebar controls, main viewport, and floating panels
← MigranX
Next Case Study → Auto Clicker