alive.core.resource.impatient_pool@1.1.0
Impatient staffed pool
Where it applies
conditional workflow scenario; illustrative world. Domains: core. Populations: synthetic.
Not for
- empirical forecasts or claims about real systems
Assumptions
- One queue across the pool's steps: lowest class priority first, then earliest joined; non-preemptive.
- Service takes positive time, so an item never leaves in the instant it arrives (no zero-delay loops through the pool).
- Shift changes never interrupt service; when fewer are on duty, busy staff finish first.
- Breaks reduce staff on duty for their window; staff finish their current item first.
- Each waiting item abandons when its own patience runs out; once in service it stays.
- A change during the run to servers, shifts or breaks (a scenario disturbance) takes effect at the time of the change: the number on duty is recomputed then. When it drops below the number busy, nobody is interrupted: items in service finish their drawn service time and no waiting item starts until the number busy is below the number on duty. Waiting items keep their patience clocks.
- A change to priorities during the run re-ranks the items waiting at that moment under the new priorities (ties still by earliest joined); items in service are not affected.
Failure conditions
- Inputs outside the declared parameter ranges.
- A change during the run that cannot be read (the run stops with a message).
- Settings where staff going off duty hand work over, are interrupted, or stay late under a rule other than finishing the item in hand.
Limitations
- No evidence assessed; draft passport from the authoring kit.
Parameters
| Name | Default | Provenance |
|---|---|---|
serversStaff on duty when no shifts are given (and the most on duty). May change during the run. | 2 servers | synthetic assumption Illustrative synthetic value; not measured or predictive. |
service_time0Service time at slot 0, drawn once per item and visit (keyed). | exponential(mean=300) seconds | synthetic assumption Illustrative synthetic value; not measured or predictive. |
service_time1Service time at slot 1, drawn once per item and visit (keyed). | exponential(mean=300) seconds | synthetic assumption Illustrative synthetic value; not measured or predictive. |
service_time2Service time at slot 2, drawn once per item and visit (keyed). | exponential(mean=300) seconds | synthetic assumption Illustrative synthetic value; not measured or predictive. |
service_time3Service time at slot 3, drawn once per item and visit (keyed). | exponential(mean=300) seconds | synthetic assumption Illustrative synthetic value; not measured or predictive. |
service_time4Service time at slot 4, drawn once per item and visit (keyed). | exponential(mean=300) seconds | synthetic assumption Illustrative synthetic value; not measured or predictive. |
service_time5Service time at slot 5, drawn once per item and visit (keyed). | exponential(mean=300) seconds | synthetic assumption Illustrative synthetic value; not measured or predictive. |
service_time6Service time at slot 6, drawn once per item and visit (keyed). | exponential(mean=300) seconds | synthetic assumption Illustrative synthetic value; not measured or predictive. |
service_time7Service time at slot 7, drawn once per item and visit (keyed). | exponential(mean=300) seconds | synthetic assumption Illustrative synthetic value; not measured or predictive. |
shiftsStaff on duty by time of day, e.g. '0-8:5,8-24:4'; empty means servers always. May change during the run. | synthetic assumption Illustrative synthetic value; not measured or predictive. | |
breaksBreaks: staff off duty within windows, "start-end:count" repeating daily ("12-13:2" takes two off from 12:00 to 13:00); empty means none. May change during the run. | synthetic assumption Illustrative synthetic value; not measured or predictive. | |
prioritiesClass priorities, e.g. 'urgent:0,routine:1' (lower first); others are 0. May change during the run. | synthetic assumption Illustrative synthetic value; not measured or predictive. | |
patience0Patience of an item waiting at slot 0 before it abandons, drawn once per item and arrival (keyed). | exponential(mean=600) seconds | synthetic assumption Illustrative synthetic value; not measured or predictive. |
patience1Patience of an item waiting at slot 1 before it abandons, drawn once per item and arrival (keyed). | exponential(mean=600) seconds | synthetic assumption Illustrative synthetic value; not measured or predictive. |
patience2Patience of an item waiting at slot 2 before it abandons, drawn once per item and arrival (keyed). | exponential(mean=600) seconds | synthetic assumption Illustrative synthetic value; not measured or predictive. |
patience3Patience of an item waiting at slot 3 before it abandons, drawn once per item and arrival (keyed). | exponential(mean=600) seconds | synthetic assumption Illustrative synthetic value; not measured or predictive. |
patience4Patience of an item waiting at slot 4 before it abandons, drawn once per item and arrival (keyed). | exponential(mean=600) seconds | synthetic assumption Illustrative synthetic value; not measured or predictive. |
patience5Patience of an item waiting at slot 5 before it abandons, drawn once per item and arrival (keyed). | exponential(mean=600) seconds | synthetic assumption Illustrative synthetic value; not measured or predictive. |
patience6Patience of an item waiting at slot 6 before it abandons, drawn once per item and arrival (keyed). | exponential(mean=600) seconds | synthetic assumption Illustrative synthetic value; not measured or predictive. |
patience7Patience of an item waiting at slot 7 before it abandons, drawn once per item and arrival (keyed). | exponential(mean=600) seconds | synthetic assumption Illustrative synthetic value; not measured or predictive. |