18
0
mirror of https://github.com/MaSzyna-EU07/maszyna.git synced 2026-11-24 18:59:16 +01:00

fix: line contactors interlocked with speed-started blowers close at a standstill

With LineContactorsInterlock=MotorBlowers the line contactors waited for
every motor blower to run. A blower with MotorBlowersStartVelocity starts
only with the vehicle moving and the motors drawing current, so standing it
never ran, the contactors never closed, no current flowed and the vehicle
couldn't start at all; the same after a stop longer than
MotorBlowersSustainTime.

- For a blower with a start velocity the interlock now asks whether it is
  switched on and has power (not switched off, switched on where the driver
  starts it, its power source present), instead of whether it runs. Blowers
  without a start velocity still have to run.
- The power source of a blower (battery: 24 V, converter: 110 V, else the
  main circuit) is one function, MotorBlowerPowerIsAvailable(), used by
  MotorBlowersCheck() and the interlock. None of the three needs the line
  contactors closed: the battery and the converter run before them, and the
  main circuit is the line breaker they need anyway.

(eu07/maszyna#460)
This commit is contained in:
jerrrrycho
2026-11-11 15:00:27 +01:00
parent 6f519436de
commit efe5b682f7
3 changed files with 200 additions and 4 deletions

View File

@@ -2688,6 +2688,8 @@ class TMoverParameters
void FuelPumpCheck(double const Timestep);
void OilPumpCheck(double const Timestep);
void MotorBlowersCheck(double const Timestep);
// whether the circuit a traction motor blower runs off has power: the battery, the converter or the main circuit, by its start type
bool MotorBlowerPowerIsAvailable(cooling_fan const &Blower) const;
void PantographsCheck(double const Timestep);
void LightsCheck(double const Timestep);
bool FuseOn(range_t const Notify = range_t::consist); // bezpiecznik nadamiary