Hi,
I have a problem with a model using the FloWorks module, or I'm not fulling understanding how the flows through the network are being calucated. Attached there is a very simplified example that replicates the issue that I have with my model:
Sink has a max inflow rate of 20.
There are two tanks connected to the sink and both have unconstrained flow. First tank is connected to a flow source, but the output flow from the source is closed.
At the start of the simulation run, the first tank has an output rate of 20 to the sink, as it should with the "Preferred order" selected as sink's inflow rule.
When the first tank runs empty, flow starts (rate 20) from the second tank. The output from the source to the first tank is still closed.
So far everything works as I expect it to work. But after some delay the flow from the source to the first tank is opened. So now there is inflow to the first tank, but the flow to the sink is still coming from the second tank, even though the first one should be preferred and it now starts to accumulate content.
So is this how the flows should behave? And if it is, is there some way to force the flows to be recalculated so that the flow would follow the preferred order of tanks after opening the source?