Base class for more specific solvers such as MNA, ODE or IDA.
More...
#include <Solver.h>
|
enum | Behaviour { Initialization
, Simulation
} |
|
enum class | Type { MNA
, DAE
, NRP
} |
|
typedef std::shared_ptr< Solver > | Ptr |
|
typedef std::vector< Ptr > | List |
|
Base class for more specific solvers such as MNA, ODE or IDA.
Definition at line 30 of file Solver.h.
◆ List
typedef std::vector<Ptr> DPsim::Solver::List |
◆ Ptr
typedef std::shared_ptr<Solver> DPsim::Solver::Ptr |
◆ Behaviour
enum DPsim::Solver::Behaviour |
◆ Type
Solver types: Modified Nodal Analysis, Differential Algebraic, Newton Raphson
Definition at line 80 of file Solver.h.
◆ Solver()
DPsim::Solver::Solver |
( |
String | name, |
|
|
CPS::Logger::Level | logLevel ) |
|
inline |
◆ ~Solver()
virtual DPsim::Solver::~Solver |
( |
| ) |
|
|
inlinevirtual |
◆ doFrequencyParallelization()
void DPsim::Solver::doFrequencyParallelization |
( |
Bool | freqParallel | ) |
|
|
inline |
◆ doInitFromNodesAndTerminals()
void DPsim::Solver::doInitFromNodesAndTerminals |
( |
Bool | f | ) |
|
|
inline |
activate powerflow initialization
Definition at line 108 of file Solver.h.
◆ doSteadyStateInit()
void DPsim::Solver::doSteadyStateInit |
( |
Bool | f | ) |
|
|
inline |
activate steady state initialization
Definition at line 100 of file Solver.h.
◆ doSystemMatrixRecomputation()
void DPsim::Solver::doSystemMatrixRecomputation |
( |
Bool | value | ) |
|
|
inline |
◆ getTasks()
virtual CPS::Task::List DPsim::Solver::getTasks |
( |
| ) |
|
|
pure virtual |
◆ initialize()
virtual void DPsim::Solver::initialize |
( |
| ) |
|
|
inlinevirtual |
◆ log()
virtual void DPsim::Solver::log |
( |
Real | time, |
|
|
Int | timeStepCount ) |
|
inlinevirtual |
◆ logLUTimes()
virtual void DPsim::Solver::logLUTimes |
( |
| ) |
|
|
inlinevirtual |
◆ setDirectLinearSolverConfiguration()
◆ setLogSolveTimes()
void DPsim::Solver::setLogSolveTimes |
( |
Bool | value | ) |
|
|
inline |
◆ setMaxNumberOfIterations()
void DPsim::Solver::setMaxNumberOfIterations |
( |
int | maxIterations | ) |
|
|
inline |
◆ setSolverAndComponentBehaviour()
virtual void DPsim::Solver::setSolverAndComponentBehaviour |
( |
Solver::Behaviour | behaviour | ) |
|
|
inlinevirtual |
set solver and component to initialization or simulation behaviour
Reimplemented in DPsim::PFSolver.
Definition at line 106 of file Solver.h.
◆ setSteadStIniAccLimit()
void DPsim::Solver::setSteadStIniAccLimit |
( |
Real | v | ) |
|
|
inline |
set steady state initialization accuracy limit
Definition at line 104 of file Solver.h.
◆ setSteadStIniTimeLimit()
void DPsim::Solver::setSteadStIniTimeLimit |
( |
Real | v | ) |
|
|
inline |
set steady state initialization time limit
Definition at line 102 of file Solver.h.
◆ setSystem()
◆ setTimeStep()
void DPsim::Solver::setTimeStep |
( |
Real | timeStep | ) |
|
|
inline |
◆ mBehaviour
Behaviour DPsim::Solver::mBehaviour = Solver::Behaviour::Simulation |
|
protected |
Solver behaviour initialization or simulation.
Definition at line 67 of file Solver.h.
◆ mFrequencyParallel
Bool DPsim::Solver::mFrequencyParallel = false |
|
protected |
Activates parallelized computation of frequencies.
Definition at line 49 of file Solver.h.
◆ mInitFromNodesAndTerminals
Bool DPsim::Solver::mInitFromNodesAndTerminals = true |
|
protected |
Activates powerflow initialization If this is false, all voltages are initialized with zero
Definition at line 62 of file Solver.h.
◆ mIsInInitialization
Bool DPsim::Solver::mIsInInitialization = false |
|
protected |
Determines if solver is in initialization phase, which requires different behavior.
Definition at line 59 of file Solver.h.
◆ mLogLevel
CPS::Logger::Level DPsim::Solver::mLogLevel |
|
protected |
Logging level.
Definition at line 41 of file Solver.h.
◆ mLogSolveTimes
Bool DPsim::Solver::mLogSolveTimes = true |
|
protected |
Collect step time for logging.
Definition at line 43 of file Solver.h.
◆ mMaxIterations
int DPsim::Solver::mMaxIterations = 10 |
◆ mName
String DPsim::Solver::mName |
|
protected |
Name for logging.
Definition at line 39 of file Solver.h.
◆ mSLog
CPS::Logger::Log DPsim::Solver::mSLog |
|
protected |
◆ mSteadStIniAccLimit
Real DPsim::Solver::mSteadStIniAccLimit = 0.0001 |
|
protected |
steady state initialization accuracy limit
Definition at line 55 of file Solver.h.
◆ mSteadStIniTimeLimit
Real DPsim::Solver::mSteadStIniTimeLimit = 10 |
|
protected |
steady state initialization time limit
Definition at line 53 of file Solver.h.
◆ mSteadyStateInit
Bool DPsim::Solver::mSteadyStateInit = false |
|
protected |
Activates steady state initialization.
Definition at line 57 of file Solver.h.
◆ mSystemMatrixRecomputation
Bool DPsim::Solver::mSystemMatrixRecomputation = false |
|
protected |
Enable recomputation of system matrix during simulation.
Definition at line 64 of file Solver.h.
◆ mTimeStep
Real DPsim::Solver::mTimeStep |
|
protected |
Time step for fixed step solvers.
Definition at line 47 of file Solver.h.
The documentation for this class was generated from the following file:
- /__w/dpsim/dpsim/dpsim/include/dpsim/Solver.h