Search the Community
Showing results for 'referencing model from modelentity'.
-
How does Simio resolve model library paths?
adrianloetscher posted a topic in SI General Discussions
I have a strange behavior of one of my models. I have shared this model with my customer (for the second or third time). But the model behaved not the same way as on my machine. The changes I had made last to the model were not shown on the machine of my customer. Only when the customer renamed the model, he could see the model correctly. I don't know what happened. And I can't imagine why the issue disappeared by renaming the model. The only thing I could think about is that it has something to do with the way Simio resolves the pathes of model libraries, which are loaded and used in a model. Perhaps I don't share the model in the correct way. But what are the requisites to do this? I have two libraries and a model which is depending on both of this libraries A and B. The library B consists of subclassed models of library A. All the 3 files are saved in the same project folder "D:\Simulation\MyModel\". Now, when I share this 3 files with my customer, the files are localized in a different folder, as the folder "D:\Simulation\MyModel\" doesn't exist on this machine. 1) My question is know how would Simio know that the pathes of the libraries "A" and "B" have changed? 2) How would Simio search for the libraries? 3) What would happen if Simio doesn't find the libraries? Would the main model remain the way it was saved on my machine, using the internal copies, but the model wouldn't any more update the definitions if I would change something in the library "A" or "B". 4) Has Simio some internal cache where it saves the model files lastly used? 5) When would Simio search for the libraries? For example if the model is opened after it was renamed? 5) Or what could be happened? I hope that I could explain my case with my bad English. Thanks for any help. Adrian. -
This is a very simple question that is common to many models. Let's imagine I just want an element where entities will be stored untill some other element 'pulls' from them. What is the easiest way to imlement having rich information on the amount of entities stored in that element, their average throughput time, etc? Many thanks.
-
This is something I have heard others talk about, but never actually got working for myself. Is it possible to reference a file with a dynamic name? I want to write out to a csv file during simulation runs, but the write originates from a submodel. This means that it is called multiple times, meaning that only one of my sub models actually gets to write. What is the easiest way to over come this? And yes, the write must originate from the sub-model.
-
Sample model that uses dwell time at a node from a schedule
ASagan posted a topic in SI Shared Items
The attached model relates to the discussion at the following post: http://www.simio.com/forums/viewtopic.php?f=1&t=1165 I created a very basic, not quite fully functional, 'dwell time' model that calculates the dwell time based on how soon the next departure slot is according to Dave's example above. I don't feel this approach is very elegant but it can help others get started. sampleDwellTimeModel.spfx