Jump to content

Search the Community

Showing results for 'create entities on event'.

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


Forums

  • Simio Public Forums
    • Welcome and How To Become a Simio Insider
    • Simio News and Announcements
    • Simio Product Details
    • Simio-Related Positions Desired or Positions Available
    • Help Getting Started with Simio
  • Forums for Simio Insiders Only (See Public Forums Welcome topic to sign up)
    • SI General Discussions
    • SI Sprint Releases
    • SI Shared Items
    • SI Ideas and Suggestions
    • SI Known Issues and Workarounds
    • SI Performance Tips
    • SI Non-US Cultures
    • SI Student Competition
    • SI Educational
    • SI Libraries and Objects
    • SI Animation and Visualization
    • SI Distributions, Functions, and Expressions
    • SI Simio Tabs
    • SI Experimentation and Optimization
    • SI Functional Approaches
    • SI Industries / Domains
    • SI Types of Simulation
    • SI Emulation
    • SI API

Categories

  • Files
    • Academic Information
    • Product Information
    • Case Studies

Find results in...

Find results that contain...


Date Created

  • Start

    End


Last Updated

  • Start

    End


Filter by number of...

Joined

  • Start

    End


Group


About Me


First Name


Last Name


Company/University Name


OCCUPATION


ICQ


WEBSITE


YAHOO


AOL


LOCATION


FACEBOOK


GOOGLEPLUS


SKYPE


TWITTER


YOUTUBE

