Jump to content
Simio Forum

fpeschiera

Members
  • Content Count

    9
  • Joined

  • Last visited

Community Reputation

0 Neutral

About fpeschiera

Converted

  • OCCUPATION
    Insurance
  • ICQ
    164686347
  • LOCATION
    Taiwan
  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. 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
×