question

Najwa S avatar image
0 Likes"
Najwa S asked Patrick Zweekhorst commented

Empty dashboard

All the components in the model are running, for example, for a tank, the input flow = output flow. However when I click on the dashboard to make the flow output vs time graph, the graph does not show. It turns out as below image. How do I make the graph show?

FlexSim 18.2.2
FloWorks
graph-1.png (10.3 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

·
Patrick Zweekhorst avatar image
0 Likes"
Patrick Zweekhorst answered Patrick Zweekhorst commented

Hi @Najwa S,

The dashboards are only updated when some flowrates change. In your case this only happens after a really long time. In the example model you posted yesterday you will see some lines in the dashboard after 1005309 seconds:

In your model the inflow rate in quite small compared with the size of the tanks, that's why it is taking so long.

I also noted that you are using MTBF MTTR functions on the flow processor. This is possible, but you will need to write the correct down and resume functions. If you want to use something like this on a FlowObject I advice you to use the ImpactEvent. This looks a lot like the MTBF MTTR functions. In the impact event to cannot only switch an object on or off, you can also impact it such that it can only let half of the normal flow pass (see manual for more information).

I have done this to your example model:

15594-ldpe-plant-1-1.fsm

You will also see that now you will have points in your dashboard sooner in the simulation.

Patrick


· 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.

Najwa S avatar image Najwa S commented ·

What does 'correct down and resume functions' means?

0 Likes 0 ·
Patrick Zweekhorst avatar image Patrick Zweekhorst Najwa S commented ·

You will need to call FlowObject.stop and FlowObject.resume instead of Object.stop and Object.resume. Otherwise the network will not be calculated again after you stop the object. The impactEvent does this for you, so I advise you to use the impactEvent when working woth FloWorks objects.

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.