get_capacity: Get Resource Parameters

View source: R/simmer-methods.R

get_capacityR Documentation

Get Resource Parameters

Description

Getters for resources: server capacity/count and queue size/count, seized amount, activity time, and selected resources.

Usage

get_capacity(.env, resources)

get_capacity_selected(.env, id = 0)

get_queue_size(.env, resources)

get_queue_size_selected(.env, id = 0)

get_server_count(.env, resources)

get_server_count_selected(.env, id = 0)

get_queue_count(.env, resources)

get_queue_count_selected(.env, id = 0)

get_seized(.env, resources)

get_seized_selected(.env, id = 0)

get_activity_time(.env, resources)

get_activity_time_selected(.env, id = 0)

get_selected(.env, id = 0)

Arguments

.env

the simulation environment.

resources

one or more resource names.

id

selection identifier for nested usage.

Details

If no resources are provided to get_activity_time, the overall activity time is reported.

Value

Return a vector (character for get_selected, numeric for the rest of them).

See Also

get_resources, set_capacity, set_queue_size, seize, timeout.


Bart6114/simmer documentation built on Oct. 2, 2024, 4:52 p.m.