PowerWorld workflow
Expose PowerWorld tools in stages. Start with the base case. Move to contingencies or matrix analytics only after the operating condition is understood.
Default tool ladder
open_case(case_path)run_powerflow(solution_method)get_power_flow_results(object_type, additional_fields)andget_key_field_list(object_type)change_and_confirm_params(...)orchange_parameters_multiple_element(...)analyze_contingencies(option, validate)get_ybus(),get_jacobian(),get_lodf_matrix(),get_ptdf_matrix_fast(),to_graph(),determine_shortest_path(), orrun_robustness_analysis()
Working rules
- Do not run contingencies before the base case solves cleanly.
- Ask for the monitored objects, limits, and fields before large result pulls.
- Use sensitivities or graph tools to rank candidate fixes before applying bulk changes.
- Confirm every model change by re-solving and checking the same monitored quantities.
Escalation triggers
Quote the bus or branch and the value that tripped each row rather than saying "violations exist".
| Observation | Escalate to |
|---|---|
| Bus voltage outside [0.95, 1.05] pu in the power-flow results | voltage-violation-mitigation |
| Branch percent loading > 100 | thermal-overload-mitigation |
analyze_contingencies returns binding violations |
contingency-mitigation |
run_powerflow fails to converge |
convergence-failure-mitigation |
Deliver
- The case, base-case status, and monitored findings.
- Any changes applied and their effect.
- Whether an advanced study or mitigation playbook is required next.