BioSTEAMDevelopmentGroup / Bioindustrial-Park

BioSTEAM's Premier Repository for Biorefinery Models and Results
MIT License
37 stars 18 forks source link

Consultation on the setting of physical property methods #167

Open zasddsgg opened 1 week ago

zasddsgg commented 1 week ago

@yoelcortes, @yalinli2, @sarangbhagwat Hello, may I ask you some questions about physical property methods setting. Thanks for your help.

a) In the tutorial (https://biosteam.readthedocs.io/en/latest/API/units/compressor.html#:~:text=thermo%20%3D%20bst.Thermo(%5Bbst.Chemical(%27H2%27%2C%20eos%3DSRK)%5D)), eos=SRK is set at high pressure. If just a certain process (not all processes in my system) in my system is high pressure (higher than 10bar), should I set eos=SRK at the whole process level or only need to set eos=SRK for a certain high-pressure process? Or do I set eos=SRK only for gas? If I want to set eos=SRK at the entire process level or only for a high-pressure process, could I consult you which code is needed? It seems that eos=SRK is only set for chemical hydrogen in the tutorial (https://biosteam.readthedocs.io/en/latest/API/units/compressor.html#:~:text=thermo%20%3D%20bst.Thermo(%5Bbst.Chemical(%27H2%27%2C%20eos%3DSRK)%5D)).

b) If just a certain process (not all processes in my system) in my system is high pressure (higher than 10bar), do I need to set include_excess_energies=True? Should I set include_excess_energies=True for the entire process, or should I only set include_excess_energies=True for a certain high-pressure process? Could I consult you which code is needed? It seems that include_excess_energies=True is only set for chemical hydrogen in the tutorial (https://biosteam.readthedocs.io/en/latest/API/units/compressor.html#:~:text=thermo%20%3D%20bst.Thermo(%5Bbst.Chemical(%27H2%27%2C%20eos%3DSRK)%5D)%0A%3E%3E%3E%20thermo.mixture.include_excess_energies%20%3D%20True).

zasddsgg commented 1 week ago

@yoelcortes, @yalinli2, @sarangbhagwat The physical property method seems to be very important for the accuracy of the results. Could I trouble you take some time to look at this problem. Thanks for your help again.

zasddsgg commented 1 week ago

@yoelcortes, @yalinli2, @sarangbhagwat BioSTEAM's default physical method seems to be the PR method (https://biosteam.readthedocs.io/en/latest/API/thermosteam/Chemical.html#:~:text=eos%20(GCEOS%20subclass%2C%20optional)%20%E2%80%93%20Equation%20of%20state%20class%20for%20solving%20thermodynamic%20properties.%20Defaults%20to%20Peng%2DRobinson.), but for polar systems with pressures below 10bar, the NRTL, UNIQUAC method should be selected according to the Aspen plus principle for physical method selection (as shown in the following picture). For polar systems with pressures above 10bar, RKSMHV2,SR-POLAR, PSRK and other methods should be selected. Since the physical property method is very important to the accuracy of the simulation results, so could I consult you ask how to set the above methods in BioSTEAM? 1