16
0
mirror of https://github.com/MaSzyna-EU07/maszyna.git synced 2026-07-22 02:29:17 +02:00

build 180830. minor bug fixes

This commit is contained in:
tmj-fstate
2018-08-30 20:41:44 +02:00
parent 0c062e9041
commit 1cfaaa24f6
5 changed files with 6 additions and 6 deletions

View File

@@ -250,7 +250,7 @@ double TMoverParameters::Current(double n, double U)
else
Im = MotorCurrent;
EnginePower = abs(Itot) * (1 + RList[MainCtrlActualPos].Mn) * abs(U);
EnginePower = abs(Itot) * (1 + RList[MainCtrlActualPos].Mn) * abs(U) / 1000.0;
// awarie
MotorCurrent = abs(Im); // zmienna pomocnicza