mirror of
https://github.com/MaSzyna-EU07/maszyna.git
synced 2026-07-22 18:39:18 +02:00
Merge remote-tracking branch 'youby/master' into sim
This commit is contained in:
@@ -2203,8 +2203,8 @@ void TMoverParameters::MotorBlowersCheck( double const Timestep ) {
|
||||
// activation check
|
||||
for( auto &blower : MotorBlowers ) {
|
||||
auto disable = blower.is_disabled;
|
||||
auto const start { ( Vel >= blower.min_start_velocity && Im > 0.5 ) };
|
||||
auto const stop { ( Vel < 0.5 && Im < 0.5 ) };
|
||||
auto const start { ( Vel >= blower.min_start_velocity && std::abs(Im) > 0.5 ) };
|
||||
auto const stop { ( Vel < 0.5 && std::abs(Im) < 0.5 ) };
|
||||
if (blower.min_start_velocity >= 0)
|
||||
{
|
||||
if ( stop )
|
||||
|
||||
Reference in New Issue
Block a user