I have a simulation that can last multiple weeks with a timetable configured as well.
From the total amount of simulation time, I need to substract the off shift time to know the number of days or hours or minutes producing.
It is a simulation involving multiple processors working in parallel or in series, so I cannot get the info from processors stats or whatever. Besides there is logistics flows within moving items, etc.
I just need to get the total amount of time from start to end of simulation according to timetable.