Energy ac optimal power flow

From XuShuwenn/RedAct · View interactive version

Energy ac optimal power flow is an AI agent skill from the GitHub repository XuShuwenn/RedAct. Run AC optimal power flow analysis to find least-cost AC-feasible operating points and produce voltage profile reports.

How to use this skill

Skill file

AC Optimal Power Flow Analysis

When to Use

Execution Focus

Runtime Protocol Is Mandatory

Input Files

Execution Checklist

Execution Checklist

Key Outputs

Report at the task-required absolute output path (often /root/report.json, but follow the task's path constraints if they differ) with structure:

{
  "summary": {
    "total_cost_per_hour": 1234567.89,
    "total_load_MW": 144839.06,
    "total_generation_MW": 145200.00,
    "solver_status": "optimal"
  },
  "generators": [{"id": 1, "bus": 316, "pg_MW": 245.5, ...}],
  "buses": [{"id": 1, "vm_pu": 1.02, "va_deg": -5.3, ...}],
  "most_loaded_branches": [{"from_bus": 123, "to_bus": 456, "loading_pct": 95.2, ...}],
  "feasibility_check": {"max_p_mismatch_MW": 0.001, ...}
}

Validation requirements for the final report:

Units

Required Validation Before Declaring Success

Required Validation Before Declaring Success

Tips

Tips

Execution Protocol and Final Checks

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.