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

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

Pull request #14: in case of a smart PS: if in overrun but there is not enough...

Pull request #14: in case of a smart PS: if in overrun but there is not enough exessive power to provide P_on, still provide P_PS_average (instead of P_off)

Merge in VECTO/mq_vecto-dev from bugfix/VECTO-1660-simulation-aborts-for-a-p1-hybrid-with-smart-ps to dev/v0.7.9.x

* commit '19fffd16':
  in case of a smart PS: if in overrun but there is not enough exessive power to provide P_on, still provide P_PS_average (instead of P_off)
parents 776d36a2 19fffd16
No related branches found
No related tags found
No related merge requests found
......@@ -88,7 +88,7 @@ namespace TUGraz.VectoCore.Models.BusAuxiliaries.DownstreamModules.Impl
var sum17 = vc3 ? _m4.GetPowerCompressorOff() : 0.SI<Watt>();
var sum18 = vc4
? _m4.GetPowerCompressorOn() * Constants.BusAuxiliaries.PneumaticUserConfig.PneumaticOverrunUtilisation
: 0.SI<Watt>();
: vc0 ? _m3.GetAveragePowerDemandAtCrankFromPneumatics() - sum17 : 0.SI<Watt>();
var sum19 = sum17 + sum18;
_overrunFlag = vc0;
......
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