Calculation methods

Microgrid & Resilience Calculation Methods

Formulas and assumptions behind our microgrid sizing, islanding, backup, and outage cost calculators.

Islanding duration

Usable Energy (kWh) = available battery storage capacity (kWh) × (battery usable depth of discharge (%) ÷ 100) · Islanding Duration (hours) = usable energy (kWh) ÷ facility load during islanding (kW)

This calculator estimates the usable energy a battery system can deliver and the resulting islanding duration it can sustain, from the available battery storage capacity, the facility load during islanding, and the battery usable depth of discharge.

Data sources: modern lithium-ion usable depth of discharge of 90-100% from battery manufacturer specifications and NREL energy storage reporting; typical critical load as a fraction of facility peak load from microgrid design guidance and DOE resilience planning resources; islanding duration as usable energy divided by load from standard microgrid and backup power engineering references.

Read the full explanation on the calculator page →

Microgrid sizing

Total Energy Required During Islanding (kWh) = facility load to support (kW) × desired islanding duration (hours) · Required Battery Storage Capacity (kWh) = total energy required during islanding (kWh) ÷ (battery round-trip efficiency (%) ÷ 100)

This calculator estimates the total energy a microgrid must deliver during an islanding event and the required battery storage capacity to supply it, from the facility load to support, the desired islanding duration, and the battery round-trip efficiency.

Data sources: critical load as a fraction of facility peak load from microgrid design guidance and DOE resilience planning resources; round-trip efficiency of 85-95% for modern lithium-ion systems from battery manufacturer specifications and NREL energy storage reporting; 2026 microgrid capital costs of roughly $2,500-4,000/kW installed from DOE and NREL microgrid benchmarking.

Read the full explanation on the calculator page →

Microgrid vs. grid-tied cost comparison

Total Microgrid Lifetime Cost ($) = microgrid capital cost ($) + (microgrid annual O&M cost ($) × project life (years)) + (annual grid electricity cost with microgrid ($) × project life (years)) · Total Grid-Tied Only Lifetime Cost ($) = annual grid electricity cost without microgrid ($) × project life (years) · Lifetime Cost Difference ($) = total grid-tied only lifetime cost ($) − total microgrid lifetime cost ($)

This calculator compares the total lifetime cost of building and operating a microgrid against the cost of staying fully grid-tied, from the microgrid capital cost, the annual O&M cost, the annual grid electricity cost without and with the microgrid, and the project life.

Data sources: 2026 microgrid capital costs of roughly $2,500-4,000/kW installed from DOE and NREL microgrid benchmarking; annual O&M commonly estimated at roughly 2% of capital cost from microgrid industry cost reporting; microgrid component design lives of 20+ years from manufacturer specifications and DOE microgrid lifecycle reporting.

Read the full explanation on the calculator page →

Public Safety Power Shutoff (PSPS) outage cost

Cost per Event ($) = estimated outage cost rate ($/hour) × average PSPS event duration (hours) · Total Annual PSPS Cost ($) = cost per event ($) × PSPS events per year

This calculator estimates the cost of a single Public Safety Power Shutoff event and the total annual PSPS cost a facility faces, from the estimated outage cost rate, the average PSPS event duration, and the number of PSPS events per year.

Data sources: documented ~$500,000 loss from 2019 PSPS events at a California luxury hotel working out to ~$6,799/hour from public PSPS impact reporting and utility resilience filings; typical PSPS event duration of 24-72+ hours from California utility Wildfire Mitigation Plans and CPUC PSPS event reporting; multiple PSPS events per fire season in high-risk utility territories from CPUC and utility PSPS event summaries.

Read the full explanation on the calculator page →

Critical load backup sizing

Effective Critical Load (kW) = total critical load (kW) × diversity / simultaneity factor · Required Usable Energy (kWh) = effective critical load (kW) × required backup duration (hours) · Required Battery Capacity (kWh) = required usable energy (kWh) ÷ ((allowed depth of discharge (%) ÷ 100) × (round-trip efficiency (%) ÷ 100)) · Required Inverter / Power Rating (kW) = effective critical load (kW) × 1.25 · Generator Size (kW, optional) = effective critical load (kW) × 1.25

