|
DPsim
|
Classes | |
| class | LogTask |
| class | PostSolveTask |
| class | PreSolveTask |
| class | SolveTask |
| class | SubnetSolveTask |
Public Member Functions | |
| DiakopticsSolver (String name, CPS::SystemTopology system, CPS::IdentifiedObject::List tearComponents, Real timeStep, CPS::Logger::Level logLevel) | |
| CPS::Task::List | getTasks () override |
| Get tasks for scheduler. | |
Public Member Functions inherited from DPsim::Solver | |
| Solver (String name, CPS::Logger::Level logLevel) | |
| void | setTimeStep (Real timeStep) |
| void | doFrequencyParallelization (Bool freqParallel) |
| virtual void | setSystem (const CPS::SystemTopology &system) |
| void | doSystemMatrixRecomputation (Bool value) |
| void | setLogSolveTimes (Bool value) |
| virtual void | initialize () |
| void | doSteadyStateInit (Bool f) |
| activate steady state initialization | |
| void | setSteadStIniTimeLimit (Real v) |
| set steady state initialization time limit | |
| void | setSteadStIniAccLimit (Real v) |
| set steady state initialization accuracy limit | |
| virtual void | setSolverAndComponentBehaviour (Solver::Behaviour behaviour) |
| set solver and component to initialization or simulation behaviour | |
| void | doInitFromNodesAndTerminals (Bool f) |
| activate powerflow initialization | |
| virtual void | setDirectLinearSolverConfiguration (DirectLinearSolverConfiguration &) |
| set direct linear solver configuration (only available in MNA for now) | |
| virtual void | logLUTimes () |
| log LU decomposition times, if applicable | |
| void | setMaxNumberOfIterations (int maxIterations) |
Public Member Functions inherited from CPS::AttributeList | |
| const AttributeBase::Map & | attributes () const |
| template<typename T> | |
| Attribute< T >::Ptr | create (const String &name, T intitialValue=T()) |
| template<typename T> | |
| Attribute< T >::Ptr | createDynamic (const String &name) |
| AttributeBase::Ptr | attribute (const String &name) const |
| Return pointer to an attribute. | |
| template<typename T> | |
| Attribute< T >::Ptr | attributeTyped (const String &name) const |
| Return pointer to an attribute. | |
Public Attributes | |
| const CPS::Attribute< Matrix >::Ptr | mMappedTearCurrents |
| Currents through the removed network (as "seen" from the other subnets) | |
| const CPS::Attribute< Matrix >::Ptr | mOrigLeftSideVector |
| Solutions of the split systems. | |
Public Attributes inherited from DPsim::Solver | |
| int | mMaxIterations = 10 |
Additional Inherited Members | |
Public Types inherited from DPsim::Solver | |
| enum | Behaviour { Initialization , Simulation } |
| enum class | Type { MNA , DAE , NRP } |
| typedef std::shared_ptr< Solver > | Ptr |
| typedef std::vector< Ptr > | List |
Public Types inherited from CPS::AttributeList | |
| using | Ptr = std::shared_ptr<AttributeList> |
Static Public Member Functions inherited from SharedFactory< AttributeList > | |
| static std::shared_ptr< AttributeList > | make (Args &&...args) |
Protected Attributes inherited from DPsim::Solver | |
| String | mName |
| Name for logging. | |
| CPS::Logger::Level | mLogLevel |
| Logging level. | |
| Bool | mLogSolveTimes = true |
| Collect step time for logging. | |
| CPS::Logger::Log | mSLog |
| Logger. | |
| Real | mTimeStep |
| Time step for fixed step solvers. | |
| Bool | mFrequencyParallel = false |
| Activates parallelized computation of frequencies. | |
| Real | mSteadStIniTimeLimit = 10 |
| steady state initialization time limit | |
| Real | mSteadStIniAccLimit = 0.0001 |
| steady state initialization accuracy limit | |
| Bool | mSteadyStateInit = false |
| Activates steady state initialization. | |
| Bool | mIsInInitialization = false |
| Determines if solver is in initialization phase, which requires different behavior. | |
| Bool | mInitFromNodesAndTerminals = true |
| Bool | mSystemMatrixRecomputation = false |
| Enable recomputation of system matrix during simulation. | |
| Behaviour | mBehaviour = Solver::Behaviour::Simulation |
| Solver behaviour initialization or simulation. | |
Definition at line 21 of file DiakopticsSolver.h.
| DPsim::DiakopticsSolver< VarType >::DiakopticsSolver | ( | String | name, |
| CPS::SystemTopology | system, | ||
| CPS::IdentifiedObject::List | tearComponents, | ||
| Real | timeStep, | ||
| CPS::Logger::Level | logLevel ) |
Definition at line 23 of file DiakopticsSolver.cpp.
|
overridevirtual |
Get tasks for scheduler.
Implements DPsim::Solver.
Definition at line 359 of file DiakopticsSolver.cpp.
| const CPS::Attribute<Matrix>::Ptr DPsim::DiakopticsSolver< VarType >::mMappedTearCurrents |
Currents through the removed network (as "seen" from the other subnets)
Definition at line 101 of file DiakopticsSolver.h.
| const CPS::Attribute<Matrix>::Ptr DPsim::DiakopticsSolver< VarType >::mOrigLeftSideVector |
Solutions of the split systems.
Definition at line 104 of file DiakopticsSolver.h.