Jump to content
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!

Click_Here_button.png

New Software Release

Our latest release, Simio 11, is here!

fpeschiera

Members
  • Content Count

    9
  • Joined

  • Last visited

Everything posted by fpeschiera

  1. Sorry to bring an old post but I think we are having a behavior similar to the explained here: We have test this with Simio 106. We have a data table being read from Excel. This specific table has 3 columns: node_in, node_out and probability (with the two first being keys). In Simio we plan to use the table in the following way: Every time an entity arrives at node "node_in" we want to assign the entity a destination taken from "node_out" with the probability "probability", this will be stored in the entity "node_in" for later use. Our main problem is that we do not understand how to do this query. We have used the "randomRow" function before to pick a random row from a table with just one key but we have not arrived to mix this with a "search" function to get a subset of the rows with the correct "node_in" before doing the randomRow. Our Search step (that executes inside the "node_in") has the following content: Match condition: Data.node_in==currentnode Search Expression: Data.probability.RandomRow As a test, we assigned the probability of 100 for a given row but Simio returns all (any) rows in the search step. any help is greatly appreciated.
  2. Thanks both for the feedback. I think our problem is caused by the fact the our links are not "on scale". We have done this to avoid having very long (and boring) pieces of rail in our model. Your aproach works only when everything is on scale, as far as I know. So, our links and trains have all the correct lengths but the graphical distance does not correspond to the property. Is there a way to still take advantage of these triggers in nodes when working without graphical scaling? On a related question: is there a way to give as input the lengths of the links from external sources? So far, we can only modify them inside Simio and we would like to tie them to a data table read from csv/ excel. thanks again!
  3. Hello everyone, I am modelling a train going through stations and pieces of track. At some point, I need to trigger some logic when the trains "finishes to pass through a certain point". This means: when the tail of the train has just passed a node. There are other situations need to be addressed that would be easier to do having this reference, for example: to calculate distances between tails and heads of consecutive trains. One way is to use the length and the heads position (which is known) to do calculations. But I was wondering if there was a more elegant solution. So, it would be very nice to hear feedback regarding: 1. The possibility to get the position of the tail of the train and use it to trigger events and calculate distances. 2. An alternative way to solve these particular problems I am having. thanks in advance.
  4. Good day to everyone, We are building our first complex simio models right now. We are having problems with units in one of our models, specifically with speed units. When we open simio, we have a standard unit for speed (km/h for example). When we change the unit in an object's properties (e.g. a transporter's MovementRate) to, for example to "m/s", the change is not saved and we continue to have the object with the standard units (km/h). Shouldn't simio internally manage all the different units regardless of not being exactly the same for all objects? Maybe it is something we are doing wrong... How do units are taken into account and compared inside a simio model? thanks!
  5. Hello everyone, This question has probably been answered before but i could not find any post making mention. I would like to know if it is possible to edit the position (x, y, z) of a given object via some kind of procedure or using some state to govern these values. Specifically, we would like to assign specific coordinates to nodes in a graph (so we know for example all links are scaled correctly with their size) and we would like to get the positions of the nodes from an external data source (Excel, .txt files). We would only touch these values at the beginning of the simulation (as initialization). thanks
×
×
  • Create New...