evo-market-report
Compares base and counterfactual DC-OPF results, computes impact analysis, and exports report.json.
SKILL.mdtasks-evolved/energy-market-pricing/environment/skills/evo-market-report/SKILL.md
GitHubevo-market-report
Compares scenarios and builds the final report.json.
Key Functions
compute_impact_analysis(base_cost, cf_cost)- Cost reductionfind_top_lmp_drops(base_lmps, cf_lmps, n=3)- Top n buses with largest LMP dropcheck_congestion_relieved(cf_binding, f_bus, t_bus)- True if line not bindingbuild_report_json(...)- Assembles complete report structureexport_report(report, filepath)- Writes JSON file
Usage
import sys
sys.path.insert(0, '/app/environment/skills/evo-market-report/scripts')
from utils import build_report_json, export_report
report = build_report_json(base_result, cf_result, base_lmps, cf_lmps,
base_reserve_mcp, cf_reserve_mcp,
base_binding, cf_binding, base_cost, cf_cost)
export_report(report, '/root/report.json')