-
Notifications
You must be signed in to change notification settings - Fork 0
/
FUTURE_isocom.f90
16670 lines (14966 loc) · 846 KB
/
FUTURE_isocom.f90
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
! ======================================================================
! *** ISORROPIA CODE II
! *** SUBROUTINE ISOROPIA
! *** THIS SUBROUTINE IS THE MASTER ROUTINE FOR THE ISORROPIA
! THERMODYNAMIC EQUILIBRIUM AEROSOL MODEL (VERSION 1.1 and above)
! ======================== ARGUMENTS / USAGE ===========================
! INPUT:
! 1. [WI]
! real array of length [8].
! Concentrations, expressed in moles/m3. Depending on the type of
! problem solved (specified in CNTRL(1)), WI contains either
! GAS+AEROSOL or AEROSOL only concentratios.
! WI(1) - sodium
! WI(2) - sulfate
! WI(3) - ammonium
! WI(4) - nitrate
! WI(5) - chloride
! WI(6) - calcium
! WI(7) - potassium
! WI(8) - magnesium
! 2. [RHI]
! real variable.
! Ambient relative humidity expressed on a (0,1) scale.
! 3. [TEMPI]
! real variable.
! Ambient temperature expressed in Kelvins.
! 4. [CNTRL]
! real array of length [2].
! Parameters that control the type of problem solved.
! CNTRL(1): Defines the type of problem solved.
! 0 - Forward problem is solved. In this case, array WI contains
! GAS and AEROSOL concentrations together.
! 1 - Reverse problem is solved. In this case, array WI contains
! AEROSOL concentrations only.
! CNTRL(2): Defines the state of the aerosol
! 0 - The aerosol can have both solid+liquid phases (deliquescent)
! 1 - The aerosol is in only liquid state (metastable aerosol)
! OUTPUT:
! 1. [WT]
! real array of length [8].
! Total concentrations (GAS+AEROSOL) of species, expressed in moles/m3.
! If the foreward probelm is solved (CNTRL(1)=0), array WT is
! identical to array WI.
! WT(1) - total sodium
! WT(2) - total sulfate
! WT(3) - total ammonium
! WT(4) - total nitrate
! WT(5) - total chloride
! WT(6) - total calcium
! WT(7) - total potassium
! WT(8) - total magnesium
! 2. [GAS]
! real array of length [03].
! Gaseous species concentrations, expressed in moles/m3.
! GAS(1) - NH3
! GAS(2) - HNO3
! GAS(3) - HCl
! 3. [AERLIQ]
! real array of length [15].
! Liquid aerosol species concentrations, expressed in moles/m3.
! AERLIQ(01) - H+(aq)
! AERLIQ(02) - Na+(aq)
! AERLIQ(03) - NH4+(aq)
! AERLIQ(04) - Cl-(aq)
! AERLIQ(05) - SO4--(aq)
! AERLIQ(06) - HSO4-(aq)
! AERLIQ(07) - NO3-(aq)
! AERLIQ(08) - H2O
! AERLIQ(09) - NH3(aq) (undissociated)
! AERLIQ(10) - HNCl(aq) (undissociated)
! AERLIQ(11) - HNO3(aq) (undissociated)
! AERLIQ(12) - OH-(aq)
! AERLIQ(13) - Ca2+(aq)
! AERLIQ(14) - K+(aq)
! AERLIQ(15) - Mg2+(aq)
! 4. [AERSLD]
! real array of length [19].
! Solid aerosol species concentrations, expressed in moles/m3.
! AERSLD(01) - NaNO3(s)
! AERSLD(02) - NH4NO3(s)
! AERSLD(03) - NaCl(s)
! AERSLD(04) - NH4Cl(s)
! AERSLD(05) - Na2SO4(s)
! AERSLD(06) - (NH4)2SO4(s)
! AERSLD(07) - NaHSO4(s)
! AERSLD(08) - NH4HSO4(s)
! AERSLD(09) - (NH4)4H(SO4)2(s)
! AERSLD(10) - CaSO4(s)
! AERSLD(11) - Ca(NO3)2(s)
! AERSLD(12) - CaCl2(s)
! AERSLD(13) - K2SO4(s)
! AERSLD(14) - KHSO4(s)
! AERSLD(15) - KNO3(s)
! AERSLD(16) - KCl(s)
! AERSLD(17) - MgSO4(s)
! AERSLD(18) - Mg(NO3)2(s)
! AERSLD(19) - MgCl2(s)
! 5. [SCASI]
! CHARACTER*15 variable.
! Returns the subcase which the input corresponds to.
! 6. [OTHER]
! real array of length [9].
! Returns solution information.
! OTHER(1): Shows if aerosol water exists.
! 0 - Aerosol is WET
! 1 - Aerosol is DRY
! OTHER(2): Aerosol Sulfate ratio, defined as (in moles/m3) :
! (total ammonia + total Na) / (total sulfate)
! OTHER(3): Sulfate ratio based on aerosol properties that defines
! a sulfate poor system:
! (aerosol ammonia + aerosol Na) / (aerosol sulfate)
! OTHER(4): Aerosol sodium ratio, defined as (in moles/m3) :
! (total Na) / (total sulfate)
! OTHER(5): Ionic strength of the aqueous aerosol (if it exists).
! OTHER(6): Total number of calls to the activity coefficient
! calculation subroutine.
! OTHER(7): Sulfate ratio with crustal species, defined as (in moles/m3) :
! (total ammonia + total crustal species + total Na) / (total sulfate)
! OTHER(8): Crustal species + sodium ratio, defined as (in moles/m3) :
! (total crustal species + total Na) / (total sulfate)
! OTHER(9): Crustal species ratio, defined as (in moles/m3) :
! (total crustal species) / (total sulfate)
! *** COPYRIGHT 1996-2006, UNIVERSITY OF MIAMI, CARNEGIE MELLON UNIVERSITY,
! *** GEORGIA INSTITUTE OF TECHNOLOGY
! *** WRITTEN BY ATHANASIOS NENES
! *** UPDATED BY CHRISTOS FOUNTOUKIS
!=======================================================================
SUBROUTINE ISOROPIA (WI, RHI, TEMPI, CNTRL, &
WT, GAS, AERLIQ, AERSLD, SCASI, OTHER)
INCLUDE 'isrpia.inc'
PARAMETER (NCTRL=2,NOTHER=9)
CHARACTER SCASI*15
DIMENSION WI(NCOMP), WT(NCOMP), GAS(NGASAQ), AERSLD(NSLDS), &
AERLIQ(NIONS+NGASAQ+2), CNTRL(NCTRL), OTHER(NOTHER)
! *** PROBLEM TYPE (0=FOREWARD, 1=REVERSE) ******************************
IPROB = NINT(CNTRL(1))
! *** AEROSOL STATE (0=SOLID+LIQUID, 1=METASTABLE) **********************
METSTBL = NINT(CNTRL(2))
! *** SOLVE FOREWARD PROBLEM ********************************************
50 IF (IPROB == 0) THEN
IF (WI(1)+WI(2)+WI(3)+WI(4)+WI(5)+WI(6)+WI(7)+WI(8) <= TINY) &
THEN !Everything=0
CALL INIT1 (WI, RHI, TEMPI)
ELSE IF (WI(1)+WI(4)+WI(5)+WI(6)+WI(7)+WI(8) <= TINY) THEN !Ca,K,Mg,Na,Cl,NO3=0
CALL ISRP1F (WI, RHI, TEMPI)
ELSE IF (WI(1)+WI(5)+WI(6)+WI(7)+WI(8) <= TINY) THEN !Ca,K,Mg,Na,Cl=0
CALL ISRP2F (WI, RHI, TEMPI)
ELSE IF (WI(6)+WI(7)+WI(8) <= TINY) THEN !Ca,K,Mg=0
CALL ISRP3F (WI, RHI, TEMPI)
ELSE
CALL ISRP4F (WI, RHI, TEMPI)
ENDIF
! *** SOLVE REVERSE PROBLEM *********************************************
ELSE
IF (WI(1)+WI(2)+WI(3)+WI(4)+WI(5)+WI(6)+WI(7)+WI(8) <= TINY) &
THEN !Everything=0
CALL INIT1 (WI, RHI, TEMPI)
ELSE IF (WI(1)+WI(4)+WI(5)+WI(6)+WI(7)+WI(8) <= TINY) THEN !Ca,K,Mg,Na,Cl,NO3=0
CALL ISRP1R (WI, RHI, TEMPI)
ELSE IF (WI(1)+WI(5)+WI(6)+WI(7)+WI(8) <= TINY) THEN !Ca,K,Mg,Na,Cl=0
CALL ISRP2R (WI, RHI, TEMPI)
ELSE IF (WI(6)+WI(7)+WI(8) <= TINY) THEN !Ca,K,Mg=0
CALL ISRP3R (WI, RHI, TEMPI)
ELSE
CALL ISRP4R (WI, RHI, TEMPI)
ENDIF
ENDIF
! *** ADJUST MASS BALANCE ***********************************************
IF (NADJ == 1) CALL ADJUST (WI)
! C
! C *** IF METASTABLE AND NO WATER - RESOLVE AS NORMAL ********************
! C
!c IF (WATER.LE.TINY .AND. METSTBL.EQ.1) THEN
!c METSTBL = 0
!c GOTO 50
!c ENDIF
! *** SAVE RESULTS TO ARRAYS (units = mole/m3) ****************************
GAS(1) = GNH3 ! Gaseous aerosol species
GAS(2) = GHNO3
GAS(3) = GHCL
DO 10 I=1,7 ! Liquid aerosol species
AERLIQ(I) = MOLAL(I)
10 END DO
DO 20 I=1,NGASAQ
AERLIQ(7+1+I) = GASAQ(I)
20 END DO
AERLIQ(7+1) = WATER*1.0D3/18.0D0
AERLIQ(7+NGASAQ+2) = COH
DO 250 I=8,10 ! Liquid aerosol species
AERLIQ(I+5) = MOLAL(I)
250 END DO
AERSLD(1) = CNANO3 ! Solid aerosol species
AERSLD(2) = CNH4NO3
AERSLD(3) = CNACL
AERSLD(4) = CNH4CL
AERSLD(5) = CNA2SO4
AERSLD(6) = CNH42S4
AERSLD(7) = CNAHSO4
AERSLD(8) = CNH4HS4
AERSLD(9) = CLC
AERSLD(10) = CCASO4
AERSLD(11) = CCANO32
AERSLD(12) = CCACL2
AERSLD(13) = CK2SO4
AERSLD(14) = CKHSO4
AERSLD(15) = CKNO3
AERSLD(16) = CKCL
AERSLD(17) = CMGSO4
AERSLD(18) = CMGNO32
AERSLD(19) = CMGCL2
IF(WATER <= TINY) THEN ! Dry flag
OTHER(1) = 1.d0
ELSE
OTHER(1) = 0.d0
ENDIF
OTHER(2) = SULRAT ! Other stuff
OTHER(3) = SULRATW
OTHER(4) = SODRAT
OTHER(5) = IONIC
OTHER(6) = ICLACT
OTHER(7) = SO4RAT
OTHER(8) = CRNARAT
OTHER(9) = CRRAT
SCASI = SCASE
WT(1) = WI(1) ! Total gas+aerosol phase
WT(2) = WI(2)
WT(3) = WI(3)
WT(4) = WI(4)
WT(5) = WI(5)
WT(6) = WI(6)
WT(7) = WI(7)
WT(8) = WI(8)
IF (IPROB > 0 .AND. WATER > TINY) THEN
WT(3) = WT(3) + GNH3
WT(4) = WT(4) + GHNO3
WT(5) = WT(5) + GHCL
ENDIF
RETURN
! *** END OF SUBROUTINE ISOROPIA ******************************************
END SUBROUTINE ISOROPIA
!=======================================================================
! *** ISORROPIA CODE
! *** SUBROUTINE SETPARM
! *** THIS SUBROUTINE REDEFINES THE SOLUTION PARAMETERS OF ISORROPIA
! ======================== ARGUMENTS / USAGE ===========================
! *** NOTE: IF NEGATIVE VALUES ARE GIVEN FOR A PARAMETER, IT IS
! IGNORED AND THE CURRENT VALUE IS USED INSTEAD.
! INPUT:
! 1. [WFTYPI]
! INTEGER variable.
! Defines the type of weighting algorithm for the solution in Mutual
! Deliquescence Regions (MDR's):
! 0 - MDR's are assumed dry. This is equivalent to the approach
! used by SEQUILIB.
! 1 - The solution is assumed "half" dry and "half" wet throughout
! the MDR.
! 2 - The solution is a relative-humidity weighted mean of the
! dry and wet solutions (as defined in Nenes et al., 1998)
! 2. [IACALCI]
! INTEGER variable.
! Method of activity coefficient calculation:
! 0 - Calculate coefficients during runtime
! 1 - Use precalculated tables
! 3. [EPSI]
! DOUBLE PRECITION variable.
! Defines the convergence criterion for all iterative processes
! in ISORROPIA, except those for activity coefficient calculations
! (EPSACTI controls that).
! 4. [MAXITI]
! INTEGER variable.
! Defines the maximum number of iterations for all iterative
! processes in ISORROPIA, except for activity coefficient calculations
! (NSWEEPI controls that).
! 5. [NSWEEPI]
! INTEGER variable.
! Defines the maximum number of iterations for activity coefficient
! calculations.
! 6. [EPSACTI]
! real variable.
! Defines the convergence criterion for activity coefficient
! calculations.
! 7. [NDIV]
! INTEGER variable.
! Defines the number of subdivisions needed for the initial root
! tracking for the bisection method. Usually this parameter should
! not be altered, but is included for completeness.
! 8. [NADJ]
! INTEGER variable.
! Forces the solution obtained to satisfy total mass balance
! to machine precision
! 0 - No adjustment done (default)
! 1 - Do adjustment
! *** COPYRIGHT 1996-2006, UNIVERSITY OF MIAMI, CARNEGIE MELLON UNIVERSITY,
! *** GEORGIA INSTITUTE OF TECHNOLOGY
! *** WRITTEN BY ATHANASIOS NENES
! *** UPDATED BY CHRISTOS FOUNTOUKIS
!=======================================================================
SUBROUTINE SETPARM (WFTYPI, IACALCI, EPSI, MAXITI, NSWEEPI, &
EPSACTI, NDIVI, NADJI)
INCLUDE 'isrpia.inc'
INTEGER :: WFTYPI
! *** SETUP SOLUTION PARAMETERS *****************************************
IF (WFTYPI >= 0) WFTYP = WFTYPI
IF (IACALCI >= 0) IACALC = IACALCI
IF (EPSI >= ZERO) EPS = EPSI
IF (MAXITI > 0) MAXIT = MAXITI
IF (NSWEEPI > 0) NSWEEP = NSWEEPI
IF (EPSACTI >= ZERO) EPSACT = EPSACTI
IF (NDIVI > 0) NDIV = NDIVI
IF (NADJI >= 0) NADJ = NADJI
! *** END OF SUBROUTINE SETPARM *****************************************
RETURN
END SUBROUTINE SETPARM
!=======================================================================
! *** ISORROPIA CODE
! *** SUBROUTINE GETPARM
! *** THIS SUBROUTINE OBTAINS THE CURRENT VAULES OF THE SOLUTION
! PARAMETERS OF ISORROPIA
! ======================== ARGUMENTS / USAGE ===========================
! *** THE PARAMETERS ARE THOSE OF SUBROUTINE SETPARM
! *** COPYRIGHT 1996-2006, UNIVERSITY OF MIAMI, CARNEGIE MELLON UNIVERSITY,
! *** GEORGIA INSTITUTE OF TECHNOLOGY
! *** WRITTEN BY ATHANASIOS NENES
! *** UPDATED BY CHRISTOS FOUNTOUKIS
!=======================================================================
SUBROUTINE GETPARM (WFTYPI, IACALCI, EPSI, MAXITI, NSWEEPI, &
EPSACTI, NDIVI, NADJI)
INCLUDE 'isrpia.inc'
INTEGER :: WFTYPI
! *** GET SOLUTION PARAMETERS *******************************************
WFTYPI = WFTYP
IACALCI = IACALC
EPSI = EPS
MAXITI = MAXIT
NSWEEPI = NSWEEP
EPSACTI = EPSACT
NDIVI = NDIV
NADJI = NADJ
! *** END OF SUBROUTINE GETPARM *****************************************
RETURN
END SUBROUTINE GETPARM
!=======================================================================
! *** ISORROPIA CODE
! *** BLOCK DATA BLKISO
! *** THIS SUBROUTINE PROVIDES INITIAL (DEFAULT) VALUES TO PROGRAM
! PARAMETERS VIA DATA STATEMENTS
! *** COPYRIGHT 1996-2006, UNIVERSITY OF MIAMI, CARNEGIE MELLON UNIVERSITY,
! *** GEORGIA INSTITUTE OF TECHNOLOGY
! *** WRITTEN BY ATHANASIOS NENES
! *** UPDATED BY CHRISTOS FOUNTOUKIS
! *** ZSR RELATIONSHIP PARAMETERS MODIFIED BY DOUGLAS WALDRON
! *** OCTOBER 2003
! *** BASED ON AIM MODEL III (http://mae.ucdavis.edu/wexler/aim)
!=======================================================================
BLOCK DATA BLKISO
INCLUDE 'isrpia.inc'
! *** DEFAULT VALUES *************************************************
DATA TEMP/298.0/, R/82.0567D-6/, RH/0.9D0/, EPS/1D-6/, MAXIT/100/, &
TINY/1D-20/, GREAT/1D10/, ZERO/0.0D0/, ONE/1.0D0/,NSWEEP/4/, &
TINY2/1D-11/,NDIV/5/
DATA MOLAL/NIONS*0.0D0/, MOLALR/NPAIR*0.0D0/, GAMA/NPAIR*0.1D0/, &
GAMOU/NPAIR*1D10/, GAMIN/NPAIR*1D10/, CALAIN/ .TRUE. /, &
CALAOU/ .TRUE. /, EPSACT/5D-2/, ICLACT/0/, &
IACALC/1/, NADJ/0/, WFTYP/2/
DATA ERRSTK/NERRMX*0/, ERRMSG/NERRMX*' '/, NOFER/0/, &
STKOFL/ .FALSE. /
DATA IPROB/0/, METSTBL/0/
DATA VERSION /'2.1 (07/19/09)'/
! *** OTHER PARAMETERS ***********************************************
DATA SMW/58.5,142.,85.0,132.,80.0,53.5,98.0,98.0,115.,63.0, &
& 36.5,120.,247.,136.1,164.,111.,174.2,136.1,101.1,74.5, &
& 120.3,148.3,95.2/ &
IMW/ 1.0,23.0,18.0,35.5,96.0,97.0,62.0,40.1,39.1,24.3/ &
WMW/23.0,98.0,17.0,63.0,36.5,40.1,39.1,24.3/
DATA ZZ /1,2,1,2,1,1,2,1,1,1,1,1,2,4,2,2,2,1,1,1,4,2,2/ &
Z /1,1,1,1,2,1,1,2,1,2/
! *** ZSR RELATIONSHIP PARAMETERS **************************************
! awas= ammonium sulfate
DATA AWAS/10*187.72, &
& 158.13,134.41,115.37,100.10, 87.86, 78.00, 70.00, 63.45, 58.02, &
& 53.46, &
& 49.59, 46.26, 43.37, 40.84, 38.59, 36.59, 34.79, 33.16, 31.67, &
& 30.31, &
& 29.07, 27.91, 26.84, 25.84, 24.91, 24.03, 23.21, 22.44, 21.70, &
& 21.01, &
& 20.34, 19.71, 19.11, 18.54, 17.99, 17.46, 16.95, 16.46, 15.99, &
& 15.54, &
& 15.10, 14.67, 14.26, 13.86, 13.47, 13.09, 12.72, 12.36, 12.01, &
& 11.67, &
& 11.33, 11.00, 10.68, 10.37, 10.06, 9.75, 9.45, 9.15, 8.86, &
& 8.57, &
& 8.29, 8.01, 7.73, 7.45, 7.18, 6.91, 6.64, 6.37, 6.10, &
& 5.83, &
& 5.56, 5.29, 5.02, 4.74, 4.47, 4.19, 3.91, 3.63, 3.34, &
& 3.05, &
& 2.75, 2.45, 2.14, 1.83, 1.51, 1.19, 0.87, 0.56, 0.26, &
& 0.1/
! awsn= sodium nitrate
DATA AWSN/10*394.54, &
& 338.91,293.01,254.73,222.61,195.56,172.76,153.53,137.32,123.65, &
& 112.08, &
& 102.26, 93.88, 86.68, 80.45, 75.02, 70.24, 66.02, 62.26, 58.89, &
& 55.85, &
& 53.09, 50.57, 48.26, 46.14, 44.17, 42.35, 40.65, 39.06, 37.57, &
& 36.17, &
& 34.85, 33.60, 32.42, 31.29, 30.22, 29.20, 28.22, 27.28, 26.39, &
& 25.52, &
& 24.69, 23.89, 23.12, 22.37, 21.65, 20.94, 20.26, 19.60, 18.96, &
& 18.33, &
& 17.72, 17.12, 16.53, 15.96, 15.40, 14.85, 14.31, 13.78, 13.26, &
& 12.75, &
& 12.25, 11.75, 11.26, 10.77, 10.29, 9.82, 9.35, 8.88, 8.42, &
& 7.97, &
& 7.52, 7.07, 6.62, 6.18, 5.75, 5.32, 4.89, 4.47, 4.05, &
& 3.64, &
& 3.24, 2.84, 2.45, 2.07, 1.70, 1.34, 0.99, 0.65, 0.31, &
& 0.1/
! awsc= sodium chloride
DATA AWSC/10*28.16, &
& 27.17, 26.27, 25.45, 24.69, 23.98, 23.33, 22.72, 22.14, 21.59, &
& 21.08, &
& 20.58, 20.12, 19.67, 19.24, 18.82, 18.43, 18.04, 17.67, 17.32, &
& 16.97, &
& 16.63, 16.31, 15.99, 15.68, 15.38, 15.08, 14.79, 14.51, 14.24, &
& 13.97, &
& 13.70, 13.44, 13.18, 12.93, 12.68, 12.44, 12.20, 11.96, 11.73, &
& 11.50, &
& 11.27, 11.05, 10.82, 10.60, 10.38, 10.16, 9.95, 9.74, 9.52, &
& 9.31, &
& 9.10, 8.89, 8.69, 8.48, 8.27, 8.07, 7.86, 7.65, 7.45, &
& 7.24, &
& 7.04, 6.83, 6.62, 6.42, 6.21, 6.00, 5.79, 5.58, 5.36, &
& 5.15, &
& 4.93, 4.71, 4.48, 4.26, 4.03, 3.80, 3.56, 3.32, 3.07, &
& 2.82, &
& 2.57, 2.30, 2.04, 1.76, 1.48, 1.20, 0.91, 0.61, 0.30, &
& 0.1/
! awac= ammonium chloride
DATA AWAC/10*1209.00, &
& 1067.60,949.27,848.62,761.82,686.04,619.16,559.55,505.92,457.25, &
& 412.69, &
& 371.55,333.21,297.13,262.81,229.78,197.59,165.98,135.49,108.57, &
& 88.29, &
& 74.40, 64.75, 57.69, 52.25, 47.90, 44.30, 41.27, 38.65, 36.36, &
& 34.34, &
& 32.52, 30.88, 29.39, 28.02, 26.76, 25.60, 24.51, 23.50, 22.55, &
& 21.65, &
& 20.80, 20.00, 19.24, 18.52, 17.83, 17.17, 16.54, 15.93, 15.35, &
& 14.79, &
& 14.25, 13.73, 13.22, 12.73, 12.26, 11.80, 11.35, 10.92, 10.49, &
& 10.08, &
& 9.67, 9.28, 8.89, 8.51, 8.14, 7.77, 7.42, 7.06, 6.72, &
& 6.37, &
& 6.03, 5.70, 5.37, 5.05, 4.72, 4.40, 4.08, 3.77, 3.45, &
& 3.14, &
& 2.82, 2.51, 2.20, 1.89, 1.57, 1.26, 0.94, 0.62, 0.31, &
& 0.1/
! awss= sodium sulfate
DATA AWSS/10*24.10, &
& 23.17, 22.34, 21.58, 20.90, 20.27, 19.69, 19.15, 18.64, 18.17, &
& 17.72, &
& 17.30, 16.90, 16.52, 16.16, 15.81, 15.48, 15.16, 14.85, 14.55, &
& 14.27, &
& 13.99, 13.73, 13.47, 13.21, 12.97, 12.73, 12.50, 12.27, 12.05, &
& 11.84, &
& 11.62, 11.42, 11.21, 11.01, 10.82, 10.63, 10.44, 10.25, 10.07, &
& 9.89, &
& 9.71, 9.53, 9.36, 9.19, 9.02, 8.85, 8.68, 8.51, 8.35, &
& 8.19, &
& 8.02, 7.86, 7.70, 7.54, 7.38, 7.22, 7.06, 6.90, 6.74, &
& 6.58, &
& 6.42, 6.26, 6.10, 5.94, 5.78, 5.61, 5.45, 5.28, 5.11, &
& 4.93, &
& 4.76, 4.58, 4.39, 4.20, 4.01, 3.81, 3.60, 3.39, 3.16, &
& 2.93, &
& 2.68, 2.41, 2.13, 1.83, 1.52, 1.19, 0.86, 0.54, 0.25, &
& 0.1/
! awab= ammonium bisulfate
DATA AWAB/10*312.84, &
& 271.43,237.19,208.52,184.28,163.64,145.97,130.79,117.72,106.42, &
& 96.64, &
& 88.16, 80.77, 74.33, 68.67, 63.70, 59.30, 55.39, 51.89, 48.76, &
& 45.93, &
& 43.38, 41.05, 38.92, 36.97, 35.18, 33.52, 31.98, 30.55, 29.22, &
& 27.98, &
& 26.81, 25.71, 24.67, 23.70, 22.77, 21.90, 21.06, 20.27, 19.52, &
& 18.80, &
& 18.11, 17.45, 16.82, 16.21, 15.63, 15.07, 14.53, 14.01, 13.51, &
& 13.02, &
& 12.56, 12.10, 11.66, 11.24, 10.82, 10.42, 10.04, 9.66, 9.29, &
& 8.93, &
& 8.58, 8.24, 7.91, 7.58, 7.26, 6.95, 6.65, 6.35, 6.05, &
& 5.76, &
& 5.48, 5.20, 4.92, 4.64, 4.37, 4.09, 3.82, 3.54, 3.27, &
& 2.99, &
& 2.70, 2.42, 2.12, 1.83, 1.52, 1.22, 0.90, 0.59, 0.28, &
& 0.1/
! awsa= sulfuric acid
DATA AWSA/34.00, 33.56, 29.22, 26.55, 24.61, 23.11, 21.89, 20.87, &
& 19.99, 18.45, &
& 17.83, 17.26, 16.73, 16.25, 15.80, 15.38, 14.98, 14.61, 14.26, &
& 13.93, &
& 13.61, 13.30, 13.01, 12.73, 12.47, 12.21, 11.96, 11.72, 11.49, &
& 11.26, &
& 11.04, 10.83, 10.62, 10.42, 10.23, 10.03, 9.85, 9.67, 9.49, &
& 9.31, &
& 9.14, 8.97, 8.81, 8.65, 8.49, 8.33, 8.18, 8.02, 7.87, &
& 7.73, &
& 7.58, 7.44, 7.29, 7.15, 7.01, 6.88, 6.74, 6.61, 6.47, &
& 6.34, &
& 6.21, 6.07, 5.94, 5.81, 5.68, 5.55, 5.43, 5.30, 5.17, &
& 5.04, &
& 4.91, 4.78, 4.65, 4.52, 4.39, 4.26, 4.13, 4.00, 3.86, &
& 3.73, &
& 3.59, 3.45, 3.31, 3.17, 3.02, 2.87, 2.71, 2.56, 2.39, &
& 2.22, &
& 2.05, 1.87, 1.68, 1.48, 1.27, 1.04, 0.80, 0.55, 0.28, &
& 0.1/
! awlc= (NH4)3H(SO4)2
DATA AWLC/10*125.37, &
& 110.10, 97.50, 86.98, 78.08, 70.49, 63.97, 58.33, 53.43, 49.14, &
& 45.36, &
& 42.03, 39.07, 36.44, 34.08, 31.97, 30.06, 28.33, 26.76, 25.32, &
& 24.01, &
& 22.81, 21.70, 20.67, 19.71, 18.83, 18.00, 17.23, 16.50, 15.82, &
& 15.18, &
& 14.58, 14.01, 13.46, 12.95, 12.46, 11.99, 11.55, 11.13, 10.72, &
& 10.33, &
& 9.96, 9.60, 9.26, 8.93, 8.61, 8.30, 8.00, 7.72, 7.44, &
& 7.17, &
& 6.91, 6.66, 6.42, 6.19, 5.96, 5.74, 5.52, 5.31, 5.11, &
& 4.91, &
& 4.71, 4.53, 4.34, 4.16, 3.99, 3.81, 3.64, 3.48, 3.31, &
& 3.15, &
& 2.99, 2.84, 2.68, 2.53, 2.37, 2.22, 2.06, 1.91, 1.75, &
& 1.60, &
& 1.44, 1.28, 1.12, 0.95, 0.79, 0.62, 0.45, 0.29, 0.14, &
& 0.1/
! awan= ammonium nitrate
DATA AWAN/10*960.19, &
& 853.15,763.85,688.20,623.27,566.92,517.54,473.91,435.06,400.26, &
& 368.89, &
& 340.48,314.63,291.01,269.36,249.46,231.11,214.17,198.50,184.00, &
& 170.58, &
& 158.15,146.66,136.04,126.25,117.24,108.97,101.39, 94.45, 88.11, &
& 82.33, &
& 77.06, 72.25, 67.85, 63.84, 60.16, 56.78, 53.68, 50.81, 48.17, &
& 45.71, &
& 43.43, 41.31, 39.32, 37.46, 35.71, 34.06, 32.50, 31.03, 29.63, &
& 28.30, &
& 27.03, 25.82, 24.67, 23.56, 22.49, 21.47, 20.48, 19.53, 18.61, &
& 17.72, &
& 16.86, 16.02, 15.20, 14.41, 13.64, 12.89, 12.15, 11.43, 10.73, &
& 10.05, &
& 9.38, 8.73, 8.09, 7.47, 6.86, 6.27, 5.70, 5.15, 4.61, &
& 4.09, &
& 3.60, 3.12, 2.66, 2.23, 1.81, 1.41, 1.03, 0.67, 0.32, &
& 0.1/
! awsb= sodium bisulfate
DATA AWSB/10*55.99, &
& 53.79, 51.81, 49.99, 48.31, 46.75, 45.28, 43.91, 42.62, 41.39, &
& 40.22, &
& 39.10, 38.02, 36.99, 36.00, 35.04, 34.11, 33.21, 32.34, 31.49, &
& 30.65, &
& 29.84, 29.04, 28.27, 27.50, 26.75, 26.01, 25.29, 24.57, 23.87, &
& 23.17, &
& 22.49, 21.81, 21.15, 20.49, 19.84, 19.21, 18.58, 17.97, 17.37, &
& 16.77, &
& 16.19, 15.63, 15.08, 14.54, 14.01, 13.51, 13.01, 12.53, 12.07, &
& 11.62, &
& 11.19, 10.77, 10.36, 9.97, 9.59, 9.23, 8.87, 8.53, 8.20, &
& 7.88, &
& 7.57, 7.27, 6.97, 6.69, 6.41, 6.14, 5.88, 5.62, 5.36, &
& 5.11, &
& 4.87, 4.63, 4.39, 4.15, 3.92, 3.68, 3.45, 3.21, 2.98, &
& 2.74, &
& 2.49, 2.24, 1.98, 1.72, 1.44, 1.16, 0.87, 0.57, 0.28, &
& 0.1/
! awpc= potassium chloride
DATA AWPC/172.62, 165.75, 159.10, 152.67, 146.46, 140.45, 134.64, &
& 129.03, 123.61, 118.38, 113.34, 108.48, 103.79, 99.27, &
& 94.93, 90.74, 86.71, 82.84, 79.11, 75.53, 72.09, 68.79, &
& 65.63, 62.59, 59.68, 56.90, 54.23, 51.68, 49.24, 46.91, &
& 44.68, 42.56, 40.53, 38.60, 36.76, 35.00, 33.33, 31.75, &
& 30.24, 28.81, 27.45, 26.16, 24.94, 23.78, 22.68, 21.64, &
& 20.66, 19.74, 18.86, 18.03, 17.25, 16.51, 15.82, 15.16, &
& 14.54, 13.96, 13.41, 12.89, 12.40, 11.94, 11.50, 11.08, &
& 10.69, 10.32, 9.96, 9.62, 9.30, 8.99, 8.69, 8.40, 8.12, &
& 7.85, 7.59, 7.33, 7.08, 6.83, 6.58, 6.33, 6.08, 5.84, &
& 5.59, 5.34, 5.09, 4.83, 4.57, 4.31, 4.04, 3.76, 3.48, &
& 3.19, 2.90, 2.60, 2.29, 1.98, 1.66, 1.33, 0.99, 0.65, &
& 0.30, 0.1/
! awps= potassium sulfate
DATA AWPS/1014.82, 969.72, 926.16, 884.11, 843.54, 804.41, 766.68, &
& 730.32, 695.30, 661.58, 629.14, 597.93, 567.92, 539.09, &
& 511.41, 484.83, 459.34, 434.89, 411.47, 389.04, 367.58, &
& 347.05, 327.43, 308.69, 290.80, 273.73, 257.47, 241.98, &
& 227.24, 213.22, 199.90, 187.26, 175.27, 163.91, 153.15, &
& 142.97, 133.36, 124.28, 115.73, 107.66, 100.08, 92.95, &
& 86.26, 79.99, 74.12, 68.63, 63.50, 58.73, 54.27, 50.14, &
& 46.30, 42.74, 39.44, 36.40, 33.59, 31.00, 28.63, 26.45, &
& 24.45, 22.62, 20.95, 19.43, 18.05, 16.79, 15.64, 14.61, &
& 13.66, 12.81, 12.03, 11.33, 10.68, 10.09, 9.55, 9.06, &
& 8.60, 8.17, 7.76, 7.38, 7.02, 6.66, 6.32, 5.98, 5.65, &
& 5.31, 4.98, 4.64, 4.31, 3.96, 3.62, 3.27, 2.92, 2.57, &
& 2.22, 1.87, 1.53, 1.20, 0.87, 0.57, 0.28, 0.1/
! awpn= potassium nitrate
DATA AWPN/44*1000.00, 953.05, 881.09, 813.39, &
& 749.78, 690.09, 634.14, 581.77, 532.83, 487.16, 444.61, &
& 405.02, 368.26, 334.18, 302.64, 273.51, 246.67, 221.97, &
& 199.31, 178.56, 159.60, 142.33, 126.63, 112.40, 99.54, &
& 87.96, 77.55, 68.24, 59.92, 52.53, 45.98, 40.2, 35.11, &
& 30.65, 26.75, 23.35, 20.40, 17.85, 15.63, 13.72, 12.06, &
& 10.61, 9.35, 8.24, 7.25, 6.37, 5.56, 4.82, 4.12, 3.47, &
& 2.86, 2.28, 1.74, 1.24, 0.79, 0.40, 0.1/
! awpb= potassium bisulfate
DATA AWPB/10*55.99, &
& 53.79, 51.81, 49.99, 48.31, 46.75, 45.28, 43.91, 42.62, 41.39, &
& 40.22, &
& 39.10, 38.02, 36.99, 36.00, 35.04, 34.11, 33.21, 32.34, 31.49, &
& 30.65, &
& 29.84, 29.04, 28.27, 27.50, 26.75, 26.01, 25.29, 24.57, 23.87, &
& 23.17, &
& 22.49, 21.81, 21.15, 20.49, 19.84, 19.21, 18.58, 17.97, 17.37, &
& 16.77, &
& 16.19, 15.63, 15.08, 14.54, 14.01, 13.51, 13.01, 12.53, 12.07, &
& 11.62, &
& 11.19, 10.77, 10.36, 9.97, 9.59, 9.23, 8.87, 8.53, 8.20, &
& 7.88, &
& 7.57, 7.27, 6.97, 6.69, 6.41, 6.14, 5.88, 5.62, 5.36, &
& 5.11, &
& 4.87, 4.63, 4.39, 4.15, 3.92, 3.68, 3.45, 3.21, 2.98, &
& 2.74, &
& 2.49, 2.24, 1.98, 1.72, 1.44, 1.16, 0.87, 0.57, 0.28, &
& 0.1/
! awcc= calcium chloride
DATA AWCC/19.9, 19.0, 18.15, 17.35, 16.6, 15.89, 15.22, 14.58, &
& 13.99, 13.43, 12.90, 12.41, 11.94, 11.50, 11.09, 10.7, &
& 10.34, 9.99, 9.67, 9.37, 9.09, 8.83, 8.57, 8.34, 8.12, &
& 7.91, 7.71, 7.53, 7.35, 7.19, 7.03, 6.88, 6.74, 6.6, &
& 6.47, 6.35, 6.23, 6.12, 6.01, 5.90, 5.80, 5.70, 5.61, &
& 5.51, 5.42, 5.33, 5.24, 5.16, 5.07, 4.99, 4.91, 4.82, &
& 4.74, 4.66, 4.58, 4.50, 4.42, 4.34, 4.26, 4.19, 4.11, &
& 4.03, 3.95, 3.87, 3.79, 3.72, 3.64, 3.56, 3.48, 3.41, &
& 3.33, 3.25, 3.17, 3.09, 3.01, 2.93, 2.85, 2.76, 2.68, &
& 2.59, 2.50, 2.41, 2.32, 2.23, 2.13, 2.03, 1.93, 1.82, &
& 1.71, 1.59, 1.47, 1.35, 1.22, 1.07, 0.93, 0.77, 0.61, &
& 0.44, 0.25, 0.1/
! awcn= calcium nitrate
DATA AWCN/32.89, 31.46, 30.12, 28.84, 27.64, 26.51, 25.44, 24.44, &
& 23.49, 22.59, 21.75, 20.96, 20.22, 19.51, 18.85, 18.23, &
& 17.64, 17.09, 16.56, 16.07, 15.61, 15.17, 14.75, 14.36, &
& 13.99, 13.63, 13.3, 12.98, 12.68, 12.39, 12.11, 11.84, &
& 11.59, 11.35, 11.11, 10.88, 10.66, 10.45, 10.24, 10.04, &
& 9.84, 9.65, 9.46, 9.28, 9.1, 8.92, 8.74, 8.57, 8.4, &
& 8.23, 8.06, 7.9, 7.73, 7.57, 7.41, 7.25, 7.1,6.94, 6.79, &
& 6.63, 6.48, 6.33, 6.18, 6.03, 5.89, 5.74, 5.60, 5.46, &
& 5.32, 5.17, 5.04, 4.9, 4.76, 4.62, 4.49, 4.35, 4.22, &
& 4.08, 3.94, 3.80, 3.66, 3.52, 3.38, 3.23, 3.08, 2.93, &
& 2.77, 2.60, 2.43, 2.25, 2.07, 1.87, 1.67, 1.45, 1.22, &
& 0.97, 0.72, 0.44, 0.14, 0.1/
! awmc= magnesium chloride
DATA AWMC/11.24, 10.99, 10.74, 10.5, 10.26, 10.03, 9.81, 9.59, &
& 9.38, 9.18, 8.98, 8.79, 8.60, 8.42, 8.25, 8.07, 7.91, &
& 7.75, 7.59, 7.44, 7.29, 7.15, 7.01, 6.88, 6.75, 6.62, &
& 6.5, 6.38, 6.27, 6.16, 6.05, 5.94, 5.85, 5.75, 5.65, &
& 5.56, 5.47, 5.38, 5.30, 5.22, 5.14, 5.06, 4.98, 4.91, &
& 4.84, 4.77, 4.7, 4.63, 4.57, 4.5, 4.44, 4.37, 4.31, &
& 4.25, 4.19, 4.13, 4.07, 4.01, 3.95, 3.89, 3.83, 3.77, &
& 3.71, 3.65, 3.58, 3.52, 3.46, 3.39, 3.33, 3.26, 3.19, &
& 3.12, 3.05, 2.98, 2.9, 2.82, 2.75, 2.67, 2.58, 2.49, &
& 2.41, 2.32, 2.22, 2.13, 2.03, 1.92, 1.82, 1.71, 1.60, &
& 1.48, 1.36, 1.24, 1.11, 0.98, 0.84, 0.70, 0.56, 0.41, &
& 0.25, 0.1/
! awmn= magnesium nitrate
DATA AWMN/12.00, 11.84, 11.68, 11.52, 11.36, 11.2, 11.04, 10.88, &
& 10.72, 10.56, 10.40, 10.25, 10.09, 9.93, 9.78, 9.63, &
& 9.47, 9.32, 9.17, 9.02, 8.87, 8.72, 8.58, 8.43, 8.29, &
& 8.15, 8.01, 7.87, 7.73, 7.59, 7.46, 7.33, 7.2, 7.07, &
& 6.94, 6.82, 6.69, 6.57, 6.45, 6.33, 6.21, 6.01, 5.98, &
& 5.87, 5.76, 5.65, 5.55, 5.44, 5.34, 5.24, 5.14, 5.04, &
& 4.94, 4.84, 4.75, 4.66, 4.56, 4.47, 4.38, 4.29, 4.21, &
& 4.12, 4.03, 3.95, 3.86, 3.78, 3.69, 3.61, 3.53, 3.45, &
& 3.36, 3.28, 3.19, 3.11, 3.03, 2.94, 2.85, 2.76, 2.67, &
& 2.58, 2.49, 2.39, 2.3, 2.2, 2.1, 1.99, 1.88, 1.77, 1.66, &
& 1.54, 1.42, 1.29, 1.16, 1.02, 0.88, 0.73, 0.58, 0.42, &
& 0.25, 0.1/
! awmn= magnesium sulfate
DATA AWMS/0.93, 2.5, 3.94, 5.25, 6.45, 7.54, 8.52, 9.40, 10.19, &
& 10.89, 11.50, 12.04, 12.51, 12.90, 13.23, 13.50, 13.72, &
& 13.88, 13.99, 14.07, 14.1, 14.09, 14.05, 13.98, 13.88, &
& 13.75, 13.6, 13.43, 13.25, 13.05, 12.83, 12.61, 12.37, &
& 12.13, 11.88, 11.63, 11.37, 11.12, 10.86, 10.60, 10.35, &
& 10.09, 9.85, 9.6, 9.36, 9.13, 8.9, 8.68, 8.47, 8.26, &
& 8.07, 7.87, 7.69, 7.52, 7.35, 7.19, 7.03, 6.89, 6.75, &
& 6.62, 6.49, 6.37, 6.26, 6.15, 6.04, 5.94, 5.84, 5.75, &
& 5.65, 5.56, 5.47, 5.38, 5.29, 5.20, 5.11, 5.01, 4.92, &
& 4.82, 4.71, 4.60, 4.49, 4.36, 4.24, 4.10, 3.96, 3.81, &
& 3.65, 3.48, 3.30, 3.11, 2.92, 2.71, 2.49, 2.26, 2.02, &
& 1.76, 1.50, 1.22, 0.94, 0.64/
! *** ZSR RELATIONSHIP PARAMETERS **************************************
! awas= ammonium sulfate
! DATA AWAS/33*100.,30,30,30,29.54,28.25,27.06,25.94,
! & 24.89,23.90,22.97,22.10,21.27,20.48,19.73,19.02,18.34,17.69,
! & 17.07,16.48,15.91,15.37,14.85,14.34,13.86,13.39,12.94,12.50,
! & 12.08,11.67,11.27,10.88,10.51,10.14, 9.79, 9.44, 9.10, 8.78,
! & 8.45, 8.14, 7.83, 7.53, 7.23, 6.94, 6.65, 6.36, 6.08, 5.81,
! & 5.53, 5.26, 4.99, 4.72, 4.46, 4.19, 3.92, 3.65, 3.38, 3.11,
! & 2.83, 2.54, 2.25, 1.95, 1.63, 1.31, 0.97, 0.63, 0.30, 0.001/
! awsn= sodium nitrate
! DATA AWSN/ 9*1.e5,685.59,
! & 451.00,336.46,268.48,223.41,191.28,
! & 167.20,148.46,133.44,121.12,110.83,
! & 102.09,94.57,88.03,82.29,77.20,72.65,68.56,64.87,61.51,58.44,
! & 55.62,53.03,50.63,48.40,46.32,44.39,42.57,40.87,39.27,37.76,
! & 36.33,34.98,33.70,32.48,31.32,30.21,29.16,28.14,27.18,26.25,
! & 25.35,24.50,23.67,22.87,22.11,21.36,20.65,19.95,19.28,18.62,
! & 17.99,17.37,16.77,16.18,15.61,15.05,14.51,13.98,13.45,12.94,
! & 12.44,11.94,11.46,10.98,10.51,10.04, 9.58, 9.12, 8.67, 8.22,
! & 7.77, 7.32, 6.88, 6.43, 5.98, 5.53, 5.07, 4.61, 4.15, 3.69,
! & 3.22, 2.76, 2.31, 1.87, 1.47, 1.10, 0.77, 0.48, 0.23, 0.001/
! awsc= sodium chloride
! DATA AWSC/
! & 100., 100., 100., 100., 100., 100., 100., 100., 100., 100.,
! & 100., 100., 100., 100., 100., 100., 100., 100., 100.,16.34,
! & 16.28,16.22,16.15,16.09,16.02,15.95,15.88,15.80,15.72,15.64,
! & 15.55,15.45,15.36,15.25,15.14,15.02,14.89,14.75,14.60,14.43,
! & 14.25,14.04,13.81,13.55,13.25,12.92,12.56,12.19,11.82,11.47,
! & 11.13,10.82,10.53,10.26,10.00, 9.76, 9.53, 9.30, 9.09, 8.88,
! & 8.67, 8.48, 8.28, 8.09, 7.90, 7.72, 7.54, 7.36, 7.17, 6.99,
! & 6.81, 6.63, 6.45, 6.27, 6.09, 5.91, 5.72, 5.53, 5.34, 5.14,
! & 4.94, 4.74, 4.53, 4.31, 4.09, 3.86, 3.62, 3.37, 3.12, 2.85,
! & 2.58, 2.30, 2.01, 1.72, 1.44, 1.16, 0.89, 0.64, 0.40, 0.18/
! awac= ammonium chloride
! DATA AWAC/
! & 100., 100., 100., 100., 100., 100., 100., 100., 100., 100.,
! & 100., 100., 100., 100., 100., 100., 100., 100., 100.,31.45,
! & 31.30,31.14,30.98,30.82,30.65,30.48,30.30,30.11,29.92,29.71,
! & 29.50,29.29,29.06,28.82,28.57,28.30,28.03,27.78,27.78,27.77,
! & 27.77,27.43,27.07,26.67,26.21,25.73,25.18,24.56,23.84,23.01,
! & 22.05,20.97,19.85,18.77,17.78,16.89,16.10,15.39,14.74,14.14,
! & 13.59,13.06,12.56,12.09,11.65,11.22,10.81,10.42,10.03, 9.66,
! & 9.30, 8.94, 8.59, 8.25, 7.92, 7.59, 7.27, 6.95, 6.63, 6.32,
! & 6.01, 5.70, 5.39, 5.08, 4.78, 4.47, 4.17, 3.86, 3.56, 3.25,
! & 2.94, 2.62, 2.30, 1.98, 1.65, 1.32, 0.97, 0.62, 0.26, 0.13/
! awss= sodium sulfate
! DATA AWSS/34*1.e5,23*14.30,14.21,12.53,11.47,
! & 10.66,10.01, 9.46, 8.99, 8.57, 8.19, 7.85, 7.54, 7.25, 6.98,
! & 6.74, 6.50, 6.29, 6.08, 5.88, 5.70, 5.52, 5.36, 5.20, 5.04,
! & 4.90, 4.75, 4.54, 4.34, 4.14, 3.93, 3.71, 3.49, 3.26, 3.02,
! & 2.76, 2.49, 2.20, 1.89, 1.55, 1.18, 0.82, 0.49, 0.22, 0.001/
! awab= ammonium bisulfate
! DATA AWAB/356.45,296.51,253.21,220.47,194.85,
! & 174.24,157.31,143.16,131.15,120.82,
! & 111.86,103.99,97.04,90.86,85.31,80.31,75.78,71.66,67.90,64.44,
! & 61.25,58.31,55.58,53.04,50.68,48.47,46.40,44.46,42.63,40.91,
! & 39.29,37.75,36.30,34.92,33.61,32.36,31.18,30.04,28.96,27.93,
! & 26.94,25.99,25.08,24.21,23.37,22.57,21.79,21.05,20.32,19.63,
! & 18.96,18.31,17.68,17.07,16.49,15.92,15.36,14.83,14.31,13.80,
! & 13.31,12.83,12.36,11.91,11.46,11.03,10.61,10.20, 9.80, 9.41,
! & 9.02, 8.64, 8.28, 7.91, 7.56, 7.21, 6.87, 6.54, 6.21, 5.88,
! & 5.56, 5.25, 4.94, 4.63, 4.33, 4.03, 3.73, 3.44, 3.14, 2.85,
! & 2.57, 2.28, 1.99, 1.71, 1.42, 1.14, 0.86, 0.57, 0.29, 0.001/
! awsa= sulfuric acid
! DATA AWSA/
! & 34.0,33.56,29.22,26.55,24.61,23.11,21.89,20.87,19.99,
! & 19.21,18.51,17.87,17.29,16.76,16.26,15.8,15.37,14.95,14.56,
! & 14.20,13.85,13.53,13.22,12.93,12.66,12.40,12.14,11.90,11.67,
! & 11.44,11.22,11.01,10.8,10.60,10.4,10.2,10.01,9.83,9.65,9.47,
! & 9.3,9.13,8.96,8.81,8.64,8.48,8.33,8.17,8.02,7.87,7.72,7.58,
! & 7.44,7.30,7.16,7.02,6.88,6.75,6.61,6.48,6.35,6.21,6.08,5.95,
! & 5.82,5.69,5.56,5.44,5.31,5.18,5.05,4.92,4.79,4.66,4.53,4.40,
! & 4.27,4.14,4.,3.87,3.73,3.6,3.46,3.31,3.17,3.02,2.87,2.72,
! & 2.56,2.4,2.23,2.05,1.87,1.68,1.48,1.27,1.05,0.807,0.552,0.281/
! awlc= (NH4)3H(SO4)2
! DATA AWLC/34*1.e5,17.0,16.5,15.94,15.31,14.71,14.14,
! & 13.60,13.08,12.59,12.12,11.68,11.25,10.84,10.44,10.07, 9.71,
! & 9.36, 9.02, 8.70, 8.39, 8.09, 7.80, 7.52, 7.25, 6.99, 6.73,
! & 6.49, 6.25, 6.02, 5.79, 5.57, 5.36, 5.15, 4.95, 4.76, 4.56,
! & 4.38, 4.20, 4.02, 3.84, 3.67, 3.51, 3.34, 3.18, 3.02, 2.87,
! & 2.72, 2.57, 2.42, 2.28, 2.13, 1.99, 1.85, 1.71, 1.57, 1.43,
! & 1.30, 1.16, 1.02, 0.89, 0.75, 0.61, 0.46, 0.32, 0.16, 0.001/
! awan= ammonium nitrate
! DATA AWAN/31*1.e5,
! & 97.17,92.28,87.66,83.15,78.87,74.84,70.98,67.46,64.11,
! & 60.98,58.07,55.37,52.85,50.43,48.24,46.19,44.26,42.40,40.70,
! & 39.10,37.54,36.10,34.69,33.35,32.11,30.89,29.71,28.58,27.46,
! & 26.42,25.37,24.33,23.89,22.42,21.48,20.56,19.65,18.76,17.91,
! & 17.05,16.23,15.40,14.61,13.82,13.03,12.30,11.55,10.83,10.14,
! & 9.44, 8.79, 8.13, 7.51, 6.91, 6.32, 5.75, 5.18, 4.65, 4.14,
! & 3.65, 3.16, 2.71, 2.26, 1.83, 1.42, 1.03, 0.66, 0.30, 0.001/
! awsb= sodium bisulfate
! DATA AWSB/173.72,156.88,142.80,130.85,120.57,
! & 111.64,103.80,96.88,90.71,85.18,
! & 80.20,75.69,71.58,67.82,64.37,61.19,58.26,55.53,53.00,50.64,
! & 48.44,46.37,44.44,42.61,40.90,39.27,37.74,36.29,34.91,33.61,
! & 32.36,31.18,30.05,28.97,27.94,26.95,26.00,25.10,24.23,23.39,
! & 22.59,21.81,21.07,20.35,19.65,18.98,18.34,17.71,17.11,16.52,
! & 15.95,15.40,14.87,14.35,13.85,13.36,12.88,12.42,11.97,11.53,
! & 11.10,10.69,10.28, 9.88, 9.49, 9.12, 8.75, 8.38, 8.03, 7.68,
! & 7.34, 7.01, 6.69, 6.37, 6.06, 5.75, 5.45, 5.15, 4.86, 4.58,
! & 4.30, 4.02, 3.76, 3.49, 3.23, 2.98, 2.73, 2.48, 2.24, 2.01,
! & 1.78, 1.56, 1.34, 1.13, 0.92, 0.73, 0.53, 0.35, 0.17, 0.001/
! *** END OF BLOCK DATA SUBPROGRAM *************************************
END
!=======================================================================
! *** ISORROPIA CODE
! *** SUBROUTINE INIT1
! *** THIS SUBROUTINE INITIALIZES ALL GLOBAL VARIABLES FOR AMMONIUM
! SULFATE AEROSOL SYSTEMS (SUBROUTINE ISRP1)
! *** COPYRIGHT 1996-2006, UNIVERSITY OF MIAMI, CARNEGIE MELLON UNIVERSITY,
! *** GEORGIA INSTITUTE OF TECHNOLOGY
! *** WRITTEN BY ATHANASIOS NENES
! *** UPDATED BY CHRISTOS FOUNTOUKIS
!=======================================================================
SUBROUTINE INIT1 (WI, RHI, TEMPI)
INCLUDE 'isrpia.inc'
DIMENSION WI(NCOMP)
REAL :: IC,GII,GI0,XX,LN10
PARAMETER (LN10=2.3025851)
! *** SAVE INPUT VARIABLES IN COMMON BLOCK ******************************
IF (IPROB == 0) THEN ! FORWARD CALCULATION
DO 10 I=1,NCOMP
W(I) = MAX(WI(I), TINY)
10 END DO
ELSE
DO 15 I=1,NCOMP ! REVERSE CALCULATION
WAER(I) = MAX(WI(I), TINY)
W(I) = ZERO
15 END DO
ENDIF
RH = RHI
TEMP = TEMPI
! *** CALCULATE EQUILIBRIUM CONSTANTS ***********************************