Cancel
Showing results for 
Search instead for 
Did you mean: 

Can the Fluid object Portioner have multiple inlets?

Siemens Valued Contributor Siemens Valued Contributor
Siemens Valued Contributor

Hi,

 

Is it possible for the fluid object Portioner to have multiple incoming connections?

 

I've tried to dynamically set the attribute "Fluid from Predecessor" (PredecessorNumber) by a Simtalk method, but once changed, the Portioner stops working. Can it only be changed if you do Reset/Init  in between?

 

Thanks in advance,

Johan

 

Portioner.jpg

4 REPLIES

Re: Can the Fluid object Portioner have multiple inlets?

Gears Esteemed Contributor Gears Esteemed Contributor
Gears Esteemed Contributor

it is working with 12.1

Steffen Bangsow
freelance simulation specialist  
web: www.bangsow.eu
mail: steffen@bangsow.net

Re: Can the Fluid object Portioner have multiple inlets?

Siemens Valued Contributor Siemens Valued Contributor
Siemens Valued Contributor

Thank you Steffen.

Yes, I can see it works for Tanks. 

In my model I used Mixers and it works for the first filling, but not the second. 

Perhaps there is some behaviour in the Mixer that I have not understood. 

The Mixers get into Blocked state and then never starts the filling again. 

I'm working in 12.2.

 

Portioner2.jpg

Re: Can the Fluid object Portioner have multiple inlets?

Gears Esteemed Contributor Gears Esteemed Contributor
Gears Esteemed Contributor

if you combine it with pipeOpened, then it works (no idea why)

Steffen Bangsow
freelance simulation specialist  
web: www.bangsow.eu
mail: steffen@bangsow.net

Re: Can the Fluid object Portioner have multiple inlets?

Siemens Valued Contributor Siemens Valued Contributor
Siemens Valued Contributor

Thank you very much!

Works like a charm!

 

/johan