question

Filippo A avatar image
0 Likes"
Filippo A asked Filippo A commented

Change process time dynamically according to MaxLT

Goodmirning,

I working on a process that every 20 minutes checks the process speed and changes it according to 2 cases: 1. process time is too high; 2. process time is too low. Is there a way to replicate this in Flexim? In the model below i created a process made by 1 source, 2 queues and 1 processor.

The processor is set at process time: PROCESSTIME_NORMAL, defined in global macro.

In the source i defined an arrival schedule of 10 items with ArrivalTime and Max_LT, where

(Max_LT) - (ArrivalTime) is the LT planned for each item to arrive at Queue2.

how can i tell the model to compare Max_LT with the processor end time for each object and tell it to change speed according to defined global macros?

different-process-time.fsm

Thanks very much in advance

FlexSim 18.1.0
process timesglobal macros
5 |100000

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

José Antonio MD avatar image
0 Likes"
José Antonio MD answered

Hello @Filippo A,

I attached a model with the solution.

What I do is compare the current time with Max_Lt on entry and based on that, select a value in the Process Time of the processor.

I hope I've been helpful.

13069-different-process-time-solution.fsm


5 |100000

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

Trex avatar image
0 Likes"
Trex answered

13069-different-process-time.fsmHello @Filippo A,

I have attached a model as per understanding your query.

kindly look into it , I suppose it will solve your problem


5 |100000

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