Components in this architecture diagram
- Every 5 minutes
- Read solar output, home load & grid status
- Grid outage?
- Island home & power backup circuits
- Battery above 5 percent?
- Discharge to loads & charge from solar
- Shed loads & wait for solar or grid
- Virtual power plant event?
- Export to grid at event rate
- Solar surplus over home load?
- Battery full?
- Charge battery from solar
- Export surplus to grid
- Peak time-of-use period?
- Above backup reserve?
- Discharge battery to home
- Import from grid
- Log to app & update savings
- Next interval
How to use this architecture diagram template
- Click Open in the editor. The architecture diagram opens on a new page in FlowDiagram — nothing is uploaded and there is no sign-up.
- Rename, add or delete shapes and drag them where you want; connectors stay attached as things move.
- Drop in vendor logos from the library — 1,160 of them, including every AWS, Azure and Google Cloud service icon — or restyle it with the colour and theme controls.
- Prefer text? Edit the Mermaid source below and paste it in through ☰ → Import diagram (see the Mermaid editor); it imports as an editable diagram.
- Export to PNG, SVG or PDF, or press Ctrl+L for a link that carries the whole diagram.
Mermaid source
The whole template is the text below. Paste it into FlowDiagram, keep it in Git next to the code it describes, or hand it to an AI assistant to extend.
flowchart TD
A((Every 5 minutes)) --> B[Read solar output, home load & grid status]
B --> C{Grid outage?}
C -->|Yes| D[Island home & power backup circuits]
D --> E{Battery above 5 percent?}
E -->|Yes| F[Discharge to loads & charge from solar]
E -->|No| G[Shed loads & wait for solar or grid]
C -->|No| H{Virtual power plant event?}
H -->|Yes| I[Export to grid at event rate]
H -->|No| J{Solar surplus over home load?}
J -->|Yes| K{Battery full?}
K -->|No| L[Charge battery from solar]
K -->|Yes| M[Export surplus to grid]
J -->|No| N{Peak time-of-use period?}
N -->|Yes| O{Above backup reserve?}
O -->|Yes| P[Discharge battery to home]
O -->|No| Q[Import from grid]
N -->|No| Q
F --> R[Log to app & update savings]
G --> R
I --> R
L --> R
M --> R
P --> R
Q --> R
R --> S((Next interval))
Related: Mermaid editor · All energy, iot & smart devices templates · All 521 templates