|
DPsim
|
#include <cerrno>#include <cmath>#include <complex>#include <exception>#include <memory>#include <string>#include <system_error>#include <Eigen/Dense>#include <Eigen/Sparse>Go to the source code of this file.
Classes | |
| class | CPS::Exception |
| class | CPS::AccessException |
| class | CPS::TypeException |
| class | CPS::InvalidAttributeException |
| class | CPS::InvalidArgumentException |
| class | CPS::SystemError |
Namespaces | |
| namespace | CPS |
Macros | |
| #define | DPS_PI PI |
| #define | M_PI 3.14159265358979323846 |
| #define | PI M_PI |
| #define | SHIFT_TO_PHASE_B Complex(cos(-2 * M_PI / 3), sin(-2 * M_PI / 3)) |
| #define | SHIFT_TO_PHASE_C Complex(cos(2 * M_PI / 3), sin(2 * M_PI / 3)) |
| #define | RMS_TO_PEAK sqrt(2.) |
| #define | PEAK_TO_RMS sqrt(1 / 2.) |
| #define | RMS3PH_TO_PEAK1PH sqrt(2. / 3.) |
| #define | PEAK1PH_TO_RMS3PH sqrt(3. / 2.) |
| #define | P_SNUB_TRANSFORMER 1e-3 |
| #define | Q_SNUB_TRANSFORMER 5e-4 |
| #define | DOUBLE_EPSILON 1E-12 |
Typedefs | |
| typedef unsigned int | CPS::UInt |
| typedef int | CPS::Int |
| typedef double | CPS::Real |
| typedef std::complex< Real > | CPS::Complex |
| typedef bool | CPS::Bool |
| typedef std::string | CPS::String |
| typedef Eigen::Matrix< Complex, Eigen::Dynamic, 1 > | CPS::VectorComp |
| Dense vector for complex numbers. | |
| typedef Eigen::Matrix< Real, Eigen::Dynamic, 1 > | CPS::Vector |
| Dense vector for real numbers. | |
| typedef Eigen::SparseMatrix< Real, Eigen::ColMajor > | CPS::SparseMatrix |
| Sparse matrix for real numbers. | |
| typedef Eigen::SparseMatrix< Real, Eigen::RowMajor > | CPS::SparseMatrixRow |
| Sparse matrix for real numbers (row major). | |
| typedef Eigen::SparseMatrix< Complex, Eigen::ColMajor > | CPS::SparseMatrixComp |
| Sparse matrix for complex numbers. | |
| typedef Eigen::SparseMatrix< Complex, Eigen::RowMajor > | CPS::SparseMatrixCompRow |
| Sparse matrix for complex numbers (row major). | |
| typedef Eigen::Matrix< Real, Eigen::Dynamic, Eigen::Dynamic, Eigen::ColMajor > | CPS::Matrix |
| Dense matrix for real numbers. | |
| typedef Eigen::Matrix< Complex, Eigen::Dynamic, Eigen::Dynamic, Eigen::ColMajor > | CPS::MatrixComp |
| Dense matrix for complex numbers. | |
| typedef Eigen::Matrix< Int, Eigen::Dynamic, Eigen::Dynamic, Eigen::ColMajor > | CPS::MatrixInt |
| Dense matrix for integers. | |
| typedef Eigen::Matrix< Real, Eigen::Dynamic, Eigen::Dynamic, Eigen::RowMajor > | CPS::MatrixRow |
| typedef Eigen::PartialPivLU< Matrix > | CPS::LUFactorized |
| typedef Eigen::SparseLU< SparseMatrix > | CPS::LUFactorizedSparse |
| template<typename VarType> | |
| using | CPS::MatrixVar |
| template<int rows, int cols> | |
| using | CPS::MatrixFixedSize = Eigen::Matrix<Real, rows, cols, Eigen::ColMajor> |
| Dense matrix for real numbers with fixed dimension. | |
| template<int rows, int cols> | |
| using | CPS::MatrixFixedSizeComp = Eigen::Matrix<Complex, rows, cols, Eigen::ColMajor> |
| Dense matrix for complex numbers with fixed dimension. | |
Enumerations | |
| enum class | CPS::NumericalMethod { CPS::Euler , CPS::Trapezoidal } |
| enum class | CPS::PhaseType { CPS::A , CPS::B , CPS::C , CPS::ABC , CPS::Single } |
| enum class | CPS::Domain { CPS::SP , CPS::DP , CPS::EMT } |
| enum class | CPS::PowerflowBusType { CPS::PV , CPS::PQ , CPS::VD , CPS::None } |
| enum class | CPS::GeneratorType { CPS::PVNode , CPS::IdealVoltageSource , CPS::IdealCurrentSource , CPS::TransientStability , CPS::FullOrder , CPS::FullOrderVBR , CPS::SG6aOrderVBR , CPS::SG6bOrderVBR , CPS::SG5OrderVBR , CPS::SG4OrderVBR , CPS::SG3OrderVBR , CPS::SG4OrderPCM , CPS::SG4OrderTPM , CPS::SG6OrderPCM , CPS::None } |
| enum class | CPS::SGOrder { CPS::SG3Order , CPS::SG4Order , CPS::SG5Order , CPS::SG6aOrder , CPS::SG6bOrder } |
| enum class | CPS::CouplingMethod { CPS::DELAY , CPS::EXTRAPOLATION_ZOH , CPS::EXTRAPOLATION_LINEAR } |
| #define DOUBLE_EPSILON 1E-12 |
Definition at line 55 of file Definitions.h.
| #define DPS_PI PI |
Definition at line 38 of file Definitions.h.
| #define M_PI 3.14159265358979323846 |
Definition at line 41 of file Definitions.h.
| #define P_SNUB_TRANSFORMER 1e-3 |
Definition at line 53 of file Definitions.h.
| #define PEAK1PH_TO_RMS3PH sqrt(3. / 2.) |
Definition at line 51 of file Definitions.h.
| #define PEAK_TO_RMS sqrt(1 / 2.) |
Definition at line 49 of file Definitions.h.
| #define PI M_PI |
Definition at line 43 of file Definitions.h.
| #define Q_SNUB_TRANSFORMER 5e-4 |
Definition at line 54 of file Definitions.h.
| #define RMS3PH_TO_PEAK1PH sqrt(2. / 3.) |
Definition at line 50 of file Definitions.h.
| #define RMS_TO_PEAK sqrt(2.) |
Definition at line 48 of file Definitions.h.
Definition at line 46 of file Definitions.h.
Definition at line 47 of file Definitions.h.