DPsim
Loading...
Searching...
No Matches
CPS Namespace Reference

Namespaces

namespace  Base
 
namespace  CIM
 
namespace  DP
 
namespace  EMT
 
namespace  Graph
 
namespace  Signal
 
namespace  SP
 
namespace  Utils
 

Classes

class  AccessException
 
class  Attribute
 
class  AttributeBase
 
struct  AttributeCmp
 
class  AttributeDynamic
 
struct  AttributeEq
 
class  AttributeList
 Base class of objects having attributes to access member variables. More...
 
class  AttributePointer
 
class  AttributeStatic
 
class  AttributeUpdateTask
 
class  AttributeUpdateTaskBase
 
class  CompositePowerComp
 Base class for composite power components. More...
 
class  CSVReader
 reads load profiles (csv files only) and assign them to the corresponding load object More...
 
class  CSVReaderIterator
 
class  CSVRow
 
class  DAEInterface
 
class  Exception
 
class  IdentifiedObject
 
class  InvalidArgumentException
 
class  InvalidAttributeException
 
class  Logger
 
class  Math
 
class  MNAInterface
 Interface to be implemented by all models used by the MNA solver. More...
 
class  MNASimPowerComp
 Base class for all MNA components that are transmitting power. More...
 
class  MNAStampUtils
 
class  MNASwitchInterface
 MNA interface to be used by switching devices. More...
 
class  MNASyncGenInterface
 Interface to be used by synchronous generators. More...
 
class  MNATearInterface
 
class  MNAVariableCompInterface
 MNA interface to be used by elements that require recomputing of the system matrix. More...
 
class  ODEInterface
 
class  ODEintInterface
 
class  PFSolverInterfaceBranch
 Common base class of all Component templates. More...
 
class  PFSolverInterfaceBus
 Common base class of all Component templates. More...
 
struct  PowerProfile
 
struct  PQData
 
class  SimNode
 
class  SimPowerComp
 Base class for all components that are transmitting power. More...
 
class  SimSignalComp
 
class  SimTerminal
 
class  SystemError
 
class  SystemTopology
 
class  Task
 Tasks to be defined by every component. More...
 
class  TopologicalNode
 
class  TopologicalPowerComp
 
class  TopologicalSignalComp
 
class  TopologicalTerminal
 
class  TypeException
 

Typedefs

typedef unsigned int UInt
 
typedef int Int
 
typedef double Real
 
typedef std::complex< RealComplex
 
typedef bool Bool
 
typedef std::string String
 
typedef Eigen::Matrix< Complex, Eigen::Dynamic, 1 > VectorComp
 Dense vector for complex numbers.
 
typedef Eigen::Matrix< Real, Eigen::Dynamic, 1 > Vector
 Dense vector for real numbers.
 
typedef Eigen::SparseMatrix< Real, Eigen::ColMajor > SparseMatrix
 Sparse matrix for real numbers.
 
typedef Eigen::SparseMatrix< Real, Eigen::RowMajor > SparseMatrixRow
 Sparse matrix for real numbers (row major).
 
typedef Eigen::SparseMatrix< Complex, Eigen::ColMajor > SparseMatrixComp
 Sparse matrix for complex numbers.
 
typedef Eigen::SparseMatrix< Complex, Eigen::RowMajor > SparseMatrixCompRow
 Sparse matrix for complex numbers (row major).
 
typedef Eigen::Matrix< Real, Eigen::Dynamic, Eigen::Dynamic, Eigen::ColMajor > Matrix
 Dense matrix for real numbers.
 
typedef Eigen::Matrix< Complex, Eigen::Dynamic, Eigen::Dynamic, Eigen::ColMajor > MatrixComp
 Dense matrix for complex numbers.
 
typedef Eigen::Matrix< Int, Eigen::Dynamic, Eigen::Dynamic, Eigen::ColMajor > MatrixInt
 Dense matrix for integers.
 
typedef Eigen::Matrix< Real, Eigen::Dynamic, Eigen::Dynamic, Eigen::RowMajor > MatrixRow
 
typedef Eigen::PartialPivLU< MatrixLUFactorized
 
typedef Eigen::SparseLU< SparseMatrixLUFactorizedSparse
 
template<typename VarType>
using MatrixVar
 
