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

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

Merge branch...

Merge branch 'feature/VECTO-1638-rundatafactories-and-declarationdataadapter-for-xev' of https://citnet.tech.ec.europa.eu/CITnet/stash/scm/vecto/hm_vecto-dev into feature/VECTO-1638-rundatafactories-and-declarationdataadapter-for-xev
parents 2954b75d 189ba1ed
No related branches found
No related tags found
No related merge requests found
......@@ -46,6 +46,7 @@ Imports TUGraz.VectoCommon.Resources
Imports TUGraz.VectoCommon.Utils
Imports TUGraz.VectoCore
Imports TUGraz.VectoCore.InputData.FileIO.XML
Imports TUGraz.VectoCore.InputData.Reader.DataObjectAdapter.SimulationComponents
Imports TUGraz.VectoCore.Models.Simulation
Imports TUGraz.VectoCore.Models.Simulation.Data
Imports TUGraz.VectoCore.Models.Simulation.Impl.SimulatorFactory
......@@ -1060,14 +1061,20 @@ lbFound:
Dim initSOC = Double.Parse(tbInitSOCinPercent.Text) / 100
If(runData.HybridStrategyParameters IsNot Nothing)
runData.HybridStrategyParameters.InitialSoc = initSOC
runData.HybridStrategyParameters.TargetSoC = initSOC - 1
runData.HybridStrategyParameters.TargetSoC = initSOC - 0.01
End If
If(runData.BatteryData IsNot Nothing)
runData.BatteryData.InitialSoc = initSOC
End If
If(runData.SuperCapData IsNot Nothing)
runData.SuperCapData.InitialSoC = initSOC
End If
End If
runData.IterativeRunStrategy.Enabled = Not cbCSIteratingModeDeactivated.Checked
......
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