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!

All Activity

This stream auto-updates     

  1. Today
  2. I've attached a small model that demonstrated a very simple example of the behavior you're after. The entities divert in only 1 dimension (X). The entities periodically recheck (every second) whether they've crossed a defined X threshold. When they cross the threshold they divert in the Y direction in either a positive or negative direction (using Random.Discrete) and then resume course towards the destination. Hope this is helpful. Lucas. Free Space Diversion.spfx
  3. Yesterday
  4. I don't see that option in my right-click menu... see screenshot
  5. Hello, in general it sounds like your approach is good. You could use either an Object Reference State Variable or String State Variable (called something like 'WhichServer'), defined on ModelEntity, depending on the expression you use to make the assignment. For instance, with an Object Reference State Variable you could use 'ModelEntity.Location.Parent.Server'. With a String State Variable you would use 'ModelEntity.Location.Parent.Server.Name'. In terms of timing, you could make the assignment really anytime the ModelEntity is in the Server. You might use the Servers' On Entering State Assignments for example. Then somewhere downstream, perhaps the Entered Add-On Process at a Sink, you could use Add Row and Assign steps to populate the Output Table. Again, just be mindful to make the column types (Object Reference State Variable or String State Variable) match up with the assignments you are making. For instance you might have a String State Variable column named 'Entity' and, in the Add-On Process at the Sink, you assign 'OutputTable1.Entity' the New Value of 'ModelEntity.Name'. Then you could have an Object Reference State Variable column named 'Server' and in the same process assign 'OutputTable1.Server' the New Value 'ModelEntity.WhichServer' (since it is also an Object Reference State Variable). The result will be a list of each ModelEntity (Name) and the Server that processed it. Hope this helps! Adam
  6. Last week
  7. Ok! Seems like i figured it out: The left model was Copy-pasted form another file and the model entity it used wasn't the one you can see on the top right of the screenshot (previous post), i had to convert all model entities from the left model to the one on the file (highlighted below), this is also why i had the error "Specified name was not found" from the previous post as the model couldn't find the variable from the model entities it was using. Once done i could create a state variable on the ModelEntity1's definition tab and read that value on any model using "ModelEntity1.NameOfTheVariable".
  8. Hello everyone, First time here! I'm trying to combine 2 different models in the same file, the model on the left will create the model entities (colored dots below the model) and send them to the model on the right through the node OUT2, then, on the right model, the vehicle will pick the entity and decide its destination depending on the type of entity, the issue here is that the right model can't identify the entity as it's created on another model and will be called "Model1.Entity" instead of "Entity", i don't know how to ignore the "Model1."part. I've tried to use model entity's state variables, hoping to be able to read them with the expression "ModelEntity.NameOfVariable", but i can't seem to assign values as it says that "Specified name was not found". Fusing both models in the same model it's not an option as i want to be able to make different configurations. Thanks! CONFIGURADOR.spfx
  9. I tried to do the same thing but with sequence task in a server
  10. Right click on conveyor click "change ending note" and left click on whichever node you want.
  11. Wondering this myself. Has anyone solved this in the past 2 years?
  12. Earlier
  13. Well, I seem to have made some progress. I realized I was trying to sort the contents of the station incorrectly. When I started using the "Contents Ranking Rule" the entities in the storage queue lined up correctly. I then found that I could assign a string Element Reference Element state variable "ElRef" to TestStation.Contents.ItemAtIndex(CycleCounter ) where TestStation is the name of my station with a storage queue. This returns a reference to the entity at wherever the cycle counter is at for example, it might find "entity.27" for the current reference. This is where I get a bit confused. I was able to then search the storage queue for TestStation.Contents.ItemAtIndex( CycleCounter)==ElRef. This is the only way I could figure out how to access the existing state values of the entity with reference "entity.27" or whatever as it would be guaranteed to exit the found branch. From that point I believe I can test the states of the found entity to see if it is a good fit to enter the system. If not I can increment the CycleCounter if there are more to check in the prioritized storage queue. My sense is this "should work". But it does not seem as efficient as one might like. I am curious if there might be a more direct way to access the entity's attributes without the search step. Thanks, Jim
  14. Hi All, I am attempting to model a triage logic where I want to periodically, sequentially search the contents of a storage queue associated with a station and test the availability of resources to handle processing it. If the resources are not available in the system, I would like to move to the next entity in the queue and test it until all the current queue has been examined. The goal is to sequentially walk the queue organized by priority using the lowest value first of a state variable on the entities. Is there a suggested "best" way to approach this sort of problem? Essentially I want to do a loop to examine entities in a storage queue and transfer the best one with a match to available resources. I tried using a search based on index but ran into an error getting the state values of the entity and also seem to have challenges sorting the storage queue correctly. I would be grateful if someone has a basic example of such a sequential search. Thanks Very Much, Jim
  15. Hi All, I have a query. Is there a way to implement logic that allows the model to vary the processing time of a server as a function of the available man power? In my model I have various servers and all need a specific number of workers in order to begin processing. I have one large pool of workers to be shared between all stations. This means that there are times when all the workers are in use and times when some are spare. Ideally I would like to model that when there are men spare they would come and help other stations and get the job done quicker or when only some of the required quota of workers are seized they can start the work all be it at slower pace until the full quota has been seized. I hope this makes sense Thanks
  16. Good day, We are currently looking for graduates located in Singapore for an internship with a Large Multinational firm. Please email resumes to mark@realdigitaltwins.com should you be interested. No previous experience required, yet will be an advantage. Mark
  17. Hello Can simio use time series data (say from an excel file) as cost input for servers, that updates every hour?
  18. Hi, first my english it not to good. Why does the brightness of the object change for diferents views? I would like to have the same brightness in 3d view as in 2d. How could i solve it? Look the screenshots
  19. Add a state in your report using the State Statistic element. If you need that each server report its own state, it's best to create a custom server and add a State Statistic element inside it. Check the attached model for reference. State on report.spfx
  20. Hello to everyone, How can I add final value to the result statistic for each server? Thank you in advance and best regards
  21. Any ideas on how to model a no-fly zone? Specifically, I have vehicles that represent aircraft and use free space only. But, these aircraft need to avoid certain areas or no-fly zones. Is there a way to allow a vehicle to run in free space only, but not go in certain areas? Any thoughts would be greatly appreciated!!
  22. Is it possible to run stored procedures directly from simio? I have seen that there is the DbExecute step that I can use to run an SQL-statement. Is there something similar for stored procedures?
  23. In that picture yes most of them were closed (tanks 2-4 have a 0 next to them). I did find that the monitor wasn't triggering correct and fixed that so it gets a little further but now stops at this point with the flow nodes all open: I do have a an execute system flush step that gets executed to enable all the flow nodes. I will continue to go through the model trace to see if I can find something in there.
  24. Why won't they empty? Are the nodes closed? If you have a process that opens the flow nodes, try triggering this process with an Execute step.
  25. Thank you Gustavo, that works great!
  26. Try using ModelEntity.BatchMembers in your processing time expression. I believe it'll work.
  27. New to Simio and learning as I go. The attached model includes a CombinerNode1 that batches entities in groups of 2 & 5 (random.discrete). I would like Server1 to use different processing times for the different batch sizes. For example, a batch of 2 entities should be processed in 5 seconds; Batches of 5 entities in 7 seconds, etc.. Eventually I will create batches of up to 6 entities. I have tried using Server1.Processing.Contents for Processing Time, but seems to return the value of 1 all times. Any help is appreciated! Thanks! Processing time based on BatchSize.spfx
  28. I have been able to get everything to work so far with the exception of this last issue. At the very last step in this system not all 4 tanks will be full but I need to have them empty. However my model gets stuck and won't empty. Below is where the model ends but I need to override my logic to wait for all the tanks to be full at this point. I have tried using monitor, state variables, wait steps, scan steps and it still stops at this point. Any ideas?
  29. Interesting. Thanks. I have checked the entire system and all but the last step have the same flow rate, as it should be. The last step has a slower flow rate but what is interesting is that the simulation says it is going to take far more years to complete than if you just calculate by hand what it should take to drain at the slow flow rate. My apologies as I am not as well versed in the flow library as I am the standard library, but I set up an output statistic to get the flow rate in gallons per minute using the following: Input@FlowSink1.FlowRegulator.CurrentVolumeFlowIn / (Run.EndingTime - Run.WarmUpPeriod) This returns a much smaller value than what the flow rate I put in (all but last step are 140 gpm, last step is 11 gpm, output statistic gives 1.6 gpm). Is this formula is incorrect?
  1. Load more activity
×
×
  • Create New...