template<int rows, int cols>
using MatrixFixedSize = Eigen::Matrix<Real, rows, cols, Eigen::ColMajor>
 Dense matrix for real numbers with fixed dimension.
 
template<int rows, int cols>
using MatrixFixedSizeComp = Eigen::Matrix<Complex, rows, cols, Eigen::ColMajor>
 Dense matrix for complex numbers with fixed dimension.
 

Enumerations

enum  UpdateTaskKind { UPDATE_ONCE , UPDATE_ON_GET , UPDATE_ON_SET , UPDATE_ON_SIMULATION_STEP }
 
enum class  MNA_SUBCOMP_TASK_ORDER { NO_TASK , TASK_BEFORE_PARENT , TASK_AFTER_PARENT }
 
enum class  NumericalMethod { Euler , Trapezoidal }
 
enum class  PhaseType {
  A , B , C , ABC ,
  Single
}
 
enum class  Domain { SP , DP , EMT }
 
enum class  PowerflowBusType { PV , PQ , VD , None }
 
enum class  GeneratorType {
  PVNode , IdealVoltageSource , IdealCurrentSource , TransientStability ,
  FullOrder , FullOrderVBR , SG6aOrderVBR , SG6bOrderVBR ,
  SG5OrderVBR , SG4OrderVBR , SG3OrderVBR , SG4OrderPCM ,
  SG4OrderTPM , SG6OrderPCM , None
}
 
enum class  SGOrder {
  SG3Order , SG4Order , SG5Order , SG6aOrder ,
  SG6bOrder
}
 
enum class  CouplingMethod { DELAY , EXTRAPOLATION_ZOH , EXTRAPOLATION_LINEAR }
 

Variables

template<typename VarType>
SimNode< VarType >::Ptr SimNode< VarType >::GND = SimNode<VarType>::make()
 

Typedef Documentation

◆ Bool

typedef bool CPS::Bool

Definition at line 64 of file Definitions.h.

◆ Complex

typedef std::complex<Real> CPS::Complex

Definition at line 63 of file Definitions.h.

◆ Int

typedef int CPS::Int

Definition at line 61 of file Definitions.h.

◆ LUFactorized

typedef Eigen::PartialPivLU<Matrix> CPS::LUFactorized

Definition at line 92 of file Definitions.h.

◆ LUFactorizedSparse

typedef Eigen::SparseLU<SparseMatrix> CPS::LUFactorizedSparse

Definition at line 94 of file Definitions.h.

◆ Matrix

typedef Eigen::Matrix<Real, Eigen::Dynamic, Eigen::Dynamic, Eigen::ColMajor> CPS::Matrix

Dense matrix for real numbers.

Definition at line 81 of file Definitions.h.

◆ MatrixComp

typedef Eigen::Matrix<Complex, Eigen::Dynamic, Eigen::Dynamic, Eigen::ColMajor> CPS::MatrixComp

Dense matrix for complex numbers.

Definition at line 84 of file Definitions.h.

◆ MatrixFixedSize

template<int rows, int cols>
using CPS::MatrixFixedSize = Eigen::Matrix<Real, rows, cols, Eigen::ColMajor>

Dense matrix for real numbers with fixed dimension.

Definition at line 101 of file Definitions.h.

◆ MatrixFixedSizeComp

template<int rows, int cols>
using CPS::MatrixFixedSizeComp = Eigen::Matrix<Complex, rows, cols, Eigen::ColMajor>

Dense matrix for complex numbers with fixed dimension.

Definition at line 104 of file Definitions.h.

◆ MatrixInt

typedef Eigen::Matrix<Int, Eigen::Dynamic, Eigen::Dynamic, Eigen::ColMajor> CPS::MatrixInt

Dense matrix for integers.

Definition at line 87 of file Definitions.h.

◆ MatrixRow

typedef Eigen::Matrix<Real, Eigen::Dynamic, Eigen::Dynamic, Eigen::RowMajor> CPS::MatrixRow

Definition at line 90 of file Definitions.h.

◆ MatrixVar

template<typename VarType>
using CPS::MatrixVar
Initial value:
Eigen::Matrix<VarType, Eigen::Dynamic, Eigen::Dynamic, Eigen::ColMajor>

Definition at line 97 of file Definitions.h.

◆ Real

typedef double CPS::Real

Definition at line 62 of file Definitions.h.

◆ SparseMatrix

