Solved this by using SetOverallCompoundMolarFlow
I am running a flowsheet in which a dissolver is outputing a feed into a tank. With DWSIM, tanks have to have an outlet stream, however, I would like the tank to fill up entirely before allowing flow out. I have the set up of the tank filling dynamic simulation tutorial (feed -> valve -> tank inlet -> tank -> tank outlet -> valve -> outlet) with a PID controlling the valve between the tank outlet and outlet streams. As valves don't allow for 0% opening, there is always some stream coming out of the...
I'm currently using the python custom modeler to retrieve input stream information from DWSIM and call an API to run our custom solvent extraction model and return the data to DWSIM. I am able to get DWSIM to call the API and return data to into the flowsheet, but I am having issues saving the concentrations calculated by our solvent extraction model to outlet material streams. I currently have an aqueous stream with nitric acid and dissolved metals and an organic stream which the metals are extracted...