question

Joe K2 avatar image
0 Likes"
Joe K2 asked Joe K2 commented

select a fluid tank input port

Hi, I am modeling a system of multiple fluid process lines and tanks. I need to select a single tank and allow input to that tank from one processing line at a time. I am able to open all the inputs on a tank at once, but not able to open one input at a time. Should I use inputratescalefactors instead?

20220715-MixingRefiningABC-SwitchTank_autosave.fsm

FlexSim 22.1.3
fluid
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

Joe K2 avatar image
0 Likes"
Joe K2 answered Joe K2 commented

I was able to use input rate scale factors to solve my own problem. Here is the code snippet I used

getvarnode(<tank object>,"portinratescalefactors").subnodes[2].value = 0;

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