ATTENTION

This FlexSim Community Forum is read-only. Please post any new questions, ideas, or discussions to our new community (we call it Answers) at https://answers.flexsim.com/. Our new Question & Answer site brings a modern, mobile-friendly interface and more focus on getting answers quickly. There are a few differences between how our new Q&A community works vs. a classic, threaded-conversation-style forum like the one below, so be sure to read our Answers Best Practices.


flexsim.com

Go Back   FlexSim Community Forum > FlexSim Healthcare (HC) > FlexSim HC: Q&A
FAQ Downloads Calendar Search Mark Forums Read

FlexSim HC: Q&A Questions about FlexSim Healthcare

Reply
 
Thread Tools Display Modes
  #1  
Old 11-09-2015
Kelvin Heide
Guest
 
Posts: n/a
Downloads: 0
Uploads: 0
Question Problem with hourly arrival

In my model I use different patient arrivals, one of them is the "aankomsthelikopter".
In this patient arrival I use the hourly arrival table like in the attachment.
With this table it will not 'give' patients the complete runtime, it will stop at a random time.

If I add a 1 on a random place in the hourly arrival table it will 'give' patient the whole time, but with this adjustment my patient throughput is not right.
How can I fix this so it will give patients the whole time without adding a 1 in the table.
Attached Thumbnails
Click image for larger version

Name:	Hourly Arrival.jpg
Views:	584
Size:	542.7 KB
ID:	3094  
Reply With Quote
  #2  
Old 11-11-2015
Cliff King's Avatar
Cliff King Cliff King is offline
Vice President Technical Services
 
Join Date: Jul 2007
Location: Utah
Posts: 272
Downloads: 158
Uploads: 14
Thanks: 102
Thanked 304 Times in 110 Posts
Rep Power: 408
Cliff King has much to be proud ofCliff King has much to be proud ofCliff King has much to be proud ofCliff King has much to be proud ofCliff King has much to be proud ofCliff King has much to be proud ofCliff King has much to be proud ofCliff King has much to be proud ofCliff King has much to be proud of
Default

I'm assuming you are running the model for multiple weeks, and you're discovering that for some weeks there is not a single helicopter arriving, and that when a zero arrival week occurs, the model stop, correct?

Based on the distributions you're using to define the arrivals within each hour of a given week, it is not a surprise that some weeks do not have a single arrival. Well, this is a problem with the way the Hourly Arrival table works. It depends upon at least one arrival within the week to create the event for the start of the next week.

I suggest you use the Custom Arrivals Table. This is the ultimate arrival schedule. You have total freedom to specify whatever time period you want your arrivals to occur within (you're not forced to an hour period). Each row in the table can specify a different time period, different number of arrivals and a different PCI. The time periods defined in the various rows of the table can overlap and do not need to be organized chronologically! Because you get to specify the time interval between repetitive start times for the table (doesn't need to be a weekly time interval), you have total flexibility in defining your arrivals, and you will not run into the problem you're experiencing now with small number distributions possibly stopping the model when no arrivals occur within a set repeat interval. You also won't need to carry so many decimal numbers in the definition of your distributions hopefully.

By the way, why are you using poisson(0)? It's my understanding that this will always return 0, so you might as well just type 0.

Incidentally if you ever use a non-discrete distribution to define the number of patients arriving within an hour of the Hourly Arrival table, keep in mind that rounding does NOT occur. Instead, the value returned by the continuous distribution will simply be truncated down to the nearest integer. You may need to round and cap at zero like this:

maxof(0, round( normal(5,1), 0))
Reply With Quote
The Following 2 Users Say Thank You to Cliff King For This Useful Post:
Anna Lisa Dierking (11-12-2015), Kelvin Heide (12-01-2015)
  #3  
Old 12-01-2015
Kelvin Heide
Guest
 
Posts: n/a
Downloads: 0
Uploads: 0
Default

Thank you Cliff King.
The Custom Arrival Table fixed my problem!
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is On

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Normal distribution in Hourly Arrivals (PatientArrival) Kelvin Heide FlexSim HC: Q&A 3 10-22-2015 02:44 AM
Arrival trigger in NN fires twice Katharina Muller Q&A 1 11-11-2013 01:55 AM
Problem with Hourly Arrivals and stoparrivals() Pablo Concha FlexSim HC: Q&A 3 07-30-2013 08:32 AM
About Gate Arrival pattern(distribution). zhang xin Container Terminal (CT) Library 2 11-26-2009 03:53 PM
Arrival schedule Source Nico Zahn Q&A 3 12-15-2008 04:23 AM


All times are GMT -6. The time now is 11:55 PM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2019, vBulletin Solutions Inc.
Copyright 1993-2018 FlexSim Software Products, Inc.