Found 14 results

  1. Hello, In my model I’ve made entity arrival mode to be On event and I’ve created an event named CommandeEvent in the Definition ==>event section. In order to action the event, I’ve created a process called ProcessEvent in which I have a decide step followed by a fire step that fire the CommandeEvent if the condition in the Decide step is respected. But when I run the model, the entities are not created. Is there something I should do differently or add ? Thank you, Flora
  2. Hi George, I know the normal ways, to create an entity from a table are: 1) Use a timer with the date/time table for a trigger for a own process or 2) A source with the arrival table option. If you want to create entities, maybe you can make a loop process like GFurtado with an Read-Step/Excel-Step and then you can use the Create-Step of Simio. Then you can check with an Decide-Step "TimeNow >= value" for example and create your Entity. With this option you can use FastForward too. With an lower delay time it is near the real time. Maybe this could be a solution for your problem. Because, then you dont need a third party tool to click on import. I checked the Simio API and I dont find something about a trigger for the Simio buttons or a button click event, what we can use for the problem. It would be nice, if there is an API to "use" the button click processes. For example, to import one or all tables again. Maybe a professional Simio API developer know more and can write here. Have a nice day! Best regards Pascal
  3. Hi Nico, I haven't tried this out, so I can't guarantee this to work, but you could specify a Timer that goes off every 7.2 seconds. Additionally, you'd create a process that runs on the triggering event with the name of that Timer. This process Assigns a new value of 1 to Schranke1...Schranke6.CurrentCapacity. I'm unsure whether a delay is required for the entities to move through the system, but I'd try adding a Delay of Math.Epsilon after this Assign step, to ensure they do. Then, with a new Assign step, change the CurrentCapacity of Schranke 1 through 6 back to 0. You may have to change the Initial capacity of all your gates to 0 in the Facility window. Also, make sure you change the Off Shift Rule to finish work that has already started, on all your gates. Hope this works. Tom
  4. In the source of my model, I would like to generate arrival events by looking through row by row of a given table. However, I only want to create the 2nd arrival event when all the entities of the created by the first arrival event has moved beyond a certain point, where Globalstatevalue = 0. So in my process flow, I did something like this:When the globalstatevalue = 0, I want to go to the next row of my table and generate the 2nd arrival. I did this my fire an event The setting at my source: Arrival Mode: On event Triggering Event Name: name of event that I fired in the process flow. I managed to get the initial arrival to make sure that the Globalstatevalue = 0. condition is reached. However, the 2nd event is not triggerd at all and the CurrentRowNumber is not incremented as well. May I have some advice please? Thank you
  5. Hi gocken Its a model-level(i.e global state variable. For example, initially the value of currentrownumber is 1. It is used to make reference to the first row of a data table to create a particular number of entities as the first arrival event. After the created entities of the first arrival event reached some downstream workstation in the model, the Keep Track Population global state variable is set to zero. Then at this point, I want to create a second arrival event by referencing to the second row in the data table. I do this by incrementing the gobal state variable currentrownumber by 1 and fire an event right after. I would like to use this event to trigger the second arrival by making reference to the second row in the data table. In my model, i would like to continue generating the next arrival events by referring to each row of a data table from row 1 to the final row. Hope this clarifies my question. Thank you very much!
  6. 1) Depending on how the entity is created in the first place, that assignment may already have been made. So, for example, if the table includes the arrival time and is used as an arrival table within a Source (Arrival Mode is set to 'Arrival Table'), then the entity that is created automatically has a row reference to the arrival table row from which it was created. Alternatively, if you create an entity, you can use the SetRow step to assign it a specific row in a specific table. ** The entity doesn't ever become a token ** Please refer to the Tokens page and the Tokens and Entities page within Simio help for more information. Tokens can be associated with entities (or with a model if a process is triggered by a timer, event, etc.) 2) If the entity has a row reference within a data table, simply referring to the TableName.ColumnName to access the table information is sufficient. This will automatically retrieve the information in the TableName table, ColumnName column at the designated row that the entity has a reference. If the entity doesn't have a reference within that table, Simio will give an error if you attempt to refer to the data in that fashion. Alternatively, you could reference a TableName[RowNumber].ColumnName to specifically reference a given RowNumber. Refer to Data Tables page within Simio help for more information.
  7. If you mean that an entity should not advance to the next location unless it is available: Try using Node Lists when routing entities to the next location. Lists automatically block the entity from moving forward if the destination server is not available. 1. Create a node list in Definitions>Lists 2. Set the input and output buffers to 0 on your servers 3. On the output nodes, set Entity destination type to "Select From List" and choose the node list. If you mean you have a group entities that are processing at different servers and none in that group can advance until all are processed: Use a Wait step and event. After each entity finishes, trigger the wait step to wait for an event. After the last entity finishes, fire the Event. You will probably also use a Decide step to separate the non-last entities (wait for event) from the last entity (fire event).
  8. Hello! I'm having problems with the WAIT process. I'm modelling trucks who brings pallets. This trucks must be heavy at the server "weighing". Later, It goes to a separate, where the truck goes to the sink1. And the separate create 3 copies of pallets entities. This pallets must be heave at the server "weighingPallets" and finally go to the sink2. My problem is that i just can have one truck with his pallets (3 pallets) after the server "weighing". After the truck and his pallets go to them sinks, the next truck can advance. I create several process. 2 to count the quantity (trucks and pallets), 1 to fire the event "WAIT" and 1 to wait until the condition "QuantityPallets > 0 && QuantityTruck > 0". Please someone help me with this. I don't know what else to do. wait.spfx
  9. Hey, I am modeling a system that has a large number of stations (e.g. 50). I created a Data Table with as Element column related to my Stations. I am transferring entities from a Source (and later from a Node) to the Stations and therefore I need to End Transfer. I would like to do this "automatically". That is, I don't want to create 50 processes where the triggering event is StationName.Entered I was trying to use the information from my Data Table: TableName[RowNumberRelatedToStation].ColumnNameOfStationElement.Entered I had a status label for: TableName[RowNumberRelatedToStation].ColumnNameOfTheStation. And this is actually showing the name of my Stations correctly. However, TableName[RowNumberRelatedToStation].ColumnNameOfTheStation.Entered is not working to trigger my Process to End Transfer. My guess is that Simio is converting the information into String and not Element and, hence, it does not recognize that Station.Entered happened. Any ideas if this should work or how can I make it work? Also, any other idea about how to End Transfer automatically are welcome. I have a solution that work, but I think it is an "ugly" one. So, I thought about asking if you may have a better solution.
  10. OK I resolve half of my problem. I decide to put a combiner where 1 parent wait to have 6 membre to batch and process. Now, I have some problems when I want to stop temporary my source. I tried to create a process at Source_CreatingEntities , but I think I don't write well my conditions for the decide steps. The Process goes like this Begins------Decide---(true)------Decide--(true)----Wait-----End | | | (false) | (false) ---- ------ The first Decide, I want to be true when there is 3 entities waiting at the member input link : MemberInput@Combiner1.NumberTravelers>=3 The second Decide, I want to be true when my combiner is processing : Combiner1.Capacity.Allocated>=1 The wait step is a event that is fire when the combiner finish processing the batch Can you tell me how to write well the condition for the decide steps ? Thanks
  11. I have a problem with the source arrival mode.For the source "Arrival Mode" i want to use "On Event". So for "Triggering Event" i have 3 options. Object@Entered, Object@Exited and Object@CapacityChanged. So in my model source A is delivering something to sink B. And every time the entity from source A entered sink B a new entity should be created. So i used "Input@SinkB.Exited" and "Input@SinkB.Entered", i tried both. Because i don't really know if there is a huge difference. I guess the exited will create an entity as soon as the one entity left the system through the sink and the entered as soon as the entity enters the sink. But please correct me if i am wrong. So anyhow my problem is now, that the Source is creating more entities as it should. It creates entities even if now entity entered the connected sink. Maybe you guys can help me why that doesn't work as it should be.
  12. Hello All, I have a single Sources that makes 3 different types of parent entities. When these entities exit their first Server through the transfer node, 3 other Sources randomly create Uniform(1,4) of a New type of member entities. I have changed the priority of the member entities, with a on exit add on process, to be equal to the event number of this happening which matches up with the parent Entities with the same priority. With in the Combiner, I have the matching rule of 'Match Members and Parents' and both Member and Parent expressions of 'Entity.Priority'. I am still pretty new to Simio but can someone please help with why this might not be working?? Both types of Entities just build up in their respective input queues at the combiner and never combine. Please help, thanks! David
  13. 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
  14. Once again thank you for your replay. It's a very helpful input. However I dont understand couple of things. I am already using tables for my model. Please look at the example: So I want my system to do the following. OrderSource create an Order Entity(ArrivalTable.PO) based on ArrivalTable.StartDate, as soon as it gets to the sink it fires the RealseOrder event. Triggered by this event MaterialSource will create a coresponding material entity(MaterialTable.MatType), which will be transported to the Server(ArrivalTable.WorkStation). Server will create entities(add-on process with create step) in a quantity corresponding to ArrivalTable.Volume and ModelEntityType corresponding to ArrivalTable.ProductType(string). Each processed unit will arrive to a server which will batch units to specified quantity. Batched units will be waiting for an operator to pack them and place into container(server?). When container is full it's picked up by a vehicle and transported to inventory. I have most of it already modeled. However I am having problems with assigning correct rows. I've added RowNumber real state for ModelEntity and I've tried to assign it on MaterialSource on the StateAssignment Source property but something still doesnt work. What am I doing wrong? Edit: I have solved the problem with a RowNumber assignment. Thanks a lot for help, finally it creates a volume corresponding to correct row in a table. Now I am struggling with entity.type(i created new string state variable) problem. When I am trying to do as you have explained Im getting en error saying "Error assigning state variable ModelEntity.Type . Data type mismatch, state is string type but the new value to be assigned is of type NUMBER" I used assign step ModelEntity.Type to be changed to Model.Entity.Type == MyTable.ProductType and i get that error even though ProductType column is a string property...
×
×
  • Create New...