Documenti di Didattica
Documenti di Professioni
Documenti di Cultura
DEWCALC.XLS
This workbook will calculate dew point temperatures and pressures using Modified Raoult's Law.
DewCalc This is the worksheet that carries out the calculations. The method uses iterative
It is currently provided to perform calculations using the one-term Margules equat
be modified for other activity relations. As provided, the spreadsheet uses the An
equation for vapor pressure.
Worksheets are protected. Values in blue may be changed without unlocking the spreadsheet, which
permit most common calculations. To unprotect, use Tools...Protection...Unprotect. Enter "thermo" fo
password.
Page 1
Instructions
Page 2
444033946.xls
xT Err:522
This spreadsheet uses circular references.
If you receive an error "Cannot resolve circular references", then Excel is not expecting
circular references. To permit circular references, choose Tools..Options... Calculation... and click
on the box for Iterations. Click on the "Background" tab to learn more about circular references.
Occasionly, circular references don't work. In that event a macro can be written to perform succesive su
See the appendix of the text for instructions on writing macros.
Page 3
444033946.xls
adjust T until
s, adjust P until
is not expecting
ns... Calculation... and click
about circular references.
be written to perform succesive substitution.
Page 4
Background
The iterations in this spreadsheet involve the rows for x', x(n), gamma.
1. each x' is calculated from the appropriate y * P / ( * Psat).
2. xn is the normalized composition calculated using the x' values.
3.
The worksheet "DewCalc" uses circular references to set up iterative calculations. For a dew calculation,
the value of depends on x, which is not known until the answer is obtained. Therefore, the initial guess
from the last converged answer. This value is used to calculate a new value for x, which in turn changes
value of , which is used to calculate a new value for x. Programming the cells sets up a circular referenc
the values in the cells for and x reference each other. Iteration procedes until the values change by les
value of the "Maximum Change" variable or the number of iterations set in the "Maximum Iterations" va
Note that in a spreadsheet using circular references, a large change in parameter/variable values
from one problem to the next can create a poor first guess which causes the calculations
to diverge. If you have problems with this, load your saved version, and change the
values gradually over wide ranges.
Page 5
Background
ange = 0.0001.
er/variable values
d click on Manual
be used because
s are entered,
culation to
Page 6