Refueling seems easy to do with vanilla interrupts. What does the mod add?
Also, I want to note that you won't be able to edit the schedule if the train is in a group. Also, if any interrupts were set for the train, train.schedule = current_schedule
will erase those interrupts.