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

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

Setting Heatpumps when loading input file

parent 69e23931
No related branches found
No related tags found
No related merge requests found
......@@ -555,10 +555,18 @@ namespace VECTO3GUI2020.ViewModel.MultiStage.Implementation
SystemConfiguration = componentsAuxiliaryInputData.HVACAux?.SystemConfiguration;
HeatPumpTypeDriverCompartment = componentsAuxiliaryInputData.HVACAux?.HeatPumpTypeDriverCompartment;
HeatPumpModeDriverCompartment = componentsAuxiliaryInputData.HVACAux?.HeatPumpModeDriverCompartment;
//HeatPumpTypePassengerCompartment = componentsAuxiliaryInputData.HVACAux?.HeatPumpTypePassengerCompartment;
//HeatPumpModePassengerCompartment = componentsAuxiliaryInputData.HVACAux?.HeatPumpModePassengerCompartment;
PassengerHeatPumps.Clear();
if (componentsAuxiliaryInputData.HVACAux?.HeatPumpPassengerCompartments != null) {
foreach (var (heatPumpType, heatPumpMode) in componentsAuxiliaryInputData.HVACAux?.HeatPumpPassengerCompartments)
{
PassengerHeatPumps.Add(new HeatPumpConfiguration() {
HeatPumpType = heatPumpType,
HeatPumpMode = heatPumpMode
});
}
}
AuxHeaterPower = componentsAuxiliaryInputData.HVACAux?.AuxHeaterPower;
DoubleGlazing = componentsAuxiliaryInputData.HVACAux?.DoubleGlazing;
......
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