Professional Documents
Culture Documents
Vlmu
Vlmu
BAS is the BASIC language program for mixture calculations using the
Peng-Robinson equation of state discussed in Chapter 7, and especially in
Appendix A7.2, of the second edition of "Chemical and Engineering
Thermodynamics" by Stanley I. Sandler. This program can be used to calculate
densities, fugacities, dew point temperatures or pressures, bubble point
temperatures or pressures, or to do an isothermal flash calculation. For any
phase equilibrium calculation, the compositions and properties of the
coexisting phases are reported. The flow of the program is described in
Appendix A7.2.
The results of all calculations are displayed on the screen, but are not
stored. Therefore, you should be prepared to either write the results of the
calculations on paper or, if a printer is attached to your computer, print the
contents of the screen (by pressing the shifted key PrtSc). You may also have
the results printed by replacing the word PRINT in the output statements with
LPRINT. Alternatively, by simultaneously pressing the Ctrl and PrtSc keys,
everything that appears on the screen will also be sent to the printer until
the Ctrl and PrtSc keys are pressed again.
To run VLMU.BAS, you must first load it into BASICA. If you are
unfamiliar with how to do this, it is suggested that you use the following
procedure. First make drive A the default drive by typing A:[enter] at the
DOS > prompt. Next put a disk containing advanced BASIC (i.e., IBM BASICA) in
drive A and type BASICA [enter]. After BASICA is loaded, remove the disk from
drive A, insert this disk, and then type LOAD "A:VLMU.BAS"[enter]. After the
OK response, type RUN [enter].
###################################################################################
###################################################################################
####