-
Notifications
You must be signed in to change notification settings - Fork 24
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
Multisite Whittaker and isotherm prediction #54
Conversation
…o adsorbate class eventually
…nstead of in Whittaker module
pressure: float | ||
pressure, in Pa | ||
""" | ||
return CP.CoolProp.PropsSI('Z', 'T', temp, 'P', pressure, self.backend_name) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
How is this done using the RefProp backend?
@@ -1073,3 +1080,9 @@ def spreading_pressure_at( | |||
|
|||
# calculate based on model | |||
return self.model.spreading_pressure(pressure) | |||
|
|||
def toth_correction_at( |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This should not live here
R = constants.gas_constant | ||
|
||
|
||
def isotherm_to_predicted( |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This funtion feels like it could be made more generinc. It is currently using the whittaker enthalpy only. If someone has other types of enthalpies of sorption, like from calorimetry, they would be able to make use of this to predict using the clausius clapeyron. Suggestion to make the call to whittaker external to the function
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## develop #54 +/- ##
===========================================
- Coverage 90.18% 88.97% -1.22%
===========================================
Files 73 77 +4
Lines 5306 5612 +306
===========================================
+ Hits 4785 4993 +208
- Misses 521 619 +98 ☔ View full report in Codecov by Sentry. |
relevant tests look good |
As discussed - hope you get a chance to look at it!
Scott