Free Solar Microgrid Calculator

Solar Microgrid Calculator — Size Your Solar and Battery System for Critical Load Resilience

A solar microgrid resilience calculator determines whether your solar array and battery storage combination can sustain your facility’s critical loads during a grid outage for your target duration. Enter your campus peak load, critical load percentage, solar array size, battery capacity, and target autonomy period — the calculator returns your critical load in kilowatts, maximum achievable autonomy in hours, a storage-to-load ratio, estimated system cost, and a resilience status showing whether your configuration is resilient, partial, or limited.

🔌 Solar Microgrid Resilience Calculator

Campus Load
kW
Load that must stay powered during an outage.
Microgrid Components
kW
kWh
Outage Scenario
Duration to sustain critical loads without grid.
Resilience Status
Stable
Critical loads protected
🔋
Storage Ratio
1.5x
Battery-to-Load coverage
💡
Autonomy Met
0 hrs
Max critical load duration
⚙️
System Flow Analysis
☀️
Solar
0kW
🔋
Storage
0kWh
🏢
Campus
0kW
  • Critical Load Demand0 kW
  • Solar Generation Potential (Daily)0 kWh
  • Estimated System Cost (Microgrid Tier)$0
*Disclaimer: Microgrid sizing is complex and requires site-specific solar irradiance data and precise load profiles. This calculator assumes critical loads are prioritized and non-essential loads are shed during “islanding.” Cost estimates are based on commercial EPC benchmarks ($2.50/W solar + $500/kWh storage + microgrid controller). [cite: 7, 349, 367]

How to Use the Solar Microgrid Resilience Calculator

Step 1 — Enter your total campus peak load.

Type your facility’s maximum simultaneous power demand in kilowatts. This is your highest recorded 15-minute peak demand — the same figure used for utility demand charge billing. For a single commercial building, check your utility bill’s demand section. For a campus with multiple buildings, add the peak demands of all buildings served by the microgrid, applying a coincidence factor of 0.75–0.85 to account for the fact that not all buildings peak simultaneously.

Typical peak loads by facility type: a small office building runs 100–300 kW, a mid-size hospital runs 1,000–5,000 kW, a university campus building cluster runs 500–2,000 kW, and a manufacturing facility runs 500–3,000 kW. Use your actual peak demand from recent utility bills for the most accurate sizing.

Step 2 — Set your critical load percentage.

Drag the slider from 10% to 100% to identify what fraction of your total campus load must remain powered during a grid outage. Critical loads are the systems your facility cannot operate without — life safety equipment, emergency lighting, server rooms, refrigeration for medicines or food, security systems, communications infrastructure, and any process equipment that would cause safety or financial harm if interrupted.

Non-critical loads — standard office lighting, non-essential HVAC zones, parking lot lighting, decorative systems — are shed automatically when the microgrid “islands” from the grid during an outage. The lower your critical load percentage, the smaller and less expensive the battery system required for a given autonomy target. Most commercial microgrid projects define critical load at 20–40% of peak demand, balancing resilience needs against system cost.

Step 3 — Enter your solar array size.

Type your installed or planned solar array capacity in kilowatts DC. For a new microgrid project, this may be your target size. For an existing or proposed system, use the contractor’s quoted capacity. The calculator uses this figure to estimate daily energy generation — applying a 4.5 peak sun hour average and a 0.77 system efficiency derate — and to calculate the solar component of total system cost.

For commercial microgrids, the solar array is typically sized to meet or exceed the facility’s annual energy needs rather than simply to support the battery during outages. The battery handles the outage resilience function; the solar array handles the long-term economic function of energy cost reduction and battery recharging.

Step 4 — Enter your battery capacity.

Type your battery energy storage system capacity in kilowatt-hours. This is the total usable energy stored in the battery — not peak discharge power, but the energy reserve that sustains loads during an outage. Commercial battery systems from providers like Tesla Megapack, Fluence Mosaic, and Powin Stack are specified in kWh of usable capacity.

The required battery capacity to meet your autonomy target is: Critical Load (kW) × Target Hours = Battery kWh needed. A 150 kW critical load requiring 12 hours of autonomy needs 1,800 kWh of battery capacity. If your entered battery capacity is below this threshold, the calculator flags Limited or Partial resilience status.

