Skip to content

Commit

Permalink
log domain on simulation init
Browse files Browse the repository at this point in the history
Signed-off-by: Jonas Schroeder <[email protected]>
  • Loading branch information
JTS22 committed Jul 24, 2023
1 parent 4a0c9e0 commit 83ce14f
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions dpsim/src/Simulation.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -69,14 +69,20 @@ void Simulation::initialize() {
switch (mDomain) {
case Domain::SP:
// Treat SP as DP
SPDLOG_LOGGER_INFO(mLog, "Created simulation in SP domain.");
createSolvers<Complex>();
break;
case Domain::DP:
SPDLOG_LOGGER_INFO(mLog, "Created simulation in DP domain.");
createSolvers<Complex>();
break;
case Domain::EMT:
SPDLOG_LOGGER_INFO(mLog, "Created simulation in EMT domain.");
createSolvers<Real>();
break;
}


mTime = 0;
mTimeStepCount = 0;

Expand Down

0 comments on commit 83ce14f

Please sign in to comment.