Commit 1312c10f authored by Markus Mirz's avatar Markus Mirz
Browse files

Merge branch 'msp-adaptions' into 'master'

Msp adaptions

See merge request acs/public/simulation/dpsim!133
parents ff11c497 e557a05a
Subproject commit 96a84a5454aa60735229945dfa994d365838a988
Subproject commit 732a79cc615c5b539fba5156008a1232c358c419
......@@ -385,8 +385,9 @@ void MnaSolver<VarType>::steadyStateInitialization() {
Int timeStepCount = 0;
Real time = 0;
Real eps = 0.0001;
Real maxDiff = 0, max = 0;
Matrix diff;
Real maxDiff = 1.0;
Real max = 1.0;
Matrix diff = Matrix::Zero(2 * mNumNodes, 1);
Matrix prevLeftSideVector = Matrix::Zero(2 * mNumNodes, 1);
for (auto comp : mSystem.mComponents)
......
......@@ -229,6 +229,7 @@ void Simulation::schedule() {
mSLog->info("Scheduling tasks.");
prepSchedule();
mScheduler->createSchedule(mTasks, mTaskInEdges, mTaskOutEdges);
mSLog->info("Scheduling done.");
}
#ifdef WITH_GRAPHVIZ
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment