I’m currently checking out the capabilities of the Fractionator object within CADET-Process.
Is it possible to exclude components from the analysis? I’m working with a model where the first component is H+, but it does not really make much sense to include that component in the fraction analysis. My flow sheet includes an Outlet with the ComponentSystem that includes H+. Could a solution be to add another Outlet that excludes the H+ component, i.e. with a new ComponentSystem? Or is there a simpler solution to this problem?
Oh I see, this solution works for me. Thanks for a lot for the support.
I do however still get some kind of weird result in the fractionator.performance object. I’m getting a suspicious runtime warning:
“RuntimeWarning: divide by zero encountered in true_divide return self.mass / self.process.V_eluent”
It could indicate that self.process.V_eluent is in fact equal to 0. Do you have an idea why this is so? Following your documentation I added a “flow_sheet.add_eluent_inlet(‘elution’)” where ‘elution’ is an Inlet. I was guessing that the V_eluent should be available from this Inlet? The recovery also seem to be off at a very high value!
However, it seems that the Fractionator only accepts results of type “SimulationResults”. I’m guessing that slice solution will modify the type of the results object?