Code development platform for open source projects from the European Union institutions

Skip to content
Snippets Groups Projects
Commit 51aa1f12 authored by Harald Martini's avatar Harald Martini
Browse files

fixed bug in hybrid strategy adapter

parent 5e52ea63
No related branches found
No related tags found
No related merge requests found
......@@ -100,7 +100,7 @@ namespace TUGraz.VectoCore.InputData.Reader.DataObjectAdapter.SimulationComponen
switch (ovcMode) {
case VectoRunData.OvcHevMode.ChargeSustaining:
result.InitialSoc = tmpSystem.MinSoC + deltaSoc;
result.InitialSoc = result.MinSoC + deltaSoc;
break;
case VectoRunData.OvcHevMode.ChargeDepleting:
result.InitialSoc = (tmpSystem.MaxSoC + tmpSystem.MinSoC) / 2;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment