mirror of
https://github.com/MaSzyna-EU07/maszyna.git
synced 2026-11-28 16:12:05 +01:00
A dead locomotive or unit in somebody else's train (hook and brake hose, coupling 3) brakes the train today (MaSzyna-EU07/maszyna#64): - one with the emergency brake of an inactive cab (InactiveCabFlag bit 1: of the test vehicles the Vectron, Dragon, Elf, Impuls and EN57AKL) vents the brake pipe for as long as it is in the train, since its cab is never activated. Behind an EU07 the pipe is empty in two seconds and stays so, - the spring brake applies once the feed pipe of the vehicle, which is its own main reservoir, falls below MinFP: at once without air, and within 20 minutes of a cold start as the reservoir leaks down (EU47: 0.077 bar a minute, from 4.4 bar). TMoverParameters::PulleeMode, set with PulleeModeSwitch(), is the vehicle prepared for hauling. In the mode it: - vents the brake pipe for nothing of its own (inactive cab, vigilance and cab signalling, radio-stop, the spring brake of SpringBrakeDriveEmergencyVel); the alarm chain, which a train parting sets, still does, - gets no force from its spring brake, whatever air its cylinder has, - has its driver's valve cut out and its local brake released, whatever the handles show. The distributor stays on the brake pipe: it brakes and releases with the train, - keeps its battery off and takes no cab: BatterySwitch(true) and CabActivisation() are refused, and the BatterySwitch and CabActivisation commands of a train's driver pass through it. Entering the mode lets go of the hand brake and of the spring brake switch and switches the battery off; a vehicle with an active cab can't enter it. Leaving it gives the controls back and the spring brake as its cylinder has it. Nothing sets the mode yet, and a vehicle not in it does what it did. Refs MaSzyna-EU07/maszyna#64