![]() |
deltaFlow
|
Computes the power mismatch vector for use in Newton-Raphson iterations. More...
#include <PowerMismatch.H>
Static Public Member Functions | |
| static Eigen::VectorXd | compute (const Eigen::VectorXd &Ps, const Eigen::VectorXd &Qs, const Eigen::MatrixXd &G, const Eigen::MatrixXd &B, const Eigen::VectorXd &V, const Eigen::VectorXd &delta, int n_bus, const std::vector< int > &pq_bus_id, Eigen::VectorXd &P, Eigen::VectorXd &Q) |
| Computes the power mismatch vector for use in Newton-Raphson iterations. | |
Computes the power mismatch vector for use in Newton-Raphson iterations.
Definition at line 45 of file PowerMismatch.H.
|
static |
Computes the power mismatch vector for use in Newton-Raphson iterations.
The mismatch vector is composed of:
| Ps | Scheduled active power injection (Pg - Pl) at each bus [p.u.]. |
| Qs | Scheduled reactive power injection (Qg - Ql) at each bus [p.u.]. |
| G | Conductance matrix (real part of $$ Y_{bus} $$). |
| B | Susceptance matrix (imaginary part of $$ Y_{bus} $$). |
| V | Voltage magnitudes at each bus [p.u.]. |
| delta | Voltage angles at each bus [rad]. |
| n_bus | Total number of buses. |
| pq_bus_id | 0-based indices of PQ buses. |
| P | (output) Computed active power at each bus [p.u.]. |
| Q | (output) Computed reactive power at each bus [p.u.]. |
Definition at line 30 of file PowerMismatch.C.
