![]() |
deltaFlow
|
Checks reactive power limits on PV buses after solver convergence. More...
#include <Qlim.H>
Static Public Member Functions | |
| static bool | check (const Eigen::VectorXd &V, const Eigen::VectorXd &delta, Eigen::VectorXi &type_bus, const Eigen::MatrixXd &G, const Eigen::MatrixXd &B, BusData &busData, const std::vector< int > &pv_bus_id, int n_bus, ISolverObserver *observer=nullptr) |
| Checks reactive power limits on PV buses after solver convergence. | |
Checks reactive power limits on PV buses after solver convergence.
|
static |
Checks reactive power limits on PV buses after solver convergence.
Computes the reactive power at each bus using converged voltages and angles, then checks if PV buses violate their $$ Q_{gmax} $$ or $$ Q_{gmin} $$ limits. Violating PV buses are converted to PQ type (type 3 in C++ convention).
| V | Converged voltage magnitudes [p.u.]. |
| delta | Converged voltage angles [rad]. |
| type_bus | (in/out) Bus type vector; PV buses that violate limits are set to PQ. |
| G | Conductance matrix. |
| B | Susceptance matrix. |
| busData | Bus data (for Ql, Qgmax, Qgmin). |
| pv_bus_id | 0-based indices of PV buses (before any conversion). |
| n_bus | Total number of buses. |
| observer | Optional injected log observer (DIP); nullptr means silent. |
Definition at line 36 of file Qlim.C.
References ISolverObserver::onMessage(), BusData::Qg, BusData::Qgmax, BusData::Qgmin, and BusData::Ql.

