Microgrid Module Guide

Microgrid Technoeconomic Modeling: How CogenS Designs a Microgrid

On-site gas generation and battery storage, sized around your solar, tested through grid outages, and judged by one lifecycle financial model. Here is how the CogenS microgrid technoeconomic modeling tool works, and what it does differently.

What a Microgrid Technoeconomic Modeling Tool Has to Answer

A microgrid technoeconomic modeling tool has to answer two questions at once. Will the plant keep the site running, including when the utility is down? And does it pay for itself over its life? A microgrid feasibility study that answers only one of them is half a study.

What makes a microgrid different from a set of on-site assets is that the connection to the utility can open and the site keeps running. Connected, any mismatch flows to the grid: you buy the shortfall and sell or lose the surplus. Islanded, nothing flows either way. Too little generation means unserved load, and too much has nowhere to go. A model that lets an island quietly export, or that simply loses the excess, has balanced its books against something that cannot happen.

The clearest current example is on-site power for data centers and AI. In many regions, connecting a large new load to the grid can take years. Operators are looking at behind-the-meter generation to power new load sooner, with the grid as a supplement or backup. That makes the generator, the battery, the tariff and the outage plan one design problem, not four.

How CogenS Models a Microgrid

Step one: sizing optimization.On the DER Optimization page, CogenS solves a full year of operation and the equipment sizes together. It picks the total natural gas generator capacity and, if you include one, the battery's power and energy. Solar is the array you describe: CogenS fetches its hourly output from NREL PVWatts (the National Renewable Energy Laboratory's solar calculator), or you upload your own profile, and the optimizer plans around it as a fixed supply.

Dispatch against your real tariff.The plan is billed on the rates you enter: time-of-use energy charges, demand charges on each month's actual peak, fixed charges, sell rates and your metering arrangement (net metering, net metering with dollar credits, net billing, or buy-all-sell-all). It respects your grid interconnection limit, a monthly export limit, or a "no export" site. You can set separate yearly price growth for electricity and gas.

Step two: the full model run.Model Execution then simulates the generators and battery you actually specify, hour by hour (or at 15, 20 or 30 minutes). The generators run on their part-load efficiency curves, with minimum loading, ramp rates, start-up time, hot-weather derating and wear over the years. You can run them on the optimizer's hourly plan or on a load-following strategy.

Outages and resilience. You set how many outages a year, their average length, the share of load that must be carried (the critical load factor), and what an hour of downtime costs the business. During each outage, CogenS blocks grid import and export. Local equipment carries the critical load, or the shortfall is reported as unserved. Surplus generation is curtailed from solar first, then sent to a load bank, and both are reported. The outage windows are drawn on the dispatch chart. The model also credits the backup diesel fuel you would no longer burn and the downtime you avoid, but only when the plant can actually carry the site through those hours.

Financials.The TEA report (technoeconomic analysis report) shows net present value, internal rate of return (IRR), payback, benefit-cost ratio and total cost of ownership, a year-by-year cash flow, degradation and replacement over the study period, and a sensitivity analysis that shows which input moves the answer most. If a provider will own the plant, the same simulation is read through an Energy-as-a-Service deal: a power purchase agreement, energy concession, capacity tolling or shared savings, with the charge solved to meet the provider's target return.

How CogenS Does Microgrid Techno-Economic Analysis Differently

One cost model, not two.A common setup sizes the equipment with one set of cost assumptions and then judges it in a separate financial model with another, for example spreading capital cost evenly over each kWh, or ignoring the monthly peak that sets the demand charge. The sizing then answers a different question from the one it is graded on. For grid-connected sites, the CogenS optimizer charges the same things the financial model bills: capital and upkeep on the size it buys, demand charges on the real monthly peak, the same discount rate and the same price growth. So the recommended plant cannot be beaten by a plant you could have specified instead, by the model's own measure.

Sizing and detailed simulation are separate passes, on purpose. A sizing solve cannot follow a fuel curve that bends with load, because the load on each machine is what it is deciding. So the first pass charges fuel at one rated efficiency and says so on the page. The full model then runs the real part-load curves. Run the optimizer again after that, and it uses the part-load efficiency the full model measured, so the second sizing reflects how the plant really ran.

