Relief Capacity
calc_relief_capacity.Rd
Calculates required relief capacity to achieve target queue size in a given period of time as a function of demand, queue size, target queue size and time period. Relief Capacity is required if Queue Size > 2 * Target Queue Size.
Relief Capacity = Current Demand + (Queue Size - Target Queue Size)/Time Steps
WARNING!: make sure units match. I.e. if demand is measured per week then time_to_target should be weeks or if demand is per day then time_to_target is per day
Usage
calc_relief_capacity(
demand,
queue_size,
target_queue_size,
time_to_target = 26,
num_referrals = 0,
cv_demand = 0
)
Arguments
- demand
Numeric value of rate of demand in same units as target wait e.g. if target wait is weeks, then demand in units of patients/week.
- queue_size
Numeric value of current number of patients in queue.
- target_queue_size
Numeric value of desired number of patients in queue.
- time_to_target
Numeric value of desired number of time-steps to reach the target queue size by.