TRS-80 simulation of a gas chromatographic separation - Journal of

Bits and pieces, 18. Equipment and time restrictions reduce student participation in gas chromatography labs. This software simulation allows students...
0 downloads 0 Views 2MB Size
%!laalas u! pasn suo!s!aap aqtL 'uo!w$ardra$u! e l e p pue uo!pac -u! aldmvs 01uo!led!a!ped l u a p u l s annpar uaxlo suo!?e?!mq

3aAHd '1A3nl

.Lals!maq3 u! 1 v 3 ,TO p w a q l w uo!l!pps w e - n p e aq plnoqs marao~daql'sluamanozdm! asaqi q l ! 'pawasaid ~ aq us3 sma[qozdjo Lla!zeA ap!M v .paz!lemalsLs aq lsnm sl!%!p luen! -J!u~!s,~o a s n .pa!j!~ep aq 01 spaau uyuvqaam Su!iox aqi pue ' l a m aul JOI dn palears aq 0%paau ped q a e m aql molj pue ol ssaJJe $0

. . .

..

~~

~~~

paqs!umj aq 0%amM alnMlJoS amm JI .sap! aq!sod Lran v s! laqseal 1~301 aql Lq m e ~ a o l daql jo Ll![!qeldep~ aqJ, -1001Bu!u~ea[/~~!q3~al s!ql laaj I Injasn B S q m o ~ a qIOJ lequalod l u a l p x a seq m-e~So~d

. . . mqlo ' M B ~s i $ pap, aql J U S ~ + V A aqi a>'MET SJluaH 'Me7 S,UOl -I"(] Bu!npnu! smalqa~dou ale a l a q l ' q d m e x a l o ~'papuadxa aq ueJ palanon sma[qo~d,psad& aq& 'sma[qord Mau aql au!Lll aiojaq s u a l -qmd aldmes auos Bu!aas p u uo!ssnmp ~ rapun Me[ sea aqi Xu!Ma!n -a, JO uo!ldo aql zasn aq? 4u!@ ' l x q arom aq p M p p 3 aiaq& .uo!leualdra [ p j aql l m 'suo!punj aql JO 11" au!u!jap alqsl aql aas o? lueM isn( [[ah Lem zasn aq,L 'punole am!%p q l m pumas aql a a s q saqs!m aqspq uo!lemioju! qnnm ~ c q a p p p 01ram aql 203 LBMawns aq plnaqs x a q & 'saseanap par!nhal un!lemqu! .JO lanai aql 'pvd qnlsms aql pasn saq lasn aql a3uO 'paum~d aq p p msr2ozd ~ aql ,JOuo!lez![!ln alq!ssod pue Lqdasol!qd aql jn uo!ld!msap $uaao3 amm e lnq 'alqe~!sap Llq4!q s! melaold aql jn u q w a l l e 18301 leql ldanuoJ n!seq aql q ? ! L1In.I ~ aa18e I .spaau 1~201 l!j 0%me~aordaq? au!aoaq3 zoj sms!ueqaam aql4u!ula3uo3 uu!le? d %!z![!ln raqJeal s s v -uamnmp r w a q q m u paau I ' m a ~ a o ~s!qi .saqasmaql s ~ s sea l aql JO Ma!nar [euo!ldo u s aq lqa!m lnjdlaq oslv 'ainleaj psd-q~lemsaql lnoqa papaau m!lemmoju! g,[anal aql $0 saa!oqJ alom PUB %@ p! ~uB~!J!u~!s jo a ~ ! l p ~aqlq lnoqa uO!lFImlOJU! amm 'sl!un JO asn aql lnoqe u q e m q u ! axom 'ms!umpaur au!lons aql lnoqa ua!lemmju! amm spaau luapms aql c m e ~ a oaql ~ d jo l a m am!?-ls?J e sv .panordm! aq 0%paau saop msr2ord aql jo uo!leluamnWp aq& asn l o ase3

Our program introduces the student to the basics of column selection and the optimization of separation conditions. It has heen designed principally for use in juniorlsenior level analytical chemistry courses. Chromatography theory, gas chromatography equipment, and the basics of column design should he discussed in class prior to running the program. It is also helpful if the students have had some GC experience in lab. The program is conducted in three steps: 1) Column Design. The student is allowed to "create" hisiher own column for the separation of a three-component mixture. In this step, the support mesh size and a stationary nhase must be selected from a limited set. The choice of stationary phase determines the separation factors for the three species. The percent by weight of the stationary phase and the column length (in feet) are also selected. The rationale behind using mesh size, percent by weight of stationary phase, and column length in feet is that this is how columns are typically listed bv manufacturers. 2) ~ k n p e r a t u r eand Flow Rate Optimization. Once the column has been produced. the oven's operatine temperature and the carrier gas flow rate are requested. he temperature range is limited by the T,;, and T,, of the stationary phase as well as the oven limits (23-299°C). Flow rates are limited to a 1-200 mL1min range. Once all parameters have been selected a chromatogram is displayed on the CRT. The retention times of the peaks representing the three species, the resolution of the peaks, a s well as the selected operating parameters are also displayed. To make the simulation even more realistic, the actual costs of all supplies are given and the column cost calculated. If more than one column is produced, the total costs are calculated. The rate,at which the chromatogram is drawn on the screen is a function of the t , of the last peak. This is a way of making the student aware of the fact that good resolution a t the expense of long retention times is now always desirable. The student then has the option of changing the temperature or flow rate, making a new column, or obtaining a printout. The object is to obtain a resolution greater than 1.5 for the peaks. When this occurs, the student is prompted with "QUANTITATIVE SEPARATION ACHIEVED." 3) Print Out. When requested, a listing of the final column its cost and the total costs are given. The HETP, t,, numher of theoretical plates and peak widths for each species, as well as copy of the final chromatogram, are also listed. This program allows the student to become more aware of the choices involved in designing a gas chromatographic separation. Presenting the data graphically enables the student to see the effect(s1 of hisfher decisions. Even though a

single three-component mixture is to be separated, the likelihood of anv two students develonine . the same senaration parameters (same chromatogram) is remote. This is because each student has the ootion of usine seven different stationarv phases and six differknt solid support mesh sizes. Each df these parameters has a dramatic effect on the ability of a column to separate the mixture. Also there are the other variables that influence the performance of the column(s) designed. This program is written in Level 11 BASIC for a TRS-80 Model 111 and a Model VII Line Printer. With instructions and comment lines, the program requires 10K for execution. Documentation, including a program listing, sample executions, and comments, is available for $2.00 by writing Dr. J. K. Hardy. Checks should he made payable to The University of Akron. A disk copy can be obtained for the TRS-80 Model 111 if a properly formated disk is supplied (5% inch, 40 track disk). This disk must already be initialized with TRSDOS1.3 or LDOS 513lR.

Display of Vapor Pressure Data with a Theoretical Fit James M. Grow

New Jersey Institute of Technology Newark, NJ 07079 A microcomputer with a large color monitor can he rolled into the classroom and used as easily as an overhead projector once the appropriate programs are written. Several programs written in Pascal for the Apple computer have been designed to aid the teacher in just such a classroom presentation. PASCAL was chosen to obtain as much transportability of the oroeram as oossihle. Also.. eranhics and disk storaee of " . info;mkon is easier in PASCAL, and the structure used in coding PASCAL makes the code more readable. The first program is a simple program to show the use of two models, Antoine's (In(P) = A - R I ( T C)) and Clausius-Clapyron's R ) , to predict the vapor pressure ( P ) (ln(P) = - LW,.,IRT of a single component system a t temperature T. The mailing program which came with the Pascal language, Apple3: DISKIO, was modified to include different information in its standard record. The string variables which contained the address information in the mailing program were changed to real numher variahles which contained temperature and Dressnre data from the "Handbook of Chemistry and Physics." Antoine's constants and the heats of vap&ation &e placed in another real numher array of the record. The procedures to zero the record, toshow the record, and to change the record were modified to include the new variable. These modifications allowed the vapor pressure data for many systems to he stored easily on disk. This information can he retrieved in the classroom and used to illustrate the accuracy of a given model for any number of systems through graphical display on the monitor. A sample display is given in Figure

+

+

1.

i

,,,,,,,-

-45

..*.....'...."'*"'

*,,."'"'

TEMP, C

I

81 RETURNP

Figwe 1. Fit of vapor pressure cycloherane as a function of temperature using Antoine's equation.

1062

Journal of Chemical Education

Vanor pressure data for hinarv svstems can he stored on disk and retrieved in the classroom just as easily. The standard record can be chaneed to include the hoiline temueratnres as well as the compo$ition of both the liquid'phask and vapor phase for a niven temDerature. Both van Laar's and Raoult's ~ a can w h e k e d to model the boiling points and dew points for anv composition of anv numher of hinarv systems. In either case Antoink's constants are used to calcul&the temperature dependencv of the vapor pressure for each of the components. he correci boiling temperature is determined by inte;actively calculatinr the temperature a t which the sum of these pressures equals atmosiheric pressure. This type of problem is of considerable concern in industrial separations such as distillation. Again, the procedures to zero the records, change the records, and plot the data along with the various models must he