Max Content of a fluid tank with the experimenter

Max Content of a fluid tank with the experimenter

oscar_c13
Not applicable
23 Views
3 Replies
Message 1 of 4

Max Content of a fluid tank with the experimenter

oscar_c13
Not applicable

[ FlexSim 21.2.2 ]


How can you create a parameter in the experimenter to modify the maximun content of a fluid tank?

I have made thisbut it doesn´t work well in the experimenter.


1632388288950.png


0 Likes
Accepted solutions (1)
24 Views
3 Replies
Replies (3)
Message 2 of 4

roi_sn
Not applicable
Accepted solution

Hi @Oscar C13, you have to set the FluidTank property value to the new parameter value in the OnSet trigger of the parameters table.

1632389912383.png

0 Likes
Message 3 of 4

moehlmann_fe
Observer
Observer

When choosing the reference with the pipette tool, you want to choose the "Set Node Value" option. This will create the necessary code in the "On Set" event of the parameter to update the corresponding node value.

1632389932994.png

By default the value is updated when resetting the model. This should work for the experimenter. You can also have it update each time the parameter value is changed by choosing "true" for the condition.

1632389994957.png

0 Likes
Message 4 of 4

oscar_c13
Not applicable

Thanks to both of you. Both answers have helped me

0 Likes