Skip to contents

Sweeps finite_source_queue() over truck counts to show the classic saturation curve: production rises with fleet size, then flattens as queueing (bunching) consumes every extra truck.

Usage

queue_curve(max_trucks, n_shovels, cycle_min, load_min, payload_t = 100)

Arguments

max_trucks

Largest fleet size to evaluate.

n_shovels

Number of identical loading units (c >= 1).

cycle_min

Mean truck back-cycle time in minutes (haul + dump + return + spot), excluding loading and queueing.

load_min

Mean loading (service) time in minutes.

payload_t

Truck payload in tonnes (used for production KPIs). Default 100.

Value

A data.frame with one row per fleet size and columns n_trucks, prod_tph, queue_min, shovel_util, bunching_eff, match_factor, marginal_tph (production gained by the last truck).

Examples

curve <- queue_curve(max_trucks = 12, n_shovels = 2,
                     cycle_min = 18, load_min = 3)
head(curve)
#>   n_trucks  prod_tph  queue_min shovel_util bunching_eff match_factor
#> 1        1  285.7143 0.00000000  0.07142857    1.0000000   0.07142857
#> 2        2  571.4286 0.00000000  0.14285714    1.0000000   0.14285714
#> 3        3  855.8952 0.03061224  0.21397380    0.9985444   0.21428571
#> 4        4 1137.8882 0.09170306  0.28447205    0.9956522   0.28571429
#> 5        5 1416.1316 0.18447205  0.35403290    0.9912921   0.35714286
#> 6        6 1689.2389 0.31137303  0.42230972    0.9853893   0.42857143
#>   marginal_tph
#> 1     285.7143
#> 2     285.7143
#> 3     284.4666
#> 4     281.9930
#> 5     278.2434
#> 6     273.1073