From 866a9e5b13ba57aaa7208eff9e8928f42273e824 Mon Sep 17 00:00:00 2001
From: Markus Quaritsch <markus.quaritsch@tugraz.at>
Date: Fri, 22 May 2020 08:35:18 +0200
Subject: [PATCH] SP: consider tubing factor only for first steered axle

---
 VectoCore/VectoCore/Models/Declaration/SteeringPumpBus.cs | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/VectoCore/VectoCore/Models/Declaration/SteeringPumpBus.cs b/VectoCore/VectoCore/Models/Declaration/SteeringPumpBus.cs
index abd714d99c..3da8514f46 100644
--- a/VectoCore/VectoCore/Models/Declaration/SteeringPumpBus.cs
+++ b/VectoCore/VectoCore/Models/Declaration/SteeringPumpBus.cs
@@ -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;
-- 
GitLab