question

ernesto daniel AG avatar image
0 Likes"
ernesto daniel AG asked tannerp commented

how to freeze a data?

Hello everyone I have a problem with a metric

I would like that when the "performance" table in row 2 the number reaches 0 the "available" factor in the OEE dashboard stay with the last percentage it showed

i made some of code,

I share my model with the code I made I hope you can help me

Thank you

oee-model.fsm

FlexSim 18.1.2
FlexSim 18.2.3
dashboards
codigo.png (28.4 KiB)
oee-model.fsm (27.5 KiB)
oee-model.fsm (28.0 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

tannerp avatar image
0 Likes"
tannerp answered

Hi @ernesto daniel AG,

I haven't ever seen this done in FlexSim before, so I'm not sure exactly how to do this. What if you set a trigger that wrote the value of the Availability measure to a table or other variable when the value in "Performance" table row 2 reaches 0?

//For example:

if(Table("Performance")[2][1]==0)
	dashboardObject.value = availability; //Sets new object variable to availability value
5 |100000

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