Code development platform for open source projects from the European Union institutions :large_blue_circle: EU Login authentication by SMS has been phased out. To see alternatives please check here

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

set supercap to initSOC, targetSoc = initSOC - 0.01

parent 3a0518ca
Branches
Tags
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.
Please register or to comment