Evo acopf network parser

From OpenLAIR/OpenSkill · View interactive version

Evo acopf network parser is an AI agent skill from the GitHub repository OpenLAIR/OpenSkill. Parses Matpower-style network.json files into Python data structures suitable for ACOPF formulation.

How to use this skill

Skill file

evo-acopf-network-parser

Parses Matpower-style network.json (array format) into solver-ready structures.

Usage

import sys
sys.path.insert(0, '/app/environment/skills/evo-acopf-network-parser/scripts')
from utils import parse_network_json, map_generators_to_buses, identify_reference_buses, get_branch_bus_mappings

baseMVA, buses, gens, branches, loads_by_bus, shunts_by_bus = parse_network_json('network.json')
gen_at_bus = map_generators_to_buses(gens, buses)
ref_buses = identify_reference_buses(buses)
branch_from, branch_to = get_branch_bus_mappings(branches, buses)

Key Details

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.