Economic Dispatch
Generator economic dispatch and cost optimization for power systems. Use when minimizing generation costs, computing optimal generator setpoints, calculating operating margins, or working with generator cost functions.
Install
npx skills add UCSB-NLP-Chang/Skill-Usage --skill economic-dispatchgit clone --depth 1 https://github.com/UCSB-NLP-Chang/Skill-Usage.git /tmp/Skill-Usage
mkdir -p ~/.claude/skills
cp -r /tmp/Skill-Usage/tasks/energy-market-pricing/environment/skills/economic-dispatch ~/.claude/skills/economic-dispatchPersonal skills live in ~/.claude/skills. Use .claude/skills in a project folder to share a skill with your team.
From the SKILL.md
# Economic Dispatch
Economic dispatch minimizes total generation cost while meeting load demand and respecting generator limits.
## Generator Data Indices
MATPOWER generator array columns (0-indexed):
| Index | Field | Description |
|-------|-------|-------------|
| 0 | GEN_BUS | Bus number (1-indexed) |
| 8 | PMAX | Maximum real power (MW) |
| 9 | PMIN | Minimum real power (MW) |
```python
# Use bus number mapping (handles non-contiguous bus numbers)
bus_num_to_idx = {int(buses[i, 0]): i for i in range(n_bus)}
gen_bus = [bus_num_to_idx[int(g[0])] for g in gens]
pmax_MW = gen[8]
pmin_MW = gen[9]
```
## Cost Function Format
MATPOWER gencost array (polynomial type 2):
| Index | Field | Description |
|-------|-------|-------------|
| 0 | MODEL | 2 = polynomial |
| 1 | STARTUP | Startup cost ($) |
| 2 | SHUTDOWN | Shutdown cost ($) |
| 3 | NCOST | Number of coefficients |
| 4+ | coeffs | Cost coefficients (highest order first) |
For quadratic (NCOST=3): coefficients are [c2, c1, c0] at indices 4, 5, 6
For linear (NCOST=2): coefficients are [c1, c0] at indices 4, 5
Cost = c₂·P² + c₁·P + c₀ ($/hr) where P is in MW.
## Optimization FormulationDetails
- Skill name
economic-dispatch- Repository
- UCSB-NLP-Chang/Skill-Usage
- Path
tasks/energy-market-pricing/environment/skills/economic-dispatch/SKILL.md- Repo updated
- 8 April 2026
FAQ
What does the Economic Dispatch skill do?
Generator economic dispatch and cost optimization for power systems. Use when minimizing generation costs, computing optimal generator setpoints, calculating operating margins, or working with generator cost functions.
How do I install the Economic Dispatch skill?
skills CLI (Claude Code, Cursor, Codex and more): npx skills add UCSB-NLP-Chang/Skill-Usage --skill economic-dispatch. Skills go in ~/.claude/skills (personal) or .claude/skills (project), and Claude loads them automatically when a task matches the description.
Is Economic Dispatch popular?
It lives in UCSB-NLP-Chang/Skill-Usage, which has 49 GitHub stars and 5 forks.
Related skills
Pubchem Database
49UCSB-NLP-Chang/Skill-Usage
Query PubChem via PUG-REST API/PubChemPy (110M+ compounds). Search by name/CID/SMILES, retrieve properties, similarity/substructure searches, bioactivity, for cheminformatics.
Pymatgen
49UCSB-NLP-Chang/Skill-Usage
Materials science toolkit. Crystal structures (CIF, POSCAR), phase diagrams, band structure, DOS, Materials Project integration, format conversion, for computational materials science.
Rdkit
49UCSB-NLP-Chang/Skill-Usage
Cheminformatics toolkit for fine-grained molecular control. SMILES/SDF parsing, descriptors (MW, LogP, TPSA), fingerprints, substructure search, 2D/3D generation, similarity, reactions. For standard workflows with simpler interface, use datamol (wrapper around RDKit). Use rdkit for advanced control, custom sanitization, specialized algorithms.
Egomotion Estimation
49UCSB-NLP-Chang/Skill-Usage
Estimate camera motion with optical flow + affine/homography, allow multi-label per frame.
Dyn Object Masks
49UCSB-NLP-Chang/Skill-Usage
Generate dynamic-object binary masks after global motion compensation, output CSR sparse format.
Erlang Otp Behaviors
49UCSB-NLP-Chang/Skill-Usage
Use when oTP behaviors including gen_server for stateful processes, gen_statem for state machines, supervisors for fault tolerance, gen_event for event handling, and building robust, production-ready Erlang applications with proven patterns.
Browse the most popular Claude skills, all other skills, or write your own with the skills generator.