I am modelling a production system and all orders are moved via AGVs. At certain times during the simulation model, I would like to log the utlization and driven distance of each agv into a dataset.
When I try to add AGV.getUtilization()
to my dataset I get the error: Cannot make a static reference to the non-static method getUtilization() from the type AGV
.
Now I am a little lost.