Individual skill
evo-dcopf-solver
Solves DC-OPF with spinning reserve co-optimization using PuLP/CBC. Extracts LMPs from dual variables, reserve MCP, binding lines.
tasks-evolved/energy-market-pricing/environment/skills/evo-dcopf-solver/SKILL.md
Source commit 84ca182da055fafb6453dcec4a6defdbbfd987c1
What was checked
- Matches the observed repository HEAD
- Yes
- Scanner rules are current
- No
- Repository scan complete
- No
- Skill scan complete
- No
- Observed behavior
- Not checked yet
- Last checked
- Nov 6, 2026
These are observations at the recorded commit, not a guarantee of safety. Review the source before running it.
Install this skill
Choose an agent in your Stack or copy a command below. Commands fetch the pinned commit and copy only this skill directory. Existing destinations are refused. Copying a command does not install anything.
An install command is unavailable: current rules, complete repository and skill scans, an eligible behavior level and a permitted license are required.
Repository context
- Repository stars (not skill ratings)
- 97
- Repository last updated
- Sep 10, 2026
- License
- Apache-2.0
Observed agent integration: No specific integration evidence. Standard SKILL.md installation does not imply verified compatibility.
- agent-skills Repository topic
- ai-agents Repository topic
- llm-agents Repository topic
- open-world Repository topic
- self-evolving-agents Repository topic
- engineering Derived category
Files and excerpt
File metadata and permitted, redacted excerpts come from the recorded scan. Source links are pinned to that commit.
Browse files
SKILL.mdcore · 1,369 bytesSKILL.mdcore · 1,369 bytesscripts/utils.pyruns · 6,607 bytes
Read excerpt
# evo-dcopf-solver
Solves DC-OPF with reserve co-optimization using PTDF formulation and PuLP.
## Key Functions
- `solve_dcopf_with_reserves(nb, ng, nl, gen_info, branches, costs, load_p, matrices, reserve_capacity, reserve_requirement, Cg)` - Main solver
- `extract_lmps(result, int2ext)` - Returns list of {bus, lmp_dollars_per_MWh}
- `extract_reserve_mcp(result)` - Returns reserve MCP float
- `identify_binding_lines(result, branches, int2ext, threshold=0.99)` - Returns binding line dicts
- `compute_total_cost(result)` - Returns total cost float
## Usage