REF: train simulation (thread)