Step 5 — Select your target autonomy period.

Choose from three standard microgrid resilience scenarios. Four Hours (Standard Peak) covers the most common utility outage duration and protects against demand charge spikes during brief grid interruptions — appropriate for facilities in areas with reliable grids where occasional short outages are the primary concern.

Twelve Hours (Overnight) provides protection through a full evening and night — appropriate for facilities in areas with moderate grid reliability or where overnight continuity of critical systems is essential.

Twenty-Four Hours (Full Day) provides full-day independence from the grid — appropriate for critical infrastructure, hospitals, data centers, or facilities in areas with frequent extended outages such as hurricane-prone coastal regions or wildfire-risk western states.

Step 6 — Read the three result cards.

The Resilience Status card shows one of three verdicts: Resilient (green) if your battery can sustain critical loads for the full target period, Partial (amber) if it covers at least half the target duration, or Limited (red) if it falls below 50% of the target. The card also shows whether targets are met or flags insufficient storage.

The Storage Ratio card shows your battery capacity divided by total campus peak load — a quick sizing benchmark. A ratio above 1.5x generally indicates a well-provisioned system. The Autonomy Met card shows the maximum hours your critical loads can be sustained given your battery capacity — the single most important resilience metric.

Step 7 — Study the system flow analysis.

The microgrid visualization shows three nodes — solar array, battery storage, and campus load — connected by a flow line. The animated fill bar scales proportionally to how well your combined solar and storage capacity covers your peak load, providing an immediate visual sense of system adequacy. The data list below shows your critical load in kW, your daily solar generation estimate in kWh, and your total estimated system cost.

Step 8 — Export your analysis.

Click Export PDF Report to save a printable microgrid resilience assessment — useful for presenting to facility managers, CFOs, utilities, or engineering consultants when scoping a microgrid project.

The Microgrid Sizing Formula Explained

Critical load calculation: Critical load (kW) = Campus peak load × Critical load %

Maximum autonomy: Max autonomy (hrs) = Battery capacity (kWh) ÷ Critical load (kW)

Resilience status thresholds: Resilient = Max autonomy ≥ Target autonomy Partial = Max autonomy ≥ Target autonomy ÷ 2 Limited = Max autonomy < Target autonomy ÷ 2

Storage ratio: Storage ratio = Battery kWh ÷ Campus peak kW

Daily solar generation: Daily generation (kWh) = Solar kW × 4.5 PSH × 0.77 efficiency

Total system cost: Solar cost = Solar kW × $2,500/W Battery cost = Battery kWh × $500/kWh Controller/integration premium = (Solar + Battery cost) × 15% Total = Solar + Battery + Controller

Example — 500 kW campus, 30% critical, 750 kW solar, 1,000 kWh battery, 12-hour target:

  • Critical load = 500 × 0.30 = 150 kW
  • Max autonomy = 1,000 ÷ 150 = 6.67 hours
  • Target = 12 hours — Partial resilience (covers half)
  • Storage ratio = 1,000 ÷ 500 = 2.0x
  • Solar cost = 750 × $2,500 = $1,875,000
  • Battery cost = 1,000 × $500 = $500,000
  • Controller = ($1,875,000 + $500,000) × 0.15 = $356,250
  • Total system cost = $2,731,250

Frequently Asked Questions

Q: What is a solar microgrid and how is it different from a standard solar installation?

A: A standard grid-tied solar installation connects to the utility grid and shuts down automatically during a power outage — a safety requirement called anti-islanding that prevents solar from backfeeding the grid while utility workers are making repairs.

A solar microgrid is a more sophisticated system that includes dedicated controls allowing it to disconnect from the utility grid and operate as an independent island — powering a defined set of loads from solar and battery storage without any grid connection. When the grid fails, a microgrid controller detects the outage, opens the interconnection switch to isolate the facility from the grid, and seamlessly transfers critical loads to island mode. When the grid is restored, the controller re-synchronizes and reconnects.

