-
Notifications
You must be signed in to change notification settings - Fork 294
Description
Having working on the HDA flowsheet tutorial for a while, I am seeing a potential benefit and clarity for defining the feed/inlet streams with only the present phases and components. For example, in the HDA flowsheet, one inlet only contains liquid Toluene and the other inlet only contains vapor Methane and Benzene. It would be nice if each Feed unit model could take a different property package that only has the necessary phases and components. This would also allow the fixing the inlet states to be more intuitive since you wouldnt have to include very small value in each component and phase when in reality they arent present. I am confident it is mathematically possible and maybe even better for the model to compute. The Mixer unit model would have to be able to handle the different property packages for each inlet stream but that is doable and then create the mixed outlet stream with all components and phases present. All in all this would allow all users a more intuitive approach to creating models.
Potential Preview
m.fs.I101 = Feed(property_package=m.fs.thermo_params)
m.fs.I102 = Feed(property_package=m.fs.thermo_params_vap)
m.fs.M101 = Mixer(
property_packages=[m.fs.thermo_params, m.fs.thermo_params_vap, m.fs.thermo_params],
num_inlets=3,
inlet_list=['inlet_1', 'inlet_2_vapor', 'inlet_3'],
)