Every asset in one place. Instead of sizing the generator in one tool, the battery in another and the cash flow in a spreadsheet, CogenS sizes the generator and battery together around your solar, then simulates them on the same bus, through the same outages, against the same tariff. The generator and financial engines are the same ones the CogenS cogeneration (CHP) module uses, so results are directly comparable.

One honest yardstick. Every project, grid-tied or off-grid, is measured against buying all its power from the grid at the rates you enter, for both cost and carbon. An off-grid site can enter the rates and carbon intensity of whatever it would otherwise buy. The model never adds a hidden minimum generator size for resilience: if you want a firm floor, you set it, and you see its cost.

Clear limits. CogenS models an island as an energy balance. It does not simulate frequency, voltage, protection settings or the seconds of switchover, and it does not forecast how often your grid fails: outage count and length are your inputs. Those belong in a power-systems study after the feasibility case is made.

Module Specs at a Glance

On-Site Generation

Natural gas gensets: reciprocating engines, gas turbines, microturbines, fuel cells and linear generators. Identical units in one size, or two sizes, each with its own model and type (for example a base-load engine plus a smaller peaking unit).

Solar & Storage

Solar from NREL PVWatts or your own uploaded profile, used as a fixed array. Battery power and energy sized by the optimizer, then specified as real battery blocks.

Grid & Metering

Grid-connected or islanded. Interconnection limit, monthly export limit or no export. Net metering, net metering with dollar credits, net billing, and buy-all-sell-all.

Resilience

Outage count, average duration, critical load factor and cost of downtime. Import and export blocked during outages; unserved load, curtailed solar and load-bank energy reported separately.

Time Resolution

A full year at 15, 20, 30 or 60-minute steps, for both the optimizer and the full model.

Financials & Deals

NPV, IRR, payback, benefit-cost ratio, total cost of ownership and sensitivity analysis. Owner case or Energy-as-a-Service: PPA, energy concession, capacity tolling or shared savings.

Comparison

Compare up to five genset models in one multi-vendor report.

Target Applications

Data centers and AI campuses waiting on grid capacity, hospitals and other critical sites, remote and off-grid sites, and large commercial and industrial loads.

Microgrid Design Steps in CogenS

The order you work through the pages of the CogenS microgrid design software, from a blank project to the report.

  1. Start a Microgrid project

    On the Microgrid card, choose whether to include battery storage, then open the project. Solar is added later, on the DER Optimization page.

  2. Describe the site and its boundary

    On Site Information, set the location, the time step and the electric load profile. Use a generated profile for the building type or upload your own, for example a data center's near-flat draw. Then set the grid mode, the interconnection and export limits, and the outages: how many, how long, the critical load factor and the cost of downtime.

  3. Enter the two sets of rates

    100% Grid Rates is the base case every project is measured against. DER Utility Rates is what the microgrid itself pays and earns: electricity and gas rates, demand charges, metering, sell rates and price growth.

  4. Run the sizing optimization

    On DER Optimization, describe the solar array, set the generator and battery costs and limits, and run the sizing. You get the recommended generator and battery sizes, the dispatch chart and a before-tax financial summary.

  5. Pick the real equipment

    On the genset and battery pages, the optimizer's sizes appear as reference cards. Choose catalog models, the number of units and one or two sizes, the operating strategy, and any scheduled shutdowns or replacements. Stage up to five gensets to compare.

  6. Set the financial case

    On Financial Parameters, review the equipment, upkeep and replacement costs, incentives, depreciation and loans. For third-party ownership, choose the deal structure and let CogenS solve the charge that meets the provider's target return.

  7. Run the full model and read the report

    Run Model Execution, then open the TEA report: the economics, the grid or off-grid supply metrics, unserved load, the dispatch with outages marked, and the sensitivity analysis.

  8. Refine the sizing

    Run the DER Optimization again. It now uses the part-load efficiency your full model run measured, so the refined sizes reflect how the generators really ran. Re-run Model Execution if the sizes change.

Ready to run a real analysis?

Sign up free and run a complete technoeconomic analysis in your browser — pre-loaded weather, tariffs, equipment specs, and financials for 340+ cities.