typedef Eigen::SparseMatrix<Real, Eigen::ColMajor> CPS::SparseMatrix

Sparse matrix for real numbers.

Definition at line 72 of file Definitions.h.

◆ SparseMatrixComp

typedef Eigen::SparseMatrix<Complex, Eigen::ColMajor> CPS::SparseMatrixComp

Sparse matrix for complex numbers.

Definition at line 76 of file Definitions.h.

◆ SparseMatrixCompRow

typedef Eigen::SparseMatrix<Complex, Eigen::RowMajor> CPS::SparseMatrixCompRow

Sparse matrix for complex numbers (row major).

Definition at line 78 of file Definitions.h.

◆ SparseMatrixRow

typedef Eigen::SparseMatrix<Real, Eigen::RowMajor> CPS::SparseMatrixRow

Sparse matrix for real numbers (row major).

Definition at line 74 of file Definitions.h.

◆ String

typedef std::string CPS::String

Definition at line 65 of file Definitions.h.

◆ UInt

typedef unsigned int CPS::UInt

Definition at line 60 of file Definitions.h.

◆ Vector

typedef Eigen::Matrix<Real, Eigen::Dynamic, 1> CPS::Vector

Dense vector for real numbers.

Definition at line 70 of file Definitions.h.

◆ VectorComp

typedef Eigen::Matrix<Complex, Eigen::Dynamic, 1> CPS::VectorComp

Dense vector for complex numbers.

Definition at line 68 of file Definitions.h.

Enumeration Type Documentation

◆ CouplingMethod

enum class CPS::CouplingMethod
strong
Enumerator
DELAY 
EXTRAPOLATION_ZOH 
EXTRAPOLATION_LINEAR 

Definition at line 135 of file Definitions.h.

◆ Domain

enum class CPS::Domain
strong
Enumerator
SP 
DP 
EMT 

Definition at line 114 of file Definitions.h.

◆ GeneratorType

enum class CPS::GeneratorType
strong
Enumerator
PVNode 
IdealVoltageSource 
IdealCurrentSource 
TransientStability 
FullOrder 
FullOrderVBR 
SG6aOrderVBR 
SG6bOrderVBR 
SG5OrderVBR 
SG4OrderVBR 
SG3OrderVBR 
SG4OrderPCM 
SG4OrderTPM 
SG6OrderPCM 
None 

Definition at line 116 of file Definitions.h.

◆ MNA_SUBCOMP_TASK_ORDER

enum class CPS::MNA_SUBCOMP_TASK_ORDER
strong
Enumerator
NO_TASK 
TASK_BEFORE_PARENT 
TASK_AFTER_PARENT 

Definition at line 8 of file CompositePowerComp.h.

◆ NumericalMethod

enum class CPS::NumericalMethod
strong
Enumerator
Euler 
Trapezoidal 

Definition at line 112 of file Definitions.h.

◆ PhaseType

enum class CPS::PhaseType
strong
Enumerator
ABC 
Single 

Definition at line 113 of file Definitions.h.

◆ PowerflowBusType

enum class CPS::PowerflowBusType
strong
Enumerator
PV 
PQ 
VD 
None 

Definition at line 115 of file Definitions.h.

◆ SGOrder

enum class CPS::SGOrder
strong
Enumerator
SG3Order 
SG4Order 
SG5Order 
SG6aOrder 
SG6bOrder 

Definition at line 133 of file Definitions.h.

◆ UpdateTaskKind

Enum to describe when a given ´UpdateTaskshould be executed. UPDATE_ONCE tasks are currently executed instantly after they have been set, and then never again. UPDATE_ON_GET tasks are executed whenever the attribute is dereferenced. UPDATE_ON_SET tasks are only executed whenever thesetmethod is called. Sinceget` provides mutable references, this is not guaranteed to happen on every change to the attribute! UPDATE_ON_SIMULATION_STEP is currently unused.

Enumerator
UPDATE_ONCE 
UPDATE_ON_GET 
UPDATE_ON_SET 
UPDATE_ON_SIMULATION_STEP 

Definition at line 27 of file Attribute.h.

Variable Documentation

◆ SimNode< VarType >::GND

template<typename VarType>
SimNode<VarType>::Ptr CPS::SimNode< VarType >::GND = SimNode<VarType>::make()

Definition at line 127 of file SimNode.h.