18
0
mirror of https://github.com/MaSzyna-EU07/maszyna.git synced 2026-11-20 09:15:01 +01:00
Files
maszyna/tests/unit/test_line_contactors_interlock.cpp
jerrrrycho efe5b682f7 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)
2026-11-11 15:00:27 +01:00

11 KiB