How to change timetable of the processor after particular time

How to change timetable of the processor after particular time

yogesh_h
Not applicable
32 Views
8 Replies
Message 1 of 9

How to change timetable of the processor after particular time

yogesh_h
Not applicable

[ FlexSim 20.2.3 ]

Hi Support Team,

Sample Model Schedule.fsm

I want processor to use different timetable due to change in global variable1 and assign timetable based on the global table "NoofShift'

I have used Global variable1 and process flow to change the value of global variable. Then I have put the conditions on the Stop Object and Resume Object in the Timetables.

I have attached model for your reference.

Thanks

0 Likes
Replies (8)
Message 2 of 9

jonathan_s3
Not applicable

Am I to understand that you want a conditional process time on your processor?

0 Likes
Message 3 of 9

yogesh_h
Not applicable

No, I want that processor must follow the schedule mentioned in the timetables

If NoofShift value which is obtained from reference of the global table is 1

Then it must follows schedule in the time table1 and if NoofShift value is becomes 0 then it has to follow schedule mentioned in the timetable2

In timetable2, no schedule is created so it must stop working after working time of 1000.






0 Likes
Message 4 of 9

jonathan_s3
Not applicable

I'm not familiar enough with time tables to answer this but a search led me to this thread which may help:

https://answers.flexsim.com/questions/64964/how-to-create-conditions-for-time-tables.html

Message 5 of 9

yogesh_h
Not applicable
0 Likes
Message 6 of 9

tanner_p
Not applicable

Hi @Yogesh H,

Can you create two time tables and then make sure they don't overlap? You can dynamically change which table to use based on the simulation time or other variables. Just a thought.

0 Likes
Message 7 of 9

yogesh_h
Not applicable

Hi @tanner.p

I already tried by creating 2 timetable but I am not abled to dynamically change the timetable based on variables

0 Likes
Message 8 of 9

Ben_WilsonADSK
Community Manager
Community Manager

Hi @Yogesh H,

Joerg's answer, from the link that @Jonathan provided, describes the memberadd() and memberremove() commands. You would use these commands in whatever logic should change the processor's timetable membership.

You mentioned "I am not abled to dynamically change the timetable based on variables". Have you already tried using these commands and you're running into problems?

0 Likes
Message 9 of 9

Ben_WilsonADSK
Community Manager
Community Manager

Hi @Yogesh H,

We haven't heard back from you. Were you able to solve your problem? If so, please add and accept an answer to let others know the solution. Or please respond to the previous comment so that we can continue to help you.

If we don't hear back in the next 3 business days, we'll assume you were able to solve your problem and we'll close this case in our tracker. You can always comment back at any time to reopen your question, or you can contact your local FlexSim distributor for phone or email help.

0 Likes