@@ -192,45 +192,67 @@ result <- model(run_number = 1L, param = param, set_seed = TRUE)
192192 ## [153] "19.8821: asu_stroke19: ⏳ ASU length of stay: 1.819"
193193
194194``` r
195- arrange( result , start_time )
195+ result
196196```
197197
198- ## name start_time end_time activity_time finished replication
199- ## 1 asu_other0 0.4473448 2.676165 2.2288198 TRUE 1
200- ## 2 asu_neuro0 0.5245442 4.171772 3.6472278 TRUE 1
201- ## 3 asu_stroke0 0.9062182 1.422308 0.5160899 TRUE 1
202- ## 4 asu_stroke1 1.1893125 5.509324 4.3200113 TRUE 1
203- ## 5 asu_other1 1.2902898 6.502389 5.2120987 TRUE 1
204- ## 6 asu_stroke2 1.9750085 12.640820 10.6658111 TRUE 1
205- ## 7 asu_stroke3 2.6540471 7.370079 4.7160317 TRUE 1
206- ## 8 asu_other2 2.7220399 6.960086 4.2380463 TRUE 1
207- ## 9 asu_neuro1 3.2678517 3.867813 0.5999612 TRUE 1
208- ## 10 asu_other3 5.9118414 9.356139 3.4442981 TRUE 1
209- ## 11 asu_other4 6.5630745 9.901922 3.3388479 TRUE 1
210- ## 12 asu_neuro2 6.7174941 NA NA FALSE 1
211- ## 13 asu_stroke4 7.4047666 11.548437 4.1436706 TRUE 1
212- ## 14 asu_stroke5 7.7291507 10.492783 2.7636327 TRUE 1
213- ## 15 asu_other5 8.9680111 9.644429 0.6764179 TRUE 1
214- ## 16 asu_stroke6 9.2809003 10.249020 0.9681194 TRUE 1
215- ## 17 rehab_stroke0 9.5062960 NA NA FALSE 1
216- ## 18 asu_stroke7 9.9287833 18.114076 8.1852931 TRUE 1
217- ## 19 asu_stroke8 10.0363922 NA NA FALSE 1
218- ## 20 asu_stroke9 10.3331093 10.844631 0.5115214 TRUE 1
219- ## 21 asu_neuro3 10.6050662 14.143857 3.5387909 TRUE 1
220- ## 22 asu_tia0 10.9892778 12.129621 1.1403433 TRUE 1
221- ## 23 asu_neuro4 13.5331919 NA NA FALSE 1
222- ## 24 asu_stroke10 13.6095765 16.845102 3.2355256 TRUE 1
223- ## 25 asu_neuro5 13.7205915 15.051997 1.3314053 TRUE 1
224- ## 26 asu_stroke11 13.8532754 NA NA FALSE 1
225- ## 27 asu_other6 13.8727452 15.859368 1.9866225 TRUE 1
226- ## 28 asu_stroke12 13.9904583 15.084152 1.0936941 TRUE 1
227- ## 29 rehab_stroke1 14.0813875 NA NA FALSE 1
228- ## 30 asu_stroke13 15.8908936 18.801468 2.9105743 TRUE 1
229- ## 31 asu_neuro6 16.6529204 NA NA FALSE 1
230- ## 32 asu_stroke14 17.1432238 NA NA FALSE 1
231- ## 33 asu_stroke15 18.1849052 NA NA FALSE 1
232- ## 34 asu_stroke16 18.3422720 NA NA FALSE 1
233- ## 35 asu_stroke17 18.8504573 NA NA FALSE 1
234- ## 36 asu_other7 19.7390660 NA NA FALSE 1
235- ## 37 asu_stroke18 19.8417499 NA NA FALSE 1
236- ## 38 asu_stroke19 19.8820623 NA NA FALSE 1
198+ ## $arrivals
199+ ## name start_time end_time activity_time resource replication
200+ ## 1 asu_stroke0 0.9062182 1.422308 0.5160899 asu_bed 1
201+ ## 2 asu_other0 0.4473448 2.676165 2.2288198 asu_bed 1
202+ ## 3 asu_neuro1 3.2678517 3.867813 0.5999612 asu_bed 1
203+ ## 4 asu_neuro0 0.5245442 4.171772 3.6472278 asu_bed 1
204+ ## 5 asu_stroke1 1.1893125 5.509324 4.3200113 asu_bed 1
205+ ## 6 asu_other1 1.2902898 6.502389 5.2120987 asu_bed 1
206+ ## 7 asu_other2 2.7220399 6.960086 4.2380463 asu_bed 1
207+ ## 8 asu_stroke3 2.6540471 7.370079 4.7160317 asu_bed 1
208+ ## 9 asu_neuro2 6.7174941 8.388190 1.6706957 asu_bed 1
209+ ## 10 asu_other3 5.9118414 9.356139 3.4442981 asu_bed 1
210+ ## 11 asu_other5 8.9680111 9.644429 0.6764179 asu_bed 1
211+ ## 12 asu_other4 6.5630745 9.901922 3.3388479 asu_bed 1
212+ ## 13 asu_stroke6 9.2809003 10.249020 0.9681194 asu_bed 1
213+ ## 14 asu_stroke5 7.7291507 10.492783 2.7636327 asu_bed 1
214+ ## 15 asu_stroke9 10.3331093 10.844631 0.5115214 asu_bed 1
215+ ## 16 asu_stroke4 7.4047666 11.548437 4.1436706 asu_bed 1
216+ ## 17 asu_tia0 10.9892778 12.129621 1.1403433 asu_bed 1
217+ ## 18 asu_stroke2 1.9750085 12.640820 10.6658111 asu_bed 1
218+ ## 19 asu_stroke7 9.9287833 13.332754 3.4039708 asu_bed 1
219+ ## 20 asu_neuro3 10.6050662 14.143857 3.5387909 asu_bed 1
220+ ## 21 asu_neuro5 13.7205915 15.051997 1.3314053 asu_bed 1
221+ ## 22 asu_stroke12 13.9904583 15.084152 1.0936941 asu_bed 1
222+ ## 23 asu_other6 13.8727452 15.859368 1.9866225 asu_bed 1
223+ ## 24 asu_neuro4 13.5331919 16.712850 3.1796580 asu_bed 1
224+ ## 25 asu_stroke10 13.6095765 16.845102 3.2355256 asu_bed 1
225+ ## 26 asu_stroke7 13.3327542 18.114076 4.7813223 rehab_bed 1
226+ ## 27 asu_stroke13 15.8908936 18.801468 2.9105743 asu_bed 1
227+ ## 28 asu_stroke19 19.8820623 NA NA asu_bed 1
228+ ## 29 asu_stroke18 19.8417499 NA NA asu_bed 1
229+ ## 30 asu_stroke16 18.3422720 NA NA asu_bed 1
230+ ## 31 asu_stroke15 18.1849052 NA NA asu_bed 1
231+ ## 32 asu_stroke11 13.8532754 NA NA asu_bed 1
232+ ## 33 asu_neuro4 13.5331919 NA NA asu_bed 1
233+ ## 34 asu_neuro4 16.7128499 NA NA rehab_bed 1
234+ ## 35 asu_stroke8 10.0363922 NA NA asu_bed 1
235+ ## 36 asu_stroke14 17.1432238 NA NA asu_bed 1
236+ ## 37 asu_neuro2 6.7174941 NA NA asu_bed 1
237+ ## 38 asu_neuro2 8.3881898 NA NA rehab_bed 1
238+ ## 39 asu_other7 19.7390660 NA NA asu_bed 1
239+ ## 40 rehab_stroke0 9.5062960 NA NA rehab_bed 1
240+ ## 41 asu_stroke17 18.8504573 NA NA asu_bed 1
241+ ## 42 asu_neuro6 16.6529204 NA NA asu_bed 1
242+ ## 43 rehab_stroke1 14.0813875 NA NA rehab_bed 1
243+ ##
244+ ## $occupancy
245+ ## # A tibble: 42 × 3
246+ ## resource time occupancy
247+ ## <fct> <int> <int>
248+ ## 1 asu_bed 0 0
249+ ## 2 rehab_bed 0 0
250+ ## 3 asu_bed 1 3
251+ ## 4 rehab_bed 1 0
252+ ## 5 asu_bed 2 5
253+ ## 6 rehab_bed 2 0
254+ ## 7 asu_bed 3 6
255+ ## 8 rehab_bed 3 0
256+ ## 9 asu_bed 4 6
257+ ## 10 rehab_bed 4 0
258+ ## # ℹ 32 more rows
0 commit comments