ATTENTION

This FlexSim Community Forum is read-only. Please post any new questions, ideas, or discussions to our new community (we call it Answers) at https://answers.flexsim.com/. Our new Question & Answer site brings a modern, mobile-friendly interface and more focus on getting answers quickly. There are a few differences between how our new Q&A community works vs. a classic, threaded-conversation-style forum like the one below, so be sure to read our Answers Best Practices.


flexsim.com

Go Back   FlexSim Community Forum > FlexSim Software > Q&A
Downloads

Q&A Using Flexsim and building models

  #1  
Old 03-14-2012
naren nataraj naren nataraj is offline
Flexsim User
 
Join Date: Aug 2011
Location: INDIA
Posts: 28
Downloads: 20
Uploads: 0
Thanks: 36
Thanked 1 Time in 1 Post
Rep Power: 108
naren nataraj is on a distinguished road
Default Change Operator in between process when shift changes

Hi,

I have a model in which I need to change the operator when the shift changes . Problem is when the process is not completed in the first shift itself the second shift operator is not called and remains "idle" and the processor "waits for the operator".


ex:
Suppose I have a station that does a process of time 40 mins.
Operator 1 works in shift 1.
Operator 2 works in shift 2.

I want to change the operator when shift changes .
Suppose a part is processed only for 20 mins at the end of first shift by the operator 1. I want the operator 2 to carryout the rest of the operation in shift 2..

Can someone help me with this...

Thanks in advance.
Good day.
  #2  
Old 03-14-2012
Sebastian Hemmann's Avatar
Sebastian Hemmann Sebastian Hemmann is offline
Flexsim User
 
Join Date: Sep 2009
Location: Braunschweig (Germany)
Posts: 439
Downloads: 52
Uploads: 0
Thanks: 472
Thanked 217 Times in 154 Posts
Rep Power: 319
Sebastian Hemmann is a splendid one to beholdSebastian Hemmann is a splendid one to beholdSebastian Hemmann is a splendid one to beholdSebastian Hemmann is a splendid one to beholdSebastian Hemmann is a splendid one to beholdSebastian Hemmann is a splendid one to beholdSebastian Hemmann is a splendid one to behold
Default

Don´t know what other tasks you got for the second operator that isn´t in a shift. But a simple and fast solution for me would be, to use only on operator and notice this for evaluation. Maybe you can set a label what shift your operator is in.

Greetings
__________________
Hemmi
The Following User Says Thank You to Sebastian Hemmann For This Useful Post:
naren nataraj (03-21-2012)
  #3  
Old 03-14-2012
naren nataraj naren nataraj is offline
Flexsim User
 
Join Date: Aug 2011
Location: INDIA
Posts: 28
Downloads: 20
Uploads: 0
Thanks: 36
Thanked 1 Time in 1 Post
Rep Power: 108
naren nataraj is on a distinguished road
Default

Hi Sebastian,

Thanks a lot for replying.

I have 4 operators working in 4 dedicated stations in 1st shift. In the 2nd shift, only 1 operator is available for all the 4 stations.

I want to use separate operators for each shift and study their stats.
How to change operators in between an ongoing process?

Thanks.
  #4  
Old 03-14-2012
Jörg Vogel's Avatar
Jörg Vogel Jörg Vogel is offline
Flexsim User
 
Join Date: Sep 2007
Location: Hannover, Germany
Posts: 643
Downloads: 35
Uploads: 0
Thanks: 802
Thanked 665 Times in 410 Posts
Rep Power: 642
Jörg Vogel has a reputation beyond reputeJörg Vogel has a reputation beyond reputeJörg Vogel has a reputation beyond reputeJörg Vogel has a reputation beyond reputeJörg Vogel has a reputation beyond reputeJörg Vogel has a reputation beyond reputeJörg Vogel has a reputation beyond reputeJörg Vogel has a reputation beyond reputeJörg Vogel has a reputation beyond reputeJörg Vogel has a reputation beyond reputeJörg Vogel has a reputation beyond repute
Default

Hello Nataraj,

you use at shift end the freeoperator-command and write new tasksequences for each Operator to go somewhere else. To stop the processor use the command requestoperators. As a dispatcher you set the operator of the next shift.

Jörg
The Following User Says Thank You to Jörg Vogel For This Useful Post:
naren nataraj (03-21-2012)
  #5  
Old 03-15-2012
Jörg Vogel's Avatar
Jörg Vogel Jörg Vogel is offline
Flexsim User
 
Join Date: Sep 2007
Location: Hannover, Germany
Posts: 643
Downloads: 35
Uploads: 0
Thanks: 802
Thanked 665 Times in 410 Posts
Rep Power: 642
Jörg Vogel has a reputation beyond reputeJörg Vogel has a reputation beyond reputeJörg Vogel has a reputation beyond reputeJörg Vogel has a reputation beyond reputeJörg Vogel has a reputation beyond reputeJörg Vogel has a reputation beyond reputeJörg Vogel has a reputation beyond reputeJörg Vogel has a reputation beyond reputeJörg Vogel has a reputation beyond reputeJörg Vogel has a reputation beyond reputeJörg Vogel has a reputation beyond repute
Default

Hi,

if you use a timetable, let the Operators be the timetable members.
You can write the freeoperators-command in The Down Function. It expects the reference to the taskexecuter, which is the downobject and the involved object, which is the processing item. When a specific Operator is freed, write the requestoperators-command, so only one operator is ordered to the processor in the next shift.

Jörg
The Following User Says Thank You to Jörg Vogel For This Useful Post:
naren nataraj (03-21-2012)
  #6  
