question

Pablo Herrero avatar image
0 Likes"
Pablo Herrero asked Marcello Rosadini answered

Remove operator while processing.

Hi everyone!

Is it possible to set different process time for differents operators that will operate at the same time?

I have a processor with 5 operators that has to do a task that last 220 seconds, but 2 of them need to leave the processor before the process has finished at 100 seconds after the process has started. So for them the process time should be less than for the other 3, but I don't see how to make this possible.

I could put 2 processors to do the same thing, one with a process time of 220 seconds and another one with process time of 100. But in order to get stats of the simulation It should be the same processor since the 5 of them are doing the same thing.

Could be this done or am I twisting flexsim too much?

Thanks

FlexSim 17.0.5
processoroperatorsprocess finish
5 |100000

Up to 12 attachments (including images) can be used with a maximum of 23.8 MiB each and 47.7 MiB total.

Jeff Nordgren avatar image
1 Like"
Jeff Nordgren answered Pablo Herrero commented

@Pablo Herrero

Have you looked into using the multiprocessor? You can split up you process(es) in there and I believe use different operators as well. Check that out and see if that will meet your needs. If not or you have any other questions, please don't hesitate to let us know.

Thanks.

· 1
5 |100000

Up to 12 attachments (including images) can be used with a maximum of 23.8 MiB each and 47.7 MiB total.

Pablo Herrero avatar image Pablo Herrero commented ·

Thanks for the response, the multiprocessor is working fine for this!

But in my process flow I need to know when the 2 singles processes finish not the overall process, in order to release the operators (i'm using them as resources). So if I use a "wait for event" I can only get the OnFinishProcess of the overall process of the multitprocessor. I would like to get those process finish times on the process flow to make it more flexible, so I can release the operators/resources as soon as they finish the first process and not wait until the second one has finished. I know that I can do this in the model but can I do it via process flow?

0 Likes 0 ·
Marcello Rosadini avatar image
0 Likes"
Marcello Rosadini answered

Pablo, the multiprocessor generates an "onProcessFinish" event after every "subProcess" so, for a MultiProcessor with 3 processes, you'll get 3 onProcessFinish Events and you can trigger your logic after each one of them.

5 |100000

Up to 12 attachments (including images) can be used with a maximum of 23.8 MiB each and 47.7 MiB total.