mirror of
https://github.com/MaSzyna-EU07/maszyna.git
synced 2026-07-22 22:09:19 +02:00
build 180830. minor bug fixes
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user