-
Notifications
You must be signed in to change notification settings - Fork 14
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
WasteStream._get_property
, WasteStream.mol
inaccuracy
#100
Comments
@joyxyz1994 is this fixed now with the recent merge related with bsm2? |
Not yet |
Hi, as I mentioned in office hours the other week, I have been looking into this problem. To my understanding, components with unknown composition are set to a molar weight of 1. Therefore, inserting the following code into
Is this the intended functionality? Also, do we know the other functions and thermodynamic properties that need to be fixed? |
Hi @BenGillen1998 , thanks for looking into this. You are correct that we default the MW to 1 if it's not provided, but sometimes we also intentionally set the MW of a component to 1 (for things we don't really care about the mass), so we don't get an error when calculating some properties. So it probably won't work if we just throw an error to a @joyxyz1994 , is the key issue here getting the correct molar flow? Can we just look at if |
I was thinking to allow users to get molar flow but give a warning if it involves components that are not pure chemicals and thus don't have a legitimate For components that have |
@joyxyz1994 good point, I'm thinking of throwing an error by default, unless intentionally set preference/provide an additional input arg, because there are many warnings issued during the simulation (a lot of which are related to cost algorithms) and people may just ignore the warnings... what do you think? |
@yalinli2 Yea that's certainly a valid concern. A lot of times though, the molar flows rather than mass flows are accessed by default in |
indeed I think molar flow is foundation in biosteam, let's chat about this at Monday's office hour first office hour with an agenda lol |
It is also my understanding that I will be sure to attend Monday's office hour to help where I can. |
just to throw a note while I still remember, the idea is to:
|
Need to add
WasteStream
-specific methods for molar flow and related thermodynamic properties. Generally,Component
can be measured as something other than the chemical itself (e.g., COD, N). But this difference is not yet taken into account when getting thermodynamic properties of aWasteStream
as a mixture of components.The text was updated successfully, but these errors were encountered: