question

Yi-Chin W avatar image
0 Likes"
Yi-Chin W asked Yi-Chin W commented

Could I get each product's setup time ?

usethisset.fsmDear all

I'm sorry that I have to ask some easy question with limited English again...

I'm trying to get each product's "setup time" on "each processor" and "total setup time".

But, I do not know how to do that.

I tried to write some code,but I was not smart enough..

I only can get each product's process time now.

Please teach me !!!!

My Flexsim version is 18.0.2

I'm sorry that I replace the new file because I uploaded old file.

FlexSim 18.0.7
setup time
usethisset.fsm (33.5 KiB)
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 Yi-Chin W commented

hi @Yi-Chin W

I not quite sure which way you want to record the statistics of each item's "setup time".

I add a global table for recording it, and the rows represent different items(sort by entry time).

Column1 is setup time in "processor1", Column2 is setup time in "processor3", and the Column3 is the "total setup time"

usethissetbychjv18.fsm

May it helps~


· 9
5 |100000

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

Yi-Chin W avatar image Yi-Chin W commented ·
@jing.chen

Thank you!

Teach me some code to get the setuptime

It's really helpful to me!

0 Likes 0 ·
Yi-Chin W avatar image Yi-Chin W commented ·
@jing.chen

But can I ask you

how to set itemtype in row ~?

0 Likes 0 ·
擷取.png (4.2 KiB)
jing.c avatar image jing.c commented ·

Add this code in the OnProcessFinish of Processor1

Table("GlobalTable1").setRowHeader(row,item.name);
0 Likes 0 ·
Yi-Chin W avatar image Yi-Chin W commented ·

If I want the header is my product's item.Type

how do I write the code in OnProcessFinish.

Sorry!

0 Likes 0 ·
jing.c avatar image jing.c Yi-Chin W commented ·
Table("GlobalTable1").setRowHeader(row,numtostring(item.Type));

As you can read Chinese, I suggest you take video training course in 腾讯课堂

0 Likes 0 ·
Yi-Chin W avatar image Yi-Chin W jing.c commented ·

@jing.chen
Thank you! I can read Chinese, but I do not have QQ or 微信

0 Likes 0 ·
Show more comments

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

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