Skip to content

consolidated streams into 1 struct #26

New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Open
wants to merge 51 commits into
base: develop
Choose a base branch
from

Conversation

bhargavakula01
Copy link
Collaborator

@bhargavakula01 bhargavakula01 commented Dec 2, 2024

Consolidated into one struct for streams.

Closes #20

@bhargavakula01 bhargavakula01 self-assigned this Dec 2, 2024
@bhargavakula01 bhargavakula01 marked this pull request as draft December 2, 2024 20:07
@bhargavakula01 bhargavakula01 linked an issue Dec 2, 2024 that may be closed by this pull request
@bhargavakula01
Copy link
Collaborator Author

Still need to update the blocks.rs and thermodynamics.rs modules before merging this branch

moved the IdealGasPackage struct into its own file and made it into a
submodule of the thermodynamics module. In the future, as more packages
are implemented, one simply needs to create another sub-module when
implementing a new thermodynamics package
implemented function for entropy calculation for the ideal gas package.
Need to look into how to incorporate the mass and mole fraction
functions within the thermo packages and ensure that the thermopackage
structs and the 'ThermoState' package are working together cohesively
…rait

Felt those functions were unncessary as the changes in volume and moles
would be attributed to reactions. This would be something implmeneted
within the block structs rather than the thermoState struct, which
should mostly be about holding relevant thermodynamic equations.
@bhargavakula01 bhargavakula01 added the enhancement New feature or request label Mar 24, 2025
… volume calculation under different EOS and based on vapor and liquid fractions
basically made it so that it will always return 1 for the vapor fraction
function as one would only use the ideal gas package when working with
only gaseous components and no liquid components.
need to figure out a way to calculate Cv for internal energy function
@bhargavakula01 bhargavakula01 marked this pull request as ready for review March 29, 2025 00:22
@bhargavakula01
Copy link
Collaborator Author

I haven't implemented all the test cases, but I thought it would be a good idea to push my current changes into the develop branch, as there have been a lot of changes that I have made.

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
enhancement New feature or request Refactor
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Connectors should be consolidated
2 participants