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

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

adding heatpumpt driver compartment to hvac params, set to 'none' when reading primary bus segments

parent 0cb9bd6f
No related branches found
No related tags found
No related merge requests found
......@@ -78,6 +78,7 @@ Namespace UnitTests
Dim mission As New Mission With {
.BusParameter = New BusParameters() With {
.HVACConventional = New HVACParameters With {
.HeatPumpTypeDriverCompartmentCooling = HeatPumpType.none,
.HeatPumpTypePassengerCompartmentCooling = HeatPumpType.non_R_744_2_stage,
.HVACAuxHeaterPower = 30000.0.SI(Of Watt),
.HVACConfiguration = BusHVACSystemConfiguration.Configuration6
......@@ -589,6 +590,7 @@ Namespace UnitTests
.MissionType = MissionType.HeavyUrban,
.BusParameter = New BusParameters() With {
.HVACConventional = New HVACParameters() With {
.HeatPumpTypeDriverCompartmentCooling = HeatPumpType.none,
.HeatPumpTypePassengerCompartmentCooling = HeatPumpType.non_R_744_2_stage,
.HVACAuxHeaterPower = 18000.0.SI(Of Watt),
.HVACConfiguration = BusHVACSystemConfiguration.Configuration6
......
......@@ -173,7 +173,11 @@ namespace TUGraz.VectoCore.Models.Declaration
public Watt HVACAuxHeaterPower { get; internal set; }
public HeatPumpType HeatPumpTypePassengerCompartmentCooling { get; internal set; }
public HeatPumpType HeatPumpTypeDriverCompartmentCooling { get; internal set; }
public HeatPumpType HeatPumpTypeDriverCompartmentHeating { get; internal set; }
public HeatPumpType HeatPumpTypePassengerCompartmentCooling { get; internal set; }
public HeatPumpType HeatPumpTypePassengerCompartmentHeating { get; internal set; }
......
......@@ -166,6 +166,8 @@ namespace TUGraz.VectoCore.Models.Declaration
HVACConventional = new HVACParameters() {
HVACConfiguration = BusHVACSystemConfigurationHelper.Parse(row.Field<string>("hvacsystemconfiguration")),
HVACAuxHeaterPower = row.ParseDouble("hvacauxheaterconventional").SI(Unit.SI.Kilo.Watt).Cast<Watt>(),
HeatPumpTypeDriverCompartmentCooling = HeatPumpType.none,
HeatPumpTypeDriverCompartmentHeating = HeatPumpType.none,
HeatPumpTypePassengerCompartmentCooling = HeatPumpTypeHelper.Parse(row.Field<string>("heatpumpcoolingpassengerconventional")),
HeatPumpTypePassengerCompartmentHeating = HeatPumpTypeHelper.Parse(row.Field<string>("heatpumpcoolingpassengerconventional")),
HVACDoubleGlasing = row.ParseBoolean("hvacdoubleglasing"),
......@@ -176,6 +178,8 @@ namespace TUGraz.VectoCore.Models.Declaration
HVACHEV = new HVACParameters() {
HVACConfiguration = BusHVACSystemConfigurationHelper.Parse(row.Field<string>("hvacsystemconfiguration")),
HVACAuxHeaterPower = row.ParseDouble("hvacauxheaterhev").SI(Unit.SI.Kilo.Watt).Cast<Watt>(),
HeatPumpTypeDriverCompartmentCooling = HeatPumpType.none,
HeatPumpTypeDriverCompartmentHeating = HeatPumpType.none,
HeatPumpTypePassengerCompartmentCooling = HeatPumpTypeHelper.Parse(row.Field<string>("heatpumpcoolingpassengerhev")),
HeatPumpTypePassengerCompartmentHeating = HeatPumpTypeHelper.Parse(row.Field<string>("heatpumpheatingpassengerhev")),
HVACDoubleGlasing = row.ParseBoolean("hvacdoubleglasing"),
......@@ -186,6 +190,8 @@ namespace TUGraz.VectoCore.Models.Declaration
HVACPEV = new HVACParameters() {
HVACConfiguration = BusHVACSystemConfigurationHelper.Parse(row.Field<string>("hvacsystemconfiguration")),
HVACAuxHeaterPower = row.ParseDouble("hvacauxheaterpev").SI(Unit.SI.Kilo.Watt).Cast<Watt>(),
HeatPumpTypeDriverCompartmentCooling = HeatPumpType.none,
HeatPumpTypeDriverCompartmentHeating = HeatPumpType.none,
HeatPumpTypePassengerCompartmentCooling = HeatPumpTypeHelper.Parse(row.Field<string>("heatpumpcoolingpassengerpev")),
HeatPumpTypePassengerCompartmentHeating = HeatPumpTypeHelper.Parse(row.Field<string>("heatpumpheatingpassengerpev")),
HVACDoubleGlasing = row.ParseBoolean("hvacdoubleglasing"),
......
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