question

Sandy Huang avatar image
0 Likes"
Sandy Huang asked jing.c commented

Simulate Changeover

Hi, I'm new to FlexSim. What is the best way to simulate changeover for the attached test model? Changeover is triggered when a different product type enters the line. All processors stop when changeover is triggered.

test-model-20170228.fsm

Thank you!

Sandy Huang

Choose One
simulate changeover
5 |100000

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

1 Answer

jing.c avatar image
1 Like"
jing.c answered jing.c commented

Hi, Sandy.

I add a label "type" to record the itemtype in M1, and another label "change_time" is the time use for Changeover.

I try to determine whether item is different one in the OnEntry Trigger of M1, if so I will close input, change the color of M1 to red and send a delay message for resume.

You sure of "All processors stop when changeover is triggered"? Because some items maybe still in other machine. My approach is only close input of M1

Is that what you want? May it helps~

changeovertimev17chj.fsm


· 4
5 |100000

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

Sandy Huang avatar image Sandy Huang commented ·

Thank you @jing.chen

This should work if the "delay" can be set to start after all items in the system are processed (reach the "Sink"). Can such logic be added? Also I couldn't find where to get the "Delayed time" statistics.

0 Likes 0 ·
jing.c avatar image jing.c Sandy Huang commented ·

Sandy, I modified my model and add a ControlCenter to control the changeover with some labels and code.

When item come into Queue1, OnEnrty trigger will evaluate the item whether a new "product type". If so, the label "batch" will change to input number of Q1 which it determine the start time of changeover(a delay message will be sent from sink to ControlCenter)

On the message trigger of ControlCenter, it will stop the machine with STATE_CHANGE_OVER and back to normal after "changeover" time.

Changeover time now is an fixed value you can find it in label"change_time" of ControlCenter, you can change based on different product types.

By the way, I'm not sure about judging "product type" is based on itemtype or Product ID. This time I choose to use label "Product ID"

changeovertime2v17chj.fsm

May it will help you~

0 Likes 0 ·
Sandy Huang avatar image Sandy Huang jing.c commented ·

Thanks Jing. Your reply is very helpful!

0 Likes 0 ·
Show more comments