neto7912 Posted June 30, 2014 Share Posted June 30, 2014 Hello, I'm creating a model with different entities, and I want each entity to follow its own rate table. I created the Data Table (called "PatientData") that lists several properties such as mix, service times, priority, and Rate Table. I also created the 8 Rate tables (1 for each type of entity) and entered each one on the Data Table under the Rate Table column accordingly. On my main source, I set the relevant properties as follows: Entity Arrival Logic Entity Type: PatientData.PatientType Arrival Mode: Time Varying Arrival Rate Rate Table: PatientData.RateTable Rate Scale Factor: 1.0 Entities per arrival: 1 When I run the model, I get an Error at 0:00 with the following information: Item: Source'MainEntr' Item Property: Rate Table A runtime error was detected at time 0.0 hours. Error evaluating the value of property 'Rate Table'. Invalid data table reference PatientData. There might be a really easy fix, but I can't seem to find what I'm doing wrong. I was following the same way I'm used to calling columns from table. Thanks for the help! Link to comment Share on other sites More sharing options...
dsturrock Posted July 1, 2014 Share Posted July 1, 2014 A single source object can only reference a single rate table. To have entities created according to different rate tables you must use multiple source objects. Link to comment Share on other sites More sharing options...
neto7912 Posted July 1, 2014 Author Share Posted July 1, 2014 OK, thank you for clearing that out for me Link to comment Share on other sites More sharing options...
Recommended Posts