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

Skip to content
Snippets Groups Projects
Commit 3ac720bf authored by Glenn Zarb's avatar Glenn Zarb Committed by Kostis ANAGNOSTOPOULOS
Browse files

convert pre aux power to watts in aa module

parent 516d1443
No related branches found
No related tags found
No related merge requests found
...@@ -104,7 +104,7 @@ Namespace DownstreamModules ...@@ -104,7 +104,7 @@ Namespace DownstreamModules
Private ReadOnly Property Sum9 As Single Private ReadOnly Property Sum9 As Single
Get Get
Return signals.EngineDrivelineTorque + signals.PreExistingAuxPower Return signals.EngineDrivelineTorque + ((signals.PreExistingAuxPower * 1000) / Sum0(signals.EngineSpeed))
End Get End Get
End Property End Property
......
...@@ -147,13 +147,10 @@ Namespace DownstreamModules ...@@ -147,13 +147,10 @@ Namespace DownstreamModules
Public ReadOnly Property Sum2 As Single Public ReadOnly Property Sum2 As Single
Get Get
Dim returnValue As Single = (_signals.PreExistingAuxPower * 1000) + _m1.AveragePowerDemandAtCrankFromHVACMechanicalsWatts + SW1 + _m3.GetAveragePowerDemandAtCrankFromPneumatics
Dim returnValue As Single = _signals.PreExistingAuxPower + _m1.AveragePowerDemandAtCrankFromHVACMechanicalsWatts + SW1 + _m3.GetAveragePowerDemandAtCrankFromPneumatics
Return returnValue Return returnValue
End Get End Get
End Property End Property
Public ReadOnly Property Sum3 As Single Public ReadOnly Property Sum3 As Single
......
...@@ -166,7 +166,7 @@ Namespace DownstreamModules ...@@ -166,7 +166,7 @@ Namespace DownstreamModules
Private ReadOnly Property S14 As Single Private ReadOnly Property S14 As Single
Get Get
Return Signals.EngineDrivelineTorque + Signals.PreExistingAuxPower Return Signals.EngineDrivelineTorque + ((Signals.PreExistingAuxPower * 1000) / S0(Signals.EngineSpeed))
End Get End Get
End Property End Property
......
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