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

Skip to content
Snippets Groups Projects
Commit 866a9e5b authored by Markus QUARITSCH's avatar Markus QUARITSCH
Browse files

SP: consider tubing factor only for first steered axle

parent 442bbde8
No related branches found
Tags Build/v0.7.4.2351_Multistage
No related merge requests found
......@@ -37,7 +37,7 @@ namespace TUGraz.VectoCore.Models.Declaration {
var powerDemandTubing = (Constants.BusParameters.Auxiliaries.SteeringPump.TubingLoss * 2 *
(vehicleLength - Constants.BusParameters.Auxiliaries.SteeringPump.LengthBonus) *
Constants.BusParameters.Auxiliaries.SteeringPump.VolumeFlow).Cast<Watt>();
var tubingFactor = techLookup.TubingFactor;
var tubingFactor = i == 0 ? techLookup.TubingFactor : 0;
var axleFactor = techLookup.AxleFactor;
powerDemand += baseDemand * axleFactor + powerDemandTubing * tubingFactor;
......
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