|
Harmony
HARMONic stabilitY assessment of PE-penetrated power systems
|
Standalone OPF network visualization interface. More...
#include <Eigen/Dense>#include <vector>#include <array>

Go to the source code of this file.
Classes | |
| struct | OPFVisualData |
| Container for all OPF topology and solution data needed by viz_opf(). More... | |
Functions | |
| void | viz_opf (const OPFVisualData &data) |
| Opens an interactive AC/DC OPF network diagram. | |
Standalone OPF network visualization interface.
Lightweight header defining the OPFVisualData payload and viz_opf() entry point for rendering AC/DC OPF results without pulling in the full Visualization.h module graph.
| void viz_opf | ( | const OPFVisualData & | data | ) |
Opens an interactive AC/DC OPF network diagram.
| data | OPF topology matrices and solved bus/branch quantities. |
Opens an interactive AC/DC OPF network diagram.
Returns immediately; the window stays open until the user closes it or visualization_stop() / visualization_wait() is called.
| data | OPF topology and solved bus/branch quantities. |
References add_tab(), OPFVisualData::baseMVA_ac, OPFVisualData::baseMW_dc, OPFVisualData::branch_dc, OPFVisualData::branch_entire_ac, OPFVisualData::bus_dc, OPFVisualData::bus_entire_ac, OPFVisualData::conv_dc, OPFVisualData::gen_entire_ac, j, OPFVisualData::nbuses_ac, OPFVisualData::nconvs_dc, OPFVisualData::ngens_ac, OPFVisualData::ngrids, OPFVisualData::pgen_ac_k, OPFVisualData::pij_ac_k, OPFVisualData::pij_dc_k, OPFVisualData::pol_dc, OPFVisualData::ps_dc_k, OPFVisualData::qgen_ac_k, OPFVisualData::qij_ac_k, OPFVisualData::qs_dc_k, OPFVisualData::vn2_ac_k, and OPFVisualData::vn2_dc_k.
Referenced by PowerFlow::solve_opf().