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

git-tfs-id: [http://tfs00.element.root.com:8080/tfs/TFSCollection]$/VECTO;C2041
parent 516d1443
No related branches found
No related tags found
No related merge requests found
......@@ -104,7 +104,7 @@ Namespace DownstreamModules
Private ReadOnly Property Sum9 As Single
Get
Return signals.EngineDrivelineTorque + signals.PreExistingAuxPower
Return signals.EngineDrivelineTorque + ((signals.PreExistingAuxPower * 1000) / Sum0(signals.EngineSpeed))
End Get
End Property
......
......@@ -147,13 +147,10 @@ Namespace DownstreamModules
Public ReadOnly Property Sum2 As Single
Get
Dim returnValue As Single = _signals.PreExistingAuxPower + _m1.AveragePowerDemandAtCrankFromHVACMechanicalsWatts + SW1 + _m3.GetAveragePowerDemandAtCrankFromPneumatics
Dim returnValue As Single = (_signals.PreExistingAuxPower * 1000) + _m1.AveragePowerDemandAtCrankFromHVACMechanicalsWatts + SW1 + _m3.GetAveragePowerDemandAtCrankFromPneumatics
Return returnValue
End Get
End Property
Public ReadOnly Property Sum3 As Single
......
......@@ -166,7 +166,7 @@ Namespace DownstreamModules
Private ReadOnly Property S14 As Single
Get
Return Signals.EngineDrivelineTorque + Signals.PreExistingAuxPower
Return Signals.EngineDrivelineTorque + ((Signals.PreExistingAuxPower * 1000) / S0(Signals.EngineSpeed))
End Get
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