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

feat: interlock the line contactors with the section fans, own-converter lamp (eu07/maszyna#460)

On the ET42 the fans of each section run off that section's converter: the
section fan switch of the cab is bound to converterlocal_sw. The line
contactors of a section with its fans switched off must not close.

- New optional Cntrl. key LineContactorsInterlock=Converter|MotorBlowers.
  MotorConnectorsCheck() then also needs the vehicle's own converter
  (ConverterFlag, not the trainset's shared 110 V), or all its motor
  blowers, running. It is checked per vehicle, so only that section stays
  off, and switching the fans off on the way opens its contactors. Without
  the key nothing changes.
- New optional lamp i-converteraoff:, lit while the converter of the
  vehicle with the cab is off. i-converteroff: follows the shared 110 V, so
  with one ET42 section's fans off it stayed dark. i-converterboff: already
  covers the other section.

SVN data, to change once this is released (old data works as before):
- dynamic/pkp/et42_v2/112e-a.fiz, 112e-b.fiz: LineContactorsInterlock=Converter
  in the Cntrl. line.
- dynamic/pkp/et42_v2/112e-a.mmd.inc, 112e-b.mmd.inc:
  i-converter: nadm_przetw -> i-converteraoff: nadm_przetw,
  i-converterb: nadm_przetw_b -> i-converterboff: nadm_przetw_b,
  i-compressor: sprezarka -> i-compressoroff: sprezarka,
  i-compressorb: sprezarka_b -> i-compressorboff: sprezarka_b
  (the compressor "off" lamps already light with the compressor switched off
  or stopped by its pressure governor).

(eu07/maszyna#460)
This commit is contained in:
jerrrrycho
2026-11-07 20:36:25 +01:00
parent 939e42b611
commit f34f912b38
5 changed files with 150 additions and 1 deletions

View File

@@ -709,6 +709,7 @@ public: // reszta może by?publiczna
TButton btLampkaNadmPrzetw;
TButton btLampkaPrzetw;
TButton btLampkaPrzetwOff;
TButton btLampkaPrzetwAOff; // the converter of this very unit off, where the trainset shares its 110 V (ET42 section fans)
TButton btLampkaPrzekRozn; // TODO: implement
TButton btLampkaPrzekRoznPom; // TODO: implement
TButton btLampkaNadmSil;