for record the WIP you can use the inheritance of the MUs. The class knows the number of MUs in the model
<MU>.numChildren; you can use a TimeSequence to record the WIP:
interval: e.g. one hour
Then you can use a end-sim method to calculate the min,max and mean value. All this functions provides the TimeSequence e.g.
You need to delete the contents of the timeSequence in a init-method at the start of an experiment:
freelance simulation specialist
the timeSequence is an Information Flow object which can record values .
with the recorded values during simulation you can run the statistics at the end of the simulation