You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/Guides/batching.rst
+39-1Lines changed: 39 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -46,6 +46,44 @@ Note:
46
46
+ :code:`Empirical`
47
47
+ :code:`Custom`
48
48
+ :code:`Sequential`
49
+
+ :code:`TimeDependent`
49
50
+ If the keyword :code:`Batching_distributions` is omitted, then no batching is assumed. That is only one customer arrives at a time. Equivalent to :code:`['Deterministic', 1]`.
50
51
+ If some nodes/customer classes require no batching, but others do, please use :code:`['Deterministic', 1]`.
51
-
+ Batch arrivals may lead to :ref:`simultaneous events <simultaneous_events>`, please take care.
52
+
+ Batch arrivals may lead to :ref:`simultaneous events <simultaneous_events>`, please take care.
53
+
54
+
55
+
---------------------------------
56
+
How to Set Time Dependent Batches
57
+
---------------------------------
58
+
59
+
Ciw allows batching distributions to be time dependent.
60
+
That is the batch size, the number of customers arriving simultaneously, is sampled from a distribution that varies with time.
61
+
62
+
Let's show an example, we wish to have batch sizes of 2 for the first 10 time units, but batch sizes of 1 thereafter.
Copy file name to clipboardExpand all lines: docs/Guides/time_dependent.rst
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -4,7 +4,7 @@
4
4
How to Define Time Dependent Distributions
5
5
==========================================
6
6
7
-
In Ciw we can get a time dependent distribution, that is a service time or inter-arrival time distribution that changes as the simulation time progresses.
7
+
In Ciw we can get a time dependent distribution, that is a service time, inter-arrival time, or batching distribution that changes as the simulation time progresses.
8
8
In order to do this a time dependent function, that returns a sampled time, must be defined.
0 commit comments