diff --git a/VECTO/GUI/BusAuxiliariesEngParametersForm.vb b/VECTO/GUI/BusAuxiliariesEngParametersForm.vb index 3f940a3a26eb6cab9fced786297cdbad6933a102..c6cc99d90a031a6ddb275c60221f1ff960044edc 100644 --- a/VECTO/GUI/BusAuxiliariesEngParametersForm.vb +++ b/VECTO/GUI/BusAuxiliariesEngParametersForm.vb @@ -199,7 +199,7 @@ Public Class BusAuxiliariesEngParametersForm tbCurrentDemandEngineOffDriving.Text = inputData.ElectricSystem.CurrentDemandEngineOffDriving.ToGUIFormat() tbCurrentDemandEngineOffStandstill.Text = inputData.ElectricSystem.CurrentDemandEngineOffStandstill.ToGUIFormat() tbDCDCEff.Text = inputData.ElectricSystem.DCDCConverterEfficiency.ToGUIFormat() - if (JobType <> VectoSimulationJobType.BatteryElectricVehicle) Then + if (JobType <> VectoSimulationJobType.BatteryElectricVehicle AndAlso JobType <> VectoSimulationJobType.IEPC_E) Then tbAlternatorEfficiency.Text = inputData.ElectricSystem.AlternatorEfficiency.ToGUIFormat() cbAlternatorTechnology.SelectedValue = inputData.ElectricSystem.AlternatorType tbMaxAlternatorPower.Text = inputData.ElectricSystem.MaxAlternatorPower.ToGUIFormat() diff --git a/VECTO/Input Files/BusParamsEngineering.vb b/VECTO/Input Files/BusParamsEngineering.vb index 0bebd1d4f986517744e9001b0c6ac7ffc02c7b4c..45884dff8b73f51f2555dadf93cebbe8c33ebdb0 100644 --- a/VECTO/Input Files/BusParamsEngineering.vb +++ b/VECTO/Input Files/BusParamsEngineering.vb @@ -131,7 +131,7 @@ Public Class BusAuxEngineeringParams Public ReadOnly Property PS_CompressorMap As TableData Implements IBusAuxPneumaticSystemEngineeringData.CompressorMap get - if JobType =VectoSimulationJobType.BatteryElectricVehicle then + if JobType =VectoSimulationJobType.BatteryElectricVehicle OrElse JobType = VectoSimulationJobType.IEPC_E then return Nothing End If if Not file.Exists(CompressorMap.FullPath) Then