question

yoni A avatar image
0 Likes"
yoni A asked Jordan Johnson commented

process time using global table

I have a sample of 100 cycle times to load into a processor, I created a global table where I added the cycle times, how should I set -up the processor so it can read form this table,

2- will the processor pick a value at randon from the global table?

FlexSim 18.1.0
processor
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

·
Jordan Johnson avatar image
0 Likes"
Jordan Johnson answered Jordan Johnson commented

If you have a table of cycle times like this:

Then you can set the cycle time to a random value from this table like this:

Table("CycleTimes")[duniform(1, Table("CycleTimes").numRows)][1]

This code gets a random row from the table. Then, it uses that row to get a value from the same table.

randomcycletimefromtable.fsm


· 2
5 |100000

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

yoni A avatar image yoni A commented ·

@jordan.johnson , thanks jordan, can I also use the same logic described to add MTTR (Equipment downtime); for the equipment to be down randomly from a table of downtime values, how can I make the uptime field and first failure time to be ignored, if the only data that I have is downtime values, will this logic work better tan just Duniform distribution

thanks

0 Likes 0 ·
Jordan Johnson avatar image Jordan Johnson ♦♦ yoni A commented ·

All the fields in the MTBF/MTBR specify durations. To use this tool, you will need to know how long the machine goes between breakdowns (the Up Time field; often, this is the same as the First Failure Time field), and how long it takes to get it back up. You can use a distribution, or the technique I showed above, to have the up-time and down-time be randomly longer or shorter.

0 Likes 0 ·

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.