can anyone help me with the function i have to insert in the action?
It's a system dynimcs problem and my goal is to work 8 hours and then stop the production every day. The input flows are ApprovSaggina and ApprovBastoni so I think this flows must be stopped 
Thanks a lot
I've tried onChange() but I'm not sure
You need to change the inputs to the flows to zero. So for the
ApprovBastoni, you can useset_rit(0).If you'd have a variable
rateSagginathat is used to define theApprovSaggina, you could callrateSaggina=0.;