Expand description
Salt-Water stand-alone CAPE-OPEN 1.2 Property Package
This is an example property package implementation, featuring a single water phase and two components: water and NaCl. The calculations for the liquid phase are based on
- Mostafa H. Sharqawy, John H. Lienhard V, Syed M. Zubair, Desalination and Water Treatment, doi 10.5004/dwt.2010.1079
- Kishor G. Nayar, Mostafa H. Sharqawy, Leonardo D. Banchik, John H. Lienhard V, Desalination, doi 10.1016/j.desal.2016.02.024
The package support calculation of the following liquid properties:
- Density
- Volume
- Enthalpy
- Entropy
- Viscosity
- Thermal conductivity
See the salt_water_calculator documentation fo validity ranges.
Phase equilibria routines are provided that calculate the conditions of the liquid phase, at given temperaure and pressure, temperature and enthalpy, and temperature and entropy, which makes the packge suitable for steady state flowsheet calculations including heat exchangers, pumps and turbines.
To use the property package from source, compile the source, and register the property package using
cobiaRegister.exe salt_water.dll
An installer for Windows is made available through the AmsterCHEM web site.
This software uses strum, a set of macros and traits for working with enums and strings easier in Rust, by Peter GlotFelty
Modulesยง
- phase_
equilibrium_ ๐type - property_
tables ๐ - salt_
water_ ๐calculator - salt_
water_ ๐property_ package
Staticsยง
- PMCS ๐
- A list of all the PMCs that need to be registered
Functionsยง
- cape
Create Object - COBIA PMC object creation entry point
- cape
Register Objects - COBIA PMC registration entry point
- cape
Unregister Objects - COBIA PMC unregistration entry point
- register_
pmcs_ ๐for_ all_ users - Registering a PMC for all users requires administrative privileges; this package is registred for the current user only
- register_
types ๐ - Type registration entry point for the module.
- unregister_
types ๐ - Type unregistration entry point for the module.