This is a based-transient analysis, but it could also be solved based on parameter-driven methods.
I would like to have a flow through a chamber that has two outlets. One outlet vents to the atmosphere. The other "pulls" a sample of the fluid from the chambers for a time period, then "pushes" that amount back into the volume, both based on a time period. I have this part down. The part I do not have down is to take the mix of gasses from the "pull", change of percentage of one gas to another gas (already in the parameters) due to reactions, and then use that new mix in the "push" back into the main chamber.
The logic diagram is simple, and the data is available from the "goals" parameters. I just can't figure out how to use the output from one time period to be captured, modified by a simple relationship, and then used for an input back into the system for the next time period.