Jump to content

antonio6vieira

Members
  • Posts

    107
  • Joined

  • Last visited

Everything posted by antonio6vieira

  1. Great and simple solution! Excellent explanation too! I did try to use a process property but since the option didn´t show on the execute step I gave up... This time I wrote manually and Simio accepted it. Nevertheless while I was waiting for a reply I tryed another approach: I placed all the channels in a data table and now my drivers, instead of consulting the global array (this array doesn't exist now), each of them has an array of destinies . Working very good untill now. I just hope I won't have many problems while adding the channels to the data table (dynamically) using the Simio API... Thanks again for your help!
  2. Thank you for your reply! Forgive me if I was not being clear. As I said I need to use the API to set the number of channels because I need to test (Simulation Experiences) my model with different numbers of channels (10,100,1000,10000, etc) -> I'm not going to place, connect and edit 10000++ objects... That being said, I know I can use something like "Channel1.WIP", but since I don't know the number of channels, I don't know if the driver is examining the channel1 or the channel999... The array implementation I'm using is very handy because it lets me know where a type of product is (e.g. If I want to know if product 2 is on channel 5 I only need to go to array[2,5] and see the quantity). To help clarify what I'm talking about I attached my model. The global array is the state matrix PlaceOfREF and the processes that update this array are on the processes category ChannelComunication Any ideas? I'm really having a lot of probelms with this bosch_RASM_tobias.spfx
  3. In my model I created a new model called "Channel" and placed many channels on the model. Each channel has many entities (products) that are created inside the channel and stay inside of it until another type of entity (driver) enter the channel and takes the wanted product. In model, I created an array to indicate me how many products are on each channel. To do this, I use processes: each time a new entity is created on a channel, that channel fires an event that is associated to a process of Model (1 process per 1 channel) that updates the array. So far so good... The problem is that I am going to have to use the Simio API to set the number of channels and by reading the many posts on this forum I now know that it is not possible to use it to create processes. So the approach I use (trigger processes executed by an event fired from a channel) can't be used... Could someone tell me if there's another way to know how many entities (products) are on each channel so my driver knows if he has to enter that channel or not? Thank you
  4. Hi everyone! In the project I'm developing I need something similar to what was done on the Simbit "EntityFollowsSequence". The difference is that I need to be able to change the destinations (update the contents of the sequence table) over time (the number of rows of the table can be fixed, although it would be ideal if they could be dynamically created). Could someone please explain how it would be possible to do this? My edition is NOT Enterprise. Thanks.
  5. Thanks for the reply! I thought about solution 3, but the rows of the data table are imported from excel (the number of rows is indetermined), so I can´t set the number of rows of the array. Is there any way to set the number of rows of the array while running or do I need to think of another solution?
  6. Hi everybody! Here is my problem: I have several types of products of the type string (e.g. ref123g). I need to build some kind of data structure that enables me to have on 1 column these types of product (string) and, on a second columnon, a number that could be changed over time. If anyone could give me a suggestion as how to do this I would be much appreciated.
  7. After viewing the model more carefully I was able to figure it out. Thanks anyway for the reply
  8. Great job! How did you create the CombinerNode? Is it a sub class of basic or transfer node?
  9. Could you please be more specific on how to do this workaround for other Simio versions?
  10. Hello! While trying to find answers to my problem I found this "Output table suggestion" could resolve my problem. Could someone please enlighten me as how to this for other simio versions? Thanks.
×
×
  • Create New...