For this problem I added another work schedule as shown below:
By right clicking on Work Schedule under “Process Logic” I set a referenced property, which I named VarSchedule. Within the experiment I created a new scenario and added the new Inspection Schedule. My results of the experiment were as follows:
Because the objective was set to minimize and the results were subset and nothing was shaded light brown, I take this to mean that neither mean was found to be statistically significant at the 95% confidence level.
For this problem I added a BasicNode between the Inspection and Rework Servers to test whether the entity had been processed three times or not (Expression: ModelEntity.TimesProcessed == 3), allowing it to pass on to the Rework server if it did not meet than condition.
I created a new integer state variable which I named 3rdFail, created the process to tally within that state variable and created a second BasicNode to keep track of how many entities pass through it on the third fail.
By right clicking on Work Schedule under “Process Logic”" I could set a referenced property, which I named VarSchedule. Within the experiment I created a new scenario and added the new Inspection Schedule. My results of the experiment were as follows:
With 50 replications, I found on average that there were approximately 125 entities that failed 3 times and as shown above no entities were processed more than 3 times.
Using expressions like those on page 173, using 50 replications of a simulation of 30 days, we have numbers that approximate the part allocation in the book of 38%, 33, and 29%.
I created a number of tables, including data and sequence tables, as was done in this Simio tutorial: https://www.youtube.com/watch?v=0teGLoa_UkM
In my case I created two seperate sources to keep faxes and customer arrivals independent (this may or may not be the right choice) and created seperate sequence tables and data tables as a result.
I am not sure why my Time for a fax perscription would be longer than one when someone is a walk in. The person who walks in has two lines to wait for, while the fax should go right to the pharmacy queue. Seems like there must be an error there.