Skip to content
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

Pre-Condensation 3- activity #458

Merged
merged 38 commits into from
Jun 7, 2024
Merged

Pre-Condensation 3- activity #458

merged 38 commits into from
Jun 7, 2024

Conversation

Gorkowski
Copy link
Collaborator

@Gorkowski Gorkowski commented May 26, 2024

After #457

Summary:

This PR initiates the transition to focusing on particle-related properties by integrating activity coefficients essential for partial pressure calculations in vapor-liquid equilibrium/condensation processes within aerosols.

New Files:

  • activity_strategies.py: Introduces ideal mixing rules for both molar and mass-based calculations and kappa parameterizations for non-ideal water uptake.
  • activity_builders.py: Implements validation and unit conversions in the creation of activity strategies.
  • activity_factories.py: Facilitates the quick selection and building of activity strategies using the newly added builders for enhanced validation.

Changes:

  • convert.py: Updated to include the conversion from mass concentration to mole fractions, supporting the new activity strategies.

@Gorkowski Gorkowski changed the title Pre condensation: particle activity Pre-Condensation particle activity May 26, 2024
@Gorkowski Gorkowski self-assigned this May 26, 2024
@Gorkowski Gorkowski added the next prototype for v1 label May 26, 2024
@Gorkowski Gorkowski added this to the v0.1.0 milestone May 26, 2024
Copy link

github-actions bot commented May 26, 2024

PR Preview Action v1.4.7
🚀 Deployed preview to https://uncscode.github.io/particula/pr-preview/pr-458/
on branch gh-pages at 2024-05-26 18:35 UTC

@Gorkowski Gorkowski changed the title Pre-Condensation particle activity Pre-Condensation activity May 26, 2024
@Gorkowski Gorkowski marked this pull request as ready for review May 26, 2024 21:08
Copy link
Contributor

@sourcery-ai sourcery-ai bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We've reviewed this pull request using the Sourcery rules engine. If you would also like our AI-powered code review then let us know.

@Gorkowski Gorkowski changed the title Pre-Condensation activity Pre-Condensation 1- activity May 26, 2024
@Gorkowski Gorkowski changed the title Pre-Condensation 1- activity Pre-Condensation 3- activity May 29, 2024
@Gorkowski Gorkowski merged commit 51e6eb6 into main Jun 7, 2024
8 checks passed
@Gorkowski Gorkowski deleted the pre-con-activity branch June 7, 2024 23:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
next prototype for v1
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant