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

Skip to content
Snippets Groups Projects
Commit 39cf76b2 authored by Markus Quaritsch's avatar Markus Quaritsch
Browse files

gui: hybrid strategy parameters - treat IEPC-S in the same way as serial hybrids

parent 6a8f80e7
No related branches found
No related tags found
No related merge requests found
......@@ -133,6 +133,7 @@ Public Class HybridStrategyParamsForm
pnCostFactorSoCExponent.Enabled = True
pnGenset.Enabled = False
Case VectoSimulationJobType.SerialHybridVehicle
case VectoSimulationJobType.IEPC_S
pnEquivFactor.Enabled = False
pnEquivFactorCharge.Enabled = False
pnMinSoC.Enabled = True
......@@ -193,6 +194,7 @@ Public Class HybridStrategyParamsForm
tbCostFactorSoCExponent.Text = If(Double.IsNaN(strategyParams.CostFactorSOCExpponent), 5, strategyParams.CostFactorSOCExpponent).ToGUIFormat()
Case VectoSimulationJobType.SerialHybridVehicle
Case VectoSimulationJobType.IEPC_S
tbMinSoC.Text = (strategyParams.MinSoC * 100).ToGUIFormat()
tbTargetSoC.Text = (strategyParams.TargetSoC * 100).ToGUIFormat()
......
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