![]() |
deltaFlow
|
Shared input/output parameters for power-flow solvers. More...
#include <ISolver.H>

Public Attributes | |
| const Eigen::MatrixXcd * | Y = nullptr |
| Bus admittance matrix (used by Gauss-Seidel). | |
| const Eigen::MatrixXd * | G = nullptr |
| Conductance matrix (used by Newton-Raphson). | |
| const Eigen::MatrixXd * | B = nullptr |
| Susceptance matrix (used by Newton-Raphson). | |
| Eigen::VectorXd * | V = nullptr |
| Voltage magnitudes [p.u.]. | |
| Eigen::VectorXd * | delta = nullptr |
| Voltage angles [rad]. | |
| Eigen::VectorXi * | type_bus = nullptr |
| Bus type vector (1=Slack, 2=PV, 3=PQ). | |
| const std::vector< int > * | pq_bus_id = nullptr |
| 0-based PQ bus indices (Newton-Raphson). | |
| const Eigen::VectorXd * | P = nullptr |
| Scheduled active power injections (Pg - Pl). | |
| const Eigen::VectorXd * | Q = nullptr |
| Scheduled reactive power injections (Qg - Ql). | |
| int | N = 0 |
| Total number of buses. | |
| int | n_pq = 0 |
| Number of PQ buses (Newton-Raphson). | |
| int | maxIter = 1024 |
| Maximum number of iterations. | |
| double | tolerance = 1E-8 |
| Convergence tolerance. | |
| double | omega = 1.0 |
| Relaxation coefficient (Gauss-Seidel only). | |
| std::vector< std::pair< int, double > > * | iterHistory = nullptr |
| Optional iteration history sink. | |
| class ISolverObserver * | observer = nullptr |
| Optional injected progress/log observer (DIP); nullptr = silent. | |
Shared input/output parameters for power-flow solvers.
Holds the union of parameters required by all concrete solvers. Solvers only read/write the subset of fields relevant to their algorithm.
| Eigen::VectorXd* SolverContext::delta = nullptr |
| int SolverContext::maxIter = 1024 |
| int SolverContext::n_pq = 0 |
| class ISolverObserver* SolverContext::observer = nullptr |
| double SolverContext::omega = 1.0 |
| Eigen::VectorXi* SolverContext::type_bus = nullptr |
| Eigen::VectorXd* SolverContext::V = nullptr |