Gro.Bi, on 10 September 2021 - 08:08 AM, said:
#maxunits: The strange fact is that #maxunits;2 seems to have no effect, as all 4 trains starting in the pool are stored on one storage path, even though it obviously exceeds the capacity of the siding.
That's exactly why #maxunits was introduced.
Quote
for which OR version is the line
#maxunits intended? I found it on the Internet
https://open-rails.r...turntable-pools but I'm afraid it might be unsuitable for my currently used 1.3.4 version.
To be honest I have no idea when exactly this was introduced. The problem is that my own 'home' version has very little relation to any of the online versions, so I cannot check the version I am using.
Quote
is it obligatory to use callon in pools?
Many signal systems do not allow AI trains to move into occupied track. If that is the situation here, pools just won't work.
The reason is that most signals always check on
block_state() ==# BLOCK_CLEAR. As said, that prevents AI trains to move into occupied track.
The complex way to solve this is indeed to use TRAINHASCALLON(), which is always true if the route leads into a pool.
The easy way: for the route leading into the pool, replace
block_state() ==# BLOCK_CLEAR by
block_state() !=# BLOCK_JN_OBSTRUCTED. This will allow access to the occupied siding unconditionally, but it is very unlikely that any other train except those heading into the pool will be set to run into those sidings.
Ofcourse, if the same type of signal is used all over the place, or if there is no specific route setting for these sidings, things get quite complicated. In that case, placing a 'dummy' signal (type NORMAL otherwise it won't work) at the entry to the siding which is always clear could also do the trick but that can sometimes lead to problems.
Regards,
Rob Roeterdink