Jump to content

gocken

Members
  • Posts

    356
  • Joined

  • Last visited

  • Days Won

    32

Everything posted by gocken

  1. Leaving it as is should work for your purposes?
  2. Hi Jim, May be there are many possible ways to follow to get the information you want. But, I suggest you to use a search step for searching a server's (or any other object's) processing queue to get such information. You can search not only the server's processing queue but also the whole "entity population" to get whole state variable's defined on them at any arbitrary time thoughout the simulation run. All you have to do is to define additional expressions on search step. In the example file attached a simple model is developed to get entities' state variables residing at server1's processing queue. Here note that, you have to click button at arbitrary times. Then, if 3 or more entities exist at server1.processing queue, the search step founds the first 3 of them (since a forward search is performedin this sample model) then later an excel write step writes entities created time (you can get many state variables of entities written on the same excel file). You can change search limit, queue state name, include a match condition etc. If you want to get such information at the beginning or at the end of the simulation run you should use this same logic at appropriate processes (onrunending, onruninitialized etc...). Also, you can get these information written on either a database or an output table as well. Hope this helps? getting a snaphot of Entity WIP via a button.spfx entities_processing.xlsx
  3. Hi Jim, I uploaded a simple model related to the concept how to get instant information about any object in simio by using button. If you need more do not hesitate to ask more? getting a snaphot of Entity WIP via a button.spfx
  4. Since I am not allowed to save my changes on your file directlt I am not able to upload your revised model. But, it is so simple to follow the steps to get what you wnat. First delete all your processes in your model and only for Volvo server define an afterprocessing add-on where you should include a decide step, an assign step and a wait step (see the attached file). Then, 1) set decide type as conditional and set its condition as: (M1.Capacity.Remaining > 0 && Input@M1.NumberTravelers.RoutingIn == 0) && (M2.Capacity.Remaining > 0 && Input@M2.NumberTravelers.RoutingIn == 0) && (T4.Capacity.Remaining > 0 && Input@T4.NumberTravelers.RoutingIn == 0) 2) at assign step set state variable as: Volvo.ResourceState and set the new value as: 2 (setting this to 2 will block the volvo server) 3) at wait step set event name as Output@T4.Entered. I hope this works for you.
  5. If I were you I would define a storage element. Then, if the patients are finished with their loop I send them to storage (you can think of it as a waiting room). Then, when the vehicle is available I should check the storage (with a search step) and if exist get the patients on the vehicle. Does it work for you?
  6. The answer is no! If you call MATLAB via user generated MATLAB step simio will temporarily suspend till the outgoing token will return (with a value or not). If you add a breakpoint, simio will come to a "full stop". This means simio can not send any token to run/call matlab/codes. Most likely your problem is that the matlab user defined step does not work properly. If it works properly you need not to stop simio anyway. Try to locate the required files appropriately or check your visual studio edition etc.? I am not sure what is the problem but the .dll file can be outdated?
  7. The best way to do a sensivity analysis is to make "designed experiments", run your simulation according to this desing one by one and record the results of them and then analyse the results by using "statistical methods". Thus, I suggest you to investigate "experimental design" or in other name "design of experiments" concept. At first, you can get confused with this topic thus you can ask for help from an experienced expert in this area. The above method is called "perturbation analysis" and as far as I know it is not the best way or at least a common method for doing sensivity analysis.
  8. The name of the simbit is: CombineMultipleEntityTypesOntoPallets.spfx
  9. Just use combiner object. There is a very close simbit in simbit library, just check it out.
  10. Most probably secondary resources will work for you, support here!. I can not open your model since we are using different editions. If we were to use the same edition I was able to open your model. Thus, while developing models which you will share with someone else you should consider this constraint.
  11. I was not able to open your model. Thus, can not say anything for sure. But, did you try other resource seizes/releases option under secondary resources of server object? It seems it suits your needs?
  12. As far as I know the answer is "no". But, right click on one of them and select "Object property spreadsheet". Then in the panel opened below select i.e., travel logic and you will see a list of the path objects on left. Select one of them. Then, you will see it is selected in facility layout as well. I hope this feature can meet your requirements at least to a degree?
  13. Set "log observations" property of tallystatistics element as true (under advanced options category of tallystatistics element). then at the end of the simulation you will see all individual observations from results-->logs-->tally observation log in a tabular format. If this not works for you then there exist other alternatives? Will you plot these values dynamically or statically (i.e., at the end of simulation)?
  14. since exclusion property checks the expression at the start of the simulation run to determine if this step should be excluded from the run my suggestion does not work. simply omit this suggestion:( and thus decide step before the tally step best suits your purpose.
  15. you can not find .lastrecordedvalue from dropdown menu. Just type it, it will work. Tally1.lastrecordedvalue means just the last tokens value (in your case state's value recorded by tally1 element. I think if Tally1.lastrecordedvalue == 0 which means 1 for exclusion property this tally step should be skipped for this token. And, it is the case what you want to achieve. Just try, I think it should work...
  16. I think setting the exclusion expression property of the tally1 step as TallyStatistic1.Lastrecordedvalue == 0 will work for u?.
  17. ok, I see. Let's try the attached file pls. Create Entities of certain part of ArrivalTable_1.spfx
  18. To the best of my knowlegde every process can be enable or disable by using ProcessName.Enabled. You can assign this state variable true at the beginning of the three hour period (not a must but probabily using a timer element) and false at the and of the three hour period. I hope it works?
  19. Hi Mirek, I have managed to do something. In this version of your model you have the ability to enter the entity type to be generated via a stringproperty of model. Then, the right entity type is generated and follows its own task sequence. Note that, I included the logic into onruninitialized process (to see whether it is operating as it is intended). You can move this logic into your own process and trigger anytime you want. By this way you are allowed to change the entity type whenever it is required over the simulation run. Hope this works for you. Create Entities of certain part of ArrivalTable.spfx
  20. For a quick solution to your problem for now you can try to define a date time property in model and then set different values to different entity types in table1 date time property column. For example, set date time property as 11.5.2020 00:00:00 for entity A and set 11.5.2020 00:00:01 for entity B. And, in facility layout you can set date time property of the model to 11.5.2020 00:00:00 for generating entity A or 11.5.2020 00:00:01 for generating entity B. Is it possible? If you want to try this option you should not use my previous approach then.
  21. Hi Mirek, I think the problem here is your setting arrival mode to arrival table. I am not sure but after generating right entity the source object then assigns it row according to the arrival table which means row 1. Then the right entity (B) follows the wrong task sequence. Try by setting arrival mode to interarrival time. This time it should follow the right seqeunce. I will try other options and inform you if I get any other solution.
  22. Hi Mirek, I was not able to figure out the solution from the figures. It would be better if you upload a sample file. I will try to find a solution by experimenting on it
  23. Hi Mirek, can u upload a sample of your model or a screen shot of the table structure?
  24. You only have to change the key_value_to_generate property of the model to generate entities from whichever stream you want. Examine the attached model and do not hesitate for asking more. Hope this helps! create Entities of certain part of ArrivalTable.spfx
  25. Sorry Cam.Laboy, I missed this part of your message. Of course you had better to define servers instead of sinks. This time you should use Input@Server instead of Input@Sink in the sequences table. By this way, you can collect some other useful statistics, i.e., payment time, payment queue length etc., as well.
×
×
  • Create New...