question

Andre G avatar image
0 Likes"
Andre G asked tannerp commented

Reset percentage in Text Objects

Is there any way or some custom code on Text Object to view the evolution of state percentage by individual object, it means, the value of percentage must be reset for each item processed? I intend to use the state Processing to monitor this information. The existing function "Display State Percentage/State/2-Processing" is similar what I need however the percentage values are not restored (see file attached). Thanks in advance.

FlexSim 17.2.5
text object
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

Joshua S avatar image
0 Likes"
Joshua S answered tannerp commented

For this to occur you need to specify what time frame you want to calculate. The original percentage is from the time the model starts to the current run time. If your time frame is from item entering to item entering, then your processing state will 100 percent then drop a little till another item enter again if you wanted to display real-time data. I added some changes to your model that calculates the percentage of time processing in the time frame of item entering to item entering.12391-model-text-object.fsm


· 1
5 |100000

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

tannerp avatar image tannerp commented ·

@Andre G Did this resolve your question?

0 Likes 0 ·