Old 03-17-2012
Kris Geisberger Kris Geisberger is offline
Flexsim Canada, Forum Moderator
 
Join Date: Aug 2007
Location: Canada
Posts: 209
Downloads: 54
Uploads: 1
Thanks: 99
Thanked 389 Times in 133 Posts
Rep Power: 451
Kris Geisberger has much to be proud ofKris Geisberger has much to be proud ofKris Geisberger has much to be proud ofKris Geisberger has much to be proud ofKris Geisberger has much to be proud ofKris Geisberger has much to be proud ofKris Geisberger has much to be proud ofKris Geisberger has much to be proud ofKris Geisberger has much to be proud ofKris Geisberger has much to be proud of
Default passing work from one shift to the next

No need to write task sequences yourself, this can all be done using port connections and standard Flexsim functionality.

Remember that the operator himself is a dispatcher, when you preempt him he will (depending on the preemption type) try to dispatch his current unfinished task sequence to a dispatcher or operator connected to his output ports.

In this model I have 4 processors using each an operator for process and I have a team of operators for each shift (3 shifts, 3/2/1 operators respectively). I used Time Tables to define each shift, and used the Down Function pick option called "Create Task Sequence 1". In this option I changed the preempting to "PREEMPT_ONLY". Note that the Resume Function should be set to Do Nothing as the option instructs.

Each processor is connected only to the shift 1 dispatcher. The shift 1 operators are output connected to the shift 2 dispatcher so when their shift ends their active (unfinished) task sequences will be passed to the next shift team.

Note that the shift 1 dispatcher is also directly connected to the shift 2 dispatcher so that jobs will flow through during shift 2. I use a User Event to close and open inputs of the dispatchers to control the flow of task sequences according to the current shift. CAREFUL, since Shift1 feeds Shift2 which feeds Shift3 which feeds back to Shift1... you can very easily create an infinite loop if you don't get it right. Save your model before you run.

This method won't work for all situations, but the dispatcher side of TEs is often overlooked.

Here is a thread on the topic of preemption: http://www.flexsim.com/community/for...ead.php?t=1792
Attached Files
File Type: fsm passing work from one shift to the next v5.12.fsm (104.2 KB, 156 views)

Last edited by Kris Geisberger; 03-17-2012 at 11:31 AM.
The Following 10 Users Say Thank You to Kris Geisberger For This Useful Post:
Sebastian Hemmann (03-22-2012)
  #7  
Old 03-22-2012
naren nataraj naren nataraj is offline
Flexsim User
 
Join Date: Aug 2011
Location: INDIA
Posts: 28
Downloads: 20
Uploads: 0
Thanks: 36
Thanked 1 Time in 1 Post
Rep Power: 108
naren nataraj is on a distinguished road
Default

Hi Sebastian , Jörg , Kris

Thanks a lot for replying.

Jorg - I too was trying something similar to that using requestoperator, freeoperator & prempt task. Thanks a lot .

Kris - That was exactly what I was looking for and it is also simple . Thanks a lot .

It was good learning from you guys.

Thanks again
Good day
Naren
The Following User Says Thank You to naren nataraj For This Useful Post:
Kris Geisberger (03-22-2012)
  #8  
Old 06-12-2012
naren nataraj naren nataraj is offline
Flexsim User
 
Join Date: Aug 2011
Location: INDIA
Posts: 28
Downloads: 20
Uploads: 0
Thanks: 36
Thanked 1 Time in 1 Post
Rep Power: 108
naren nataraj is on a distinguished road
Default

Hi Kris

I have used the same solution you gave.. But my model is getting crashed and I m not able to fix it.

Could you please help me with this. I have attached a sample model ( codes are in user event & Time table )

Thanks in advance
Naren
Attached Files
File Type: fsm Sample.fsm (141.2 KB, 96 views)
  #9  
Old 06-15-2012
Kris Geisberger Kris Geisberger is offline
Flexsim Canada, Forum Moderator
 
Join Date: Aug 2007
Location: Canada
Posts: 209
Downloads: 54
Uploads: 1
Thanks: 99
Thanked 389 Times in 133 Posts
Rep Power: 451
Kris Geisberger has much to be proud ofKris Geisberger has much to be proud ofKris Geisberger has much to be proud ofKris Geisberger has much to be proud ofKris Geisberger has much to be proud ofKris Geisberger has much to be proud ofKris Geisberger has much to be proud ofKris Geisberger has much to be proud ofKris Geisberger has much to be proud ofKris Geisberger has much to be proud of
Default

Hi Naren,

You doubled the concept, but forgot to extend the user event code to control the ports of Dispatcher4, 5 and 6 (just like Dispatcher1, 2, 3 respectively).

Kris
The Following User Says Thank You to Kris Geisberger For This Useful Post:
naren nataraj (06-19-2012)

Tags
operator, shift


Thread Thread Starter Forum Replies Last Post
the shift definition of the different processors west zhang Q&A 1 12-09-2011 02:17 AM
Crane travel For use as process operator Ryan Haferbecker Q&A 0 01-31-2011 03:05 PM
Shift work m matias Q&A 2 02-21-2010 01:12 PM
Abort a use operator for Process Brandon Peterson Q&A 2 05-01-2009 06:37 AM
Operator dependent process times Unregistered Pre-sales Questions 7 05-23-2008 03:01 PM


All times are GMT -6.
Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2020, vBulletin Solutions Inc.
Copyright 1993-2018 FlexSim Software Products, Inc.