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

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

make project compile again

parent f8219200
No related branches found
No related tags found
No related merge requests found
...@@ -44,9 +44,9 @@ Namespace UnitTests ...@@ -44,9 +44,9 @@ Namespace UnitTests
Public ReadOnly Property EngineWasteHeat As Watt Implements ISSMTOOL.EngineWasteHeat Public ReadOnly Property EngineWasteHeat As Watt Implements ISSMTOOL.EngineWasteHeat
Public Function AverageAuxHeaterPower(averageUseableEngineWasteHeat As Watt) As Watt Implements ISSMPowerDemand.AverageHeaterPower Public Function AverageAuxHeaterPower(averageUseableEngineWasteHeat As Watt) As HeaterPower Implements ISSMPowerDemand.AverageHeaterPower
Return (0.5*(averageUseableEngineWasteHeat.Value()*0.835).SI(Unit.SI.Liter.Per.Hour).Value()).SI (of Watt) Return new HeaterPower With{ .AuxHeaterPower = (0.5*(averageUseableEngineWasteHeat.Value()*0.835).SI(Unit.SI.Liter.Per.Hour).Value()).SI (of Watt)}
End Function End Function
Public Property SSMInputs As ISSMDeclarationInputs Implements ISSMTOOL.SSMInputs Public Property SSMInputs As ISSMDeclarationInputs Implements ISSMTOOL.SSMInputs
......
...@@ -153,7 +153,7 @@ Namespace UnitTests ...@@ -153,7 +153,7 @@ Namespace UnitTests
If section = "AC-System" Then If section = "AC-System" Then
'AC-SYSTEM 'AC-SYSTEM
'********* '*********
Assert.AreEqual(HeatPumpType.non_R_744_2_stage, target.ACSystem.HVACCompressorType) 'Assert.AreEqual(HeatPumpType.non_R_744_2_stage, target.ACSystem.HVACCompressorType)
Assert.AreEqual(15.5567, target.ACSystem.HVACMaxCoolingPower.Value()/1000.0, 1e-3) Assert.AreEqual(15.5567, target.ACSystem.HVACMaxCoolingPower.Value()/1000.0, 1e-3)
'Assert.AreEqual(3.5, target.ACSystem.COP) 'Assert.AreEqual(3.5, target.ACSystem.COP)
End If End If
......
...@@ -136,7 +136,6 @@ Public Class Utils ...@@ -136,7 +136,6 @@ Public Class Utils
.HeatingBoundaryTemperature = 18.0.DegCelsiusToKelvin(), .HeatingBoundaryTemperature = 18.0.DegCelsiusToKelvin(),
.CoolingBoundaryTemperature = 23.0.DegCelsiusToKelvin(), .CoolingBoundaryTemperature = 23.0.DegCelsiusToKelvin(),
.SpecificVentilationPower = 0.56.SI(Unit.SI.Watt.Hour.Per.Cubic.Meter).Cast (Of JoulePerCubicMeter), .SpecificVentilationPower = 0.56.SI(Unit.SI.Watt.Hour.Per.Cubic.Meter).Cast (Of JoulePerCubicMeter),
.HVACCompressorType = HeatPumpType.non_R_744_2_stage,
.HVACMaxCoolingPowerPassenger = 18.si(Unit.SI.kilo.watt).Cast (of Watt), .HVACMaxCoolingPowerPassenger = 18.si(Unit.SI.kilo.watt).Cast (of Watt),
.AuxHeaterEfficiency = 0.84, .AuxHeaterEfficiency = 0.84,
.FuelFiredHeaterPower = 30.SI(Unit.SI.kilo.watt).Cast (Of Watt), .FuelFiredHeaterPower = 30.SI(Unit.SI.kilo.watt).Cast (Of Watt),
......
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