Jump to content

It is possible to create entities following a table and assigning the service time and sequence for each one?


PJHURTADO
 Share

Recommended Posts

Hi all!, would you help me with this?
 
I want to do a discrete simulation of the current situation in a Hospital in the inpatient unit. I have the data of one year of patients, (over 18,000 people) and I want to use that data in the simulation. That would make more easy to model the server processing times, while we will use the real server times and sequences that each patient had, instead to use probabilities and distributions for the sequence and server times respectively.
 
So, I created a table where each row represent a patient with a sequence (which bed he was assigned due to his level of acuity) and the time that he spent in that bed before he was dispatched. The are more times involve, but we can focus in those parameters to have it more simple. So, the table have the patient name (entity) ,bed (sequence) and Length of Stay in the bed (server processing time). 
 
I don't know if is possible that when I create each entity, I can assign, based on that table, the sequence and the server processing time for each patient. How I can do that?
 
Thanks for your time and help
 
 
Link to comment
Share on other sites

Define incoming patients' admission to hospital dates as a "DateTime" Property in your table. And  set "Arrival Mode" of Source object as "Arrival Table". Then, set arrival Time Property as "DateTime" property you defined. This will provide creating entities according to their admission to hospital times. 

Link to comment
Share on other sites

×
×
  • Create New...