NH3 equilibrium concentration in NH3-H2O by calling Refprop only with Temperature and Pressure

Version 1.2 (1.24 KB) by Meng Wang
NH3 equilibrium concentration in NH3-H2O by calling Refprop only with Temperature and Pressure
341 Downloads
Updated 1 Dec 2016

View License

To obtain properties of NH3-H2O solution by Matlab calling NIST Refprop, concentrations of NH3 and H2O are always needed as the input. Nevertheless, in some certain cases, concentrations are also unknown at first steps. For instance, to identify equilibrium concentrations in absorption refrigeration systems.
Thus, Functions was implemented here to obtain equilibrium concentration of NH3-H2O solution from NIST Refprop under the specified pressure and temperature conditions.
Function details:
1. wNH3 = NH3inSolutionPT_refprop(Pressure,Temp);
Function ‘NH3inSolutionPT_refprop’ calculates the mass concentration of NH3-H2O solution at the condition ‘Pressure’ and ‘Temp’ by calling NIST refprop.
INPUTS:
Pressure = Pressure in kPa
Temp = temperature in degree-Celsius
OUTPUT:
wNH3 = mass concentration of NH3 - in kg/kg
2. wNH3 = NH3inSolutionTT_refprop(Tdew,Tsol);
Function ‘NH3inSolutionTT_refprop’ specially calculates the equilibrium concentrations of NH3-H2O solution in the absorber and generator for the absorption refrigeration systems, in which, the solution’s temperature and corresponding dew temperature of its vapor pressure are usually provided as inputs.
INPUTS:
Tdew = dew temperature to the vapor pressure of the solution in degree-Celsius
Tsol = Solution temperature in degree-Celsius
OUTPUT:
wNH3 = mass concentration of NH3 - in kg/kg

Cite As

Meng Wang (2025). NH3 equilibrium concentration in NH3-H2O by calling Refprop only with Temperature and Pressure (https://se.mathworks.com/matlabcentral/fileexchange/59631-nh3-equilibrium-concentration-in-nh3-h2o-by-calling-refprop-only-with-temperature-and-pressure), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2015b
Compatible with any release
Platform Compatibility
Windows macOS Linux
Categories
Find more on Thermal Analysis in Help Center and MATLAB Answers

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

ammonia concentration in ammonia-water solution/

Version Published Release Notes
1.2

Pressure, instead of enthalpy in the last version, is used as an objective function to stop the iteration of concentration.

1.0.0.0

to modify a typo in the description