From a2ae1ac0ca5afe7f6136018e12345ddd52cd81fa Mon Sep 17 00:00:00 2001
From: Raphael Luz <luz@ivt.tugraz.at>
Date: Thu, 14 Aug 2014 10:54:58 +0200
Subject: [PATCH] * Fixed bug that caused engine power > full load

---
 CHANGES.md              | 2 ++
 VECTO/MODcalc/cPower.vb | 2 +-
 2 files changed, 3 insertions(+), 1 deletion(-)

diff --git a/CHANGES.md b/CHANGES.md
index 86f9273335..eeacd373b0 100644
--- a/CHANGES.md
+++ b/CHANGES.md
@@ -8,6 +8,8 @@
 * Various bugfixes in AT model
 * rdyn validation
 * Fixed bug in map interpolation
+* Added ..\Developer Guide\Segment Table Description.xlsx
+* Fixed bug that caused engine power > full load
 
 ### VECTO 2.0.4-beta
 * AT update for 1C2C gearboxes
diff --git a/VECTO/MODcalc/cPower.vb b/VECTO/MODcalc/cPower.vb
index 4e80f0fcf3..963c0d5ab9 100644
--- a/VECTO/MODcalc/cPower.vb
+++ b/VECTO/MODcalc/cPower.vb
@@ -1112,7 +1112,7 @@ lb_nOK:
             If VECTOworker.CancellationPending Then Return True
 
             'Check whether P above Full-load => Reduce Speed
-            If Pplus And P > Pmax Then
+            If P > Pmax Then
                 If EngState0 = tEngState.Load Or EngState0 = tEngState.FullLoad Then
                     If Vact > 0.01 Then
                         Vh.ReduceSpeed(jz, 0.9999)
-- 
GitLab