The hardware difference is primarily the microgrid controller and automatic transfer switching infrastructure — adding approximately 15% to total system cost above standard solar-plus-storage installations. The operational difference is significant: a standard solar-plus-storage system can shift energy in time but cannot operate without grid presence, while a true microgrid provides genuine energy independence during extended outages.

Q: What facilities are good candidates for a solar microgrid?

A: Solar microgrids deliver the most value to facilities where grid outages carry significant financial, operational, or safety consequences.

Hospitals and healthcare facilities face patient safety risks during outages and already have generator requirements — microgrids can replace or supplement diesel generators with cleaner, lower-maintenance solar and battery systems. Data centers and telecommunications facilities face significant financial exposure from even brief outages.

Schools and universities increasingly serve as emergency shelters during disasters, requiring operational continuity. Wastewater treatment plants and water pumping stations have regulatory and public health obligations that require continuous power. Military installations, correctional facilities, and emergency management centers have security and operational continuity requirements that make grid dependence unacceptable.

For commercial and industrial facilities, the business case centers on avoiding costly production shutdowns, protecting cold chain integrity for food and pharmaceutical storage, and maintaining customer service continuity.

Q: How does a microgrid handle extended outages lasting multiple days?

A: A battery-only microgrid has finite capacity and will eventually deplete without either grid restoration or solar recharging — which is why solar array sizing is critical to extended resilience scenarios.

During a multi-day outage in a solar-intensive region, the solar array recharges the battery each day, theoretically enabling indefinite island operation if the daily solar generation exceeds or equals the daily critical load consumption. The math is: if your 750 kW solar array generates 2,600 kWh on a sunny day and your critical loads consume 150 kW × 24 hours = 3,600 kWh per day, the system has a daily deficit of 1,000 kWh that depletes the battery over time.

Most microgrid designs for extended resilience include a diesel or propane backup generator as a last-resort fallback — the generator runs only when battery state of charge drops below a set threshold, maintaining the battery reserve while consuming far less fuel than a generator-only backup system. Hybrid solar-battery-generator microgrids deliver the best combination of clean energy economics during normal operations and fuel efficiency during extended outages.

Q: What is “load shedding” in a microgrid and how does it work?

A: Load shedding is the automatic disconnection of non-critical electrical loads when a microgrid transitions to island mode — preserving battery capacity for essential systems by eliminating unnecessary power consumers.

In a well-designed microgrid, loads are categorized in advance by priority tier. Tier 1 critical loads — life safety, emergency lighting, critical IT, medical equipment — receive power unconditionally in island mode. Tier 2 important loads — primary HVAC zones, primary production equipment — may receive power if battery capacity permits. Tier 3 non-essential loads — secondary lighting, non-production equipment, decorative systems — are automatically shed when the microgrid islands.

The load shedding scheme is programmed into the microgrid controller during commissioning. Electrically, it is implemented through automatic transfer switches and smart circuit breakers that open specific circuits when island mode is activated. The critical load percentage input in this calculator defines how aggressively Tier 3 and Tier 2 loads are shed — a 30% critical load setting means 70% of peak demand is automatically shed, dramatically extending battery autonomy.

Q: What does a commercial solar microgrid cost and what incentives apply?

A: Commercial solar microgrid costs depend primarily on solar array size and battery capacity — the two largest cost components — plus the microgrid controller and integration premium.

The calculator uses industry benchmark pricing of $2.50/W for commercial solar, $500/kWh for commercial battery storage, and a 15% premium for microgrid control infrastructure. At these rates, a 500 kW solar / 1,000 kWh battery microgrid costs approximately $2.3–$2.7 million before incentives.

Federal incentives apply meaningfully. The 30% federal Investment Tax Credit applies to both the solar and battery components when the battery is charged at least partially by solar — which is inherently true in a microgrid. MACRS 5-year accelerated depreciation applies to both solar and storage at the business’s effective tax rate.

The USDA REAP grant covers up to 50% of costs for agricultural and rural small business projects. Some states — California, New York, Massachusetts, and New Jersey — have additional commercial storage incentives through programs like California’s SGIP (Self-Generation Incentive Program) that can provide $0.25–$0.35/Wh of battery capacity in direct rebates. Combined, well-incentivized microgrids can see 50–70% of gross costs offset through federal and state programs.