The derailed option selects trains that have derailed. For example: @train[derailed=1] or @train[derailed=true]
derailed
@train[derailed=1]
@train[derailed=true]