Jump to content

adrianloetscher

Members
  • Posts

    57
  • Joined

  • Last visited

1 Follower

About adrianloetscher

Personal Information

  • First Name
    Adrian
  • Last Name
    Lötscher
  • Company/University Name
    Roche Diagnostics

Converted

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

adrianloetscher's Achievements

Newbie

Newbie (1/14)

  • Week One Done Rare
  • One Month Later Rare
  • One Year In Rare

Recent Badges

0

Reputation

  1. Glen, thanks for the explanations. It's interesting because I had distributed the model in the same path as the libraries with the known result. My question is now what would happen in the following case. I would distribute the model and the libraries in the same folder. The user then would move the model file to another path of his choice, whithout the libraries. Some time later I would change something in the library and distribute the model and the libraries once again to the user. And he would move the model and only the model to the other path. Would Simio then use the old cached version of the library because the model would not be in the same folder and because the library is not in the folder path I have developed the model and the libraries? And where would be this cached version of the library?
  2. Thanks for your help, which was useful. I have now the following approach to dynamically get a WorkerPool using a Search-Step. The first step was to build a new object definition "WorkerPool", which has as its only member a Worker. The second step was then to place six instances of this "WorkerPool" class into the main model and to add all this WorkerPool-instances into a List of objects named "WorkerPoolList". Finally, in the search step, I am searching through the WorkerPoolList for a specific instance of a WorkerPool. As the WorkerPool now is an object and not a Worker, the search step returns only the object.
  3. Glen. Thank you very much for the quick and useful answer. I think what we will do first is to think about a folder structure, how we have to organize our libaries and models. The libary path will then always be the same on each machine, and Simio always will find the libaries on the file system and not use the Simio cache, which is a nice feature but can lead to not reproduzable results. If my understanding is right, then another approach to solve the problem would also have been the following: - unload the libaries in the model of the customer - load the libaries once again into the model, to change the library pathes I would like to suggest another feature request for Simio. If Simio doesn't find a libary, Simio should alert the user that the libary was not found on the file system. The user should then have the choice between using the Simio cache or to search manually for the libary path on the filesystem by opening a "FileOpen-Dialog".
  4. 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.
  5. Hi, I have some trouble in using the search step in combination with Worker instances. If I use the search step to search for Worker populations (Worker instances that I have placed into the model), I don't get the whole populations, but the single Workers inside the population. How would I use the search step to get only the reference to the population, but not to the single Workers inside the population? Thank you for any help. Adrian.
  6. There is some very important thing about these methods. It seams that the life of an element can be longer than the life of the parent object of the element. If an entity gets destroyed, the element can get reused if a new entity is created. It seams that all the member variables of the element, that are not managed by Simio, must be cleared or initialized in the Shutdown()-Method. Otherwhise the model behaves strange and the debugging get's very time-consuming. It's what happened with me.
×
×
  • Create New...