← Engineering Workbench collection

ENGINEERING WORKBENCH · INCLUDED WITH ALL-ACCESS

Solar & Battery Microgrid Workbench

A 24-hour solar-and-battery dispatch workbench that balances generation, load, storage and grid exchange at an AC bus. It tracks stored energy through charge and discharge limits and explicitly records unmet demand during an example grid outage. The results explain one assumed day and dispatch rule. They do not forecast annual production or guarantee backup power. Initial stored energy is explicit and final SOC is not forced to match it; real islanding hardware and protection are assumed, not validated.

Published and reviewed · EngineersUniverse · Interactive workspace · All-Access ↓ · Worked example ↓

About this workbench

What it is and its purpose
A 24-hour solar-and-battery dispatch workbench that balances generation, load, storage and grid exchange at an AC bus. It tracks stored energy through charge and discharge limits and explicitly records unmet demand during an example grid outage.
Who it is for
For renewable-energy learners, electrical planners, facilities teams and project reviewers who want to understand energy balance and storage limits. It supports early scenario comparisons, not a site-specific energy forecast, optimized dispatch or bankable project estimate.
When and where to use it
Use it while discussing PV self-consumption, evening battery support or a short islanded period. It shows why battery kWh, power kW and starting state of charge all matter, and why an apparently large battery may not serve every outage hour.
How to use it
Start with the self-consumption day. Inspect the PV/load curves and end-of-hour SOC. Capture a baseline, then choose the evening outage or change battery capacity and power. Expand the detailed dispatch only when you need the hourly import, export, unmet or curtailed energy.
What the results mean
The results explain one assumed day and dispatch rule. They do not forecast annual production or guarantee backup power. Initial stored energy is explicit and final SOC is not forced to match it; real islanding hardware and protection are assumed, not validated.
Continue to the interactive workspace ↓

Define a shared AC boundary

PV DC nameplate is multiplied by an entered derate and a fixed clear-day production shape. Load is constant for 08:00–18:00 and separately constant for the other hours. Each interval is one hour, so interval kW and kWh have the same numeric value. This shape is illustrative rather than downloaded weather data.

Track stored energy with losses

Round-trip efficiency is split into equal square-root charge and discharge efficiencies. Charging is limited by surplus PV, AC power limit and available storage headroom. Discharging is limited by deficit, power and stored energy above minimum SOC. Stored energy rises by charge input × efficiency and falls by delivered discharge / efficiency.

Model the outage as a different boundary

Outside outage hours the grid serves residual deficits and receives surplus. During outage hours grid exchange is zero: excess becomes curtailed energy and insufficient supply becomes unmet demand. The outage window must fit within the modeled day. No grid charging or forecast-based optimization is used.

Avoid misleading savings claims

Reported cost is import kWh times a flat energy tariff, with no export credit, demand charge or investment cost. Compare final SOC as well as imports, because a scenario can consume energy that was already in the battery at the start. Real assessment needs weather, load history, degradation and equipment limits.

Worked example

  1. For 120 kWh capacity at 50% initial SOC, stored energy begins at 60 kWh. A 15% minimum permits 42 kWh to leave storage before reaching the floor.
  2. At 90% round-trip efficiency, each leg is √0.9 = 94.868%. That 42 kWh storage decrease can deliver about 39.845 kWh to the AC bus, subject to the hourly power limit.
  3. An 80 kW DC array with 0.85 derate produces 68 kW at the peak of this illustrative shape. Evening outage demand is served only by the PV and stored energy available in those particular hours; shortages remain visible.

Questions and interpretation

Why does the first day depend on initial SOC?

Stored energy at the start can supply loads. The final SOC is reported so the comparison does not hide that energy contribution.

Does an outage simulation mean the equipment can island?

No. Island-capable inverter, transfer arrangements, protection and startup capability must be validated separately.

Is this an annual solar forecast?

No. It uses one fixed illustrative day. Use measured load data and site weather with a detailed model for annual planning.

Prepare an activity report

Use View / print study report to review a clean summary of your activity, then print it or save a PDF. Download study report (PDF) creates a formatted document with the actual assumptions, results, interpretation and references. Charts and baseline comparisons are included where applicable; security reports summarize recorded runs. Website navigation, purchase panels and unrelated page content are excluded.

References and verification

The linked sources explain the background. The interactive calculations and scenarios are original teaching exercises with explicit assumptions, not certified equipment selection, measured performance or a real security assessment.

Continue the study

Explore the other workbenches