This calculator sizes a backup system to cover only a facility's critical loads during an outage, from the total critical load, a diversity/simultaneity factor, the required backup duration, the battery round-trip efficiency, and the allowed depth of discharge.

Data sources: diversity factor of 0.7-0.85 for mixed critical loads from microgrid design guidance and NEC load calculation practice; depth-of-discharge limits of 80-100% for modern lithium-ion systems from battery manufacturer specifications and NREL energy storage reporting; round-trip efficiency of 85-95% for modern lithium-ion systems from battery manufacturer specifications and NREL energy storage reporting; 1.25x starting/surge margin convention from standard backup power and generator sizing engineering references.

Read the full explanation on the calculator page →

Microgrid payback period

Net Installed Cost ($) = total installed microgrid cost ($) − available incentives/rebates ($) · Net Annual Savings ($) = annual demand charge savings ($) + annual energy/peak-shaving savings ($) + annual avoided outage cost savings ($) − annual O&M cost ($) · Simple Payback Period (years) = net installed cost ($) ÷ net annual savings ($)

This calculator estimates the simple payback period of a microgrid investment from the total installed cost, available incentives and rebates, three separate annual savings streams, and the annual O&M cost.

Data sources: demand charges representing 30-70% of commercial electric bills in many utility territories from commercial rate structure analysis and utility tariff reporting; annual O&M commonly estimated at roughly 2% of capital cost from microgrid industry cost reporting; 5-10 year simple payback target band for commercial and industrial microgrids from DOE and NREL microgrid benchmarking.

Read the full explanation on the calculator page →

Resilience value of lost load

Energy at Risk per Event (kWh) = critical load at risk (kW) × average outage duration (hours) · Annual Energy at Risk (kWh) = energy at risk per event (kWh) × expected outage frequency (events per year) · Value of Lost Load per Event ($) = energy at risk per event (kWh) × value of lost load ($/kWh) · Annual Resilience Value ($) = annual energy at risk (kWh) × value of lost load ($/kWh)

This calculator applies the Value of Lost Load (VoLL) framework to a specific facility to estimate the dollar value of the energy an outage would leave unserved, from the facility type, the VoLL rate, the critical load at risk, the expected outage frequency, and the average outage duration.

Data sources: residential VoLL of roughly $5/kWh, commercial VoLL of roughly $20/kWh, industrial VoLL of roughly $35/kWh, and hospital/critical-facility VoLL of roughly $75/kWh from published VoLL studies and DOE/Lawrence Berkeley National Lab interruption cost estimator work; VoLL varying widely by outage duration, time of day, and warning time from the same sources.

Read the full explanation on the calculator page →

Hospital/campus microgrid sizing

Total Must-Run Load (kW) = life safety branch load (kW) + critical/equipment branch load (kW) + (optional standby load (kW) if included) · Generator Sizing (kW) = total must-run load (kW) × 1.25 · Estimated Fuel Storage Required (gallons) = generator size (kW) × runtime (hours) × 0.08 (gal/kWh) · Battery Bridge Capacity (kWh, hybrid only) = total must-run load (kW) × (10/60)

This calculator sizes backup generation for a hospital or large campus using the NFPA 110 emergency power system branch concept, from the life safety branch load, the critical/equipment branch load, the optional standby load, a toggle for whether to include standby in sizing, the required runtime, and the backup system type.

Data sources: NFPA 110 emergency power system branch classification and NFPA 99 healthcare facility electrical systems standards; 1.25x starting/inrush margin convention from standard backup power and generator sizing engineering references; typical diesel genset specific fuel consumption of roughly 0.08 gal/kWh from generator manufacturer specifications; 96-hour hospital fuel autonomy benchmark from hospital resilience planning guidance.

Read the full explanation on the calculator page →

← All calculation methods