7.4 Monitoring and data retrieval
There are three methods for obtaining monitored data about arrivals, resources and attributes. They can be applied to a single simulation environment or to a list of environments, and the returning object is always a data frame.
get_mon_arrivals()
: Returns timing information per arrival:name
of the arrival,start_time
,end_time
,activity_time
(time not spent in resource queues) and a flag,finished
, that indicates whether the arrival exhausted its activities (or was rejected). By default, this information is referred to the arrivals’ entire lifetime, but it may be obtained on a per-resource basis by specifyingper_resource = TRUE
.get_mon_resources()
: Returns state changes in resources.get_mon_attributes()
: Returns state changes in attributes.