economic-dispatch

Optimize generator setpoints and operating margins using MATPOWER gencost data.

4|Updated Feb 22, 2026
One-click install
npx skills add https://github.com/GeneralReasoning/env-skillsbench --skill economic-dispatch-generalreasoning
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: economic-dispatch
Source: https://github.com/GeneralReasoning/env-skillsbench/tree/main/grid-dispatch-operator/environment/skills/economic-dispatch
Command: npx skills add https://github.com/GeneralReasoning/env-skillsbench --skill economic-dispatch-generalreasoning

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

Economic Dispatch minimizes generation cost while meeting load demand and respecting generator limits, enabling efficient operation of power systems.

Core Features & Use Cases

  • Supports generation-cost modeling using MATPOWER gencost data (quadratic and linear forms) to compute optimal setpoints.
  • Enforces generator limits (PMAX/PMIN) and system balance, including reserve requirements and margin calculations.
  • Provides guidance for dispatch planning and scenario analysis across multiple generators and buses.

Quick Start

Provide a small test dataset with generator limits and cost data and ask the AI to compute the optimal dispatch plan.

Frequently Asked Questions about economic-dispatch

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I calculate optimal generator setpoints to minimize power system costs?

To calculate optimal generator setpoints, you minimize generation costs by balancing load demand against generator limits like PMAX and PMIN. This requires providing generator data and cost matrices to compute the most efficient dispatch plan.

What is economic dispatch and how does it handle load balance constraints?

Economic dispatch is the process of minimizing generation costs while meeting load demand and respecting generator limits. It enforces system balance by calculating setpoints and operating margins that satisfy load-balance constraints across multiple plants.

Can I use MATPOWER gencost data for quadratic and linear cost modeling?

Yes, you can use MATPOWER gencost data for cost modeling. The process supports both quadratic and linear gencost forms to compute optimal setpoints and evaluate cost functions across multiple generators and buses.

How do I enforce generator PMAX and PMIN limits during dispatch planning?

You enforce generator PMAX and PMIN limits by applying them as constraints within the dispatch optimization. This ensures the calculated setpoints respect operational boundaries while meeting system load-balance and reserve requirements.

What data do I need to provide to compute an optimal dispatch plan scenario?

You need to provide a dataset containing generator limits, load-balance constraints, and gencost matrices. Supplying this data allows the optimization to calculate generator setpoints, operating margins, and evaluate cost functions.