MultiComponentFlash.jl
MultiComponentFlash.jl copied to clipboard
Mockup: Isenthalpic Flash
Isenthalpic Flash MVP Implementation
Overview
This PR introduces and develops routines necessary to implement the Minimum Viable Product (MVP) for a basic isenthalpic flash calculation.
Key Additions
1. isoenthalpic-script.jl
- A script implementing the outer loop to control the temperature.
- Includes checks to ensure that the mixture enthalpy matches the input enthalpy.
2. enthalpy-flash.jl
Utility routines for isenthalpic flash calculations, including:
- Enthalpy-related routines: Functions for calculating and handling mixture enthalpy.
- Secant method routines: Methods to iteratively solve for the target temperature or other thermodynamic properties.