Open damienpicard opened 8 years ago
@damienpicard
Such a feature would be useful in my view. Could you please make a pull request to the new branch issue529_tank
We would also need to understand what the implications are to the stratification model (instance str
) as this takes as an input the enthalpy exchanged with the flow between the volumes.
Todo:
I'm using the storage tank model but I need to be able to inject and extract water at different heights of the storage model.
To do so, I had to add a small modification to the model:
Buildings.Fluid.Storage.Stratified
. Instead of usingconstant Integer nPorts = 2 "Number of ports of volume";
I use a vectorparameter Integer nPorts[nSeg] = {2 for i in 1:nSeg} "Number of ports of volume";
so that I can specifiy the number of ports of each mixing volume vol:I can now easily create a model for stratified tank with multiple inlets, outlets:
I was wondering if such adaptation of the code could be added to the BuildingsLibrary or not.