From 39cf76b206601484dcba92d423c28851a512f515 Mon Sep 17 00:00:00 2001
From: Markus Quaritsch <markus.quaritsch@tugraz.at>
Date: Mon, 4 Jul 2022 08:56:36 +0200
Subject: [PATCH] gui: hybrid strategy parameters - treat IEPC-S in the same
 way as serial hybrids

---
 VECTO/GUI/HybridStrategyParamsForm.vb | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/VECTO/GUI/HybridStrategyParamsForm.vb b/VECTO/GUI/HybridStrategyParamsForm.vb
index 84a77e72d1..471ac649de 100644
--- a/VECTO/GUI/HybridStrategyParamsForm.vb
+++ b/VECTO/GUI/HybridStrategyParamsForm.vb
@@ -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()
 
-- 
GitLab