Simio Forum

#### Welcome to the Simio Forum

Welcome to the Simio Forum! Experience the full experience of the forum by becoming a Simio Insider! You must be an Insider to post on any forum!

#### New Software Release

Our latest release, Simio 11, is here!

# dsroelofsen

Members

3

0 Neutral

## Converted

• OCCUPATION
Get FREE Traffic To Your Website Or Landing Pages
Get Video Views, Likes, Comments & Shares, Within Seconds
Discover The Secret To Viral Magnetic Posts On Facebook
Great For Newbies And Perfect For Experienced Marketers
FREE Big bonus at : http://facebookviralboosterreview.com/
• WEBSITE

## Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

1. ## Time dependent routing sequence

Hi guys, I'm modeling a transportation network, where a disruption occurs. During the time of the disruption, vehicles will use a different route, but as soon as the disruption is cleared, vehicles will follow the original route again. I managed to model both seperate routes, that is vehicles taking the original route and vehicles taking the detour route. However, now I want to combine these two, depending on the current time. For instance, from t=0, vehicles traverse the original route. At t=10, a disruption occurs somewhere along the original route, and the detour comes into place. Vehicles traverse the detour route from t=10 up to the moment the disruption is cleared, say t=20. From t=20 on, the original route is traversed again. I would say the easiest solution would be with a decide process somewhere, where the routing sequence is defined. So something like Run.TimeNow < 10, true --> Route sequence = Original Route. Run.TimeNow <20, true --> Route sequence = Detour Route. False, Route sequence = Original Route. However, the problem with this approach is that I cannot define the route sequence by means of an expression or process, but I have to select a static route from a list. Does anybody have a clue how to model this? Thanks in advance!
2. ## Excel Read Node Reference State variable

Hi guys, I am trying to read origins and destinations out of an Excel file. To do this, I defined a process, in which I read the Excel file using "Excel Read", in which I read the origins and destinations and write them in the Node Reference State Variables ExcelOrigin and ExcelDestination respectively. After this, I created an entity, for which I assigned the Node Reference State Variables "ModelEntity.Origin" and "ModelEntity.Destination" to the previously defined "ExcelOrigin" and "ExcelDestination". Then I want to transfer the entity from Free Space to ModelEntity.Origin and set the destination using SetNode to ModelEntity.Destination. However, upon running the model, it states that "The value 'ModelEntity.Origin' for property 'Transfer.NodeName' is a null or undefined reference". It seems that it does not read the nodes properly from the Excel file, but if I change the input in the Excel file to a random number instead of one of the nodes, it presents the error of a data error mismatch; this makes me think that it does read the Excel file and sees whether or not the input are nodes. Is reading Nodes into a Node Reference State Variable from Excel even possible? Anyone who came across the same problem or has a solution? I have included my example in the attachment. Excel Read Node Reference State variable.spfx Input.xlsx
3. ## Assigning different destinations to entities (per entity and over time)

Hi guys, I am trying to model a public transport network. As an input I have a datasheet containing the origin and destinations of passengers (per hour). As for the origins, the right amount of entities can be generated per stop using an arriving rate table. The problem for me is to assign the right destination to the right amount of passengers. For instance, 20 passengers are generated in an hour at stop A. From the input data, I know that of these 20 passengers, 7 should be assigned with destination B, 8 have a destination C and 5 have a destination D. Furthermore, I know that in the second hour, 40 passengers arrive at stop A, of which 20 are destined to stop C and 20 are destined to stop D. Several things which came up to me but seemed very devious: - Use a seperate source (and entity) for each origin-demand pair. Using the arrival rate table the difference over time can be modelled, but it is very inefficient, especially when I have 50+ stops. - Select the 'Entity Destination Type' to 'Select from List'. Define a NodeList, in which I put all the seperate destinations (so in the first hour, put in stop B 7 times, stop C 8 times and stop D 5 times), and then select randomly from the list. However, this does not seem the way to go (warning error from Simio since nodes are entered multiple times in the list), and furthermore I have no clue how to change this for the second hour. - Similar to the previous thought, use probabilities for each destination. This must be doable, however I'm not sure how, and then it probably does not match my input exactly. Still remains the problem for the second hour. I'm sure it has something to do with the SetNode process, maybe with finding a value in an input table. Anybody who can help me onto the right direction? Thanks in advance!
×

• #### Activity

• simio.com
×
• Create New...