House-by-House Peer-to-Peer Solar — EVs, Batteries, Contracts

Choose how many homes you want to play with (3, 5, 10, or even 100), and everything is auto-filled with a realistic mix of solar, EVs, and batteries. Just tweak a few values for deeper demos.

Per-house configuration · No grid import/export

1. House Setup

Step 1: Pick how many homes you want to simulate. Step 2: (Optional) fine-tune any row. By default, every house is pre-filled with PV, load, EV, and battery assumptions so you can run the story instantly.

Example: 10 → auto-fill 5 solar + 5 buyers, with some surplus from solar to trade to non-solar homes.
House # Use? Role Solar Base Load EV (Extra Demand) Battery (Storage)
PV (kWh) Base (kWh) Has EV? EV (kWh) Has batt? Batt (kWh)
Auto-fill logic: we always:
  • Split houses into solar homes (with PV + small battery) and non-solar buyers.
  • Give solar homes some surplus PV after self-use + battery so there is real P2P trading.
  • Give non-solar homes higher demand, some EVs, and small batteries so they buy from solar neighbors.

2. Results for This Time Window

These headings show Energy totals, Market & contracts, and Electron flows. The Agent below translates them into plain language.

Total Solar Produced

0.0 kWh
All active solar roofs combined.

Total Village Demand

0.0 kWh
Base loads + EVs for all houses.

P2P Energy Delivered

0.0 kWh
0% of demand met locally.

Unserved Demand

0.0 kWh
Shortfall with no main grid + contract risk.

Solar Wasted

0.0 kWh
Solar with no buyer or storage (curtailment).

Market Value (per Hour)

0.00 earned
Lost value from default: 0.00
Reliability Snapshot (This Hour)
Demand met by local resources
0%
Unserved demand
0%
Solar used vs wasted
0%
Battery contribution
0%
Electron Flows (This Hour)
Solar → own homes (self-consumption)
0.0 kWh
Solar → non-solar neighbors (P2P)
0.0 kWh
Solar → batteries (stored)
0.0 kWh
Batteries → homes (discharge)
0.0 kWh
Solar wasted (curtailed)
0.0 kWh
Contract lens (this hour): Contracted energy: 0.0 kWh, delivered: 0.0 kWh, paid-for-but-not-delivered: 0.0 kWh.
4. Real-Time Cost Tracker — 1 Second = 1 Hour
In real-time mode, the simulator re-runs the same configuration once per second (1 sec = 1 hour) and accumulates energy and money over time. Great for showing a “day in the life” without changing slides.
Simulated time: 0 hours
Total P2P energy delivered: 0.0 kWh
Total revenue to solar homes: 0.00
Total paid-but-not-delivered energy: 0.0 kWh
5. Example Trade — Debug Strip
No active peer-to-peer trade yet. Adjust PV and load so at least one solar home has surplus and one non-solar home has a deficit.
Auto-filled houses
Agent narration
EV + battery mix
Real-time cost tracker (1s = 1h)