Beruflich Dokumente
Kultur Dokumente
QM-System
Psychrometric Calculations
ME
DV04-271
Seite:1 / 22
Psychrometric Calculations
Dok-Verz: K:\TD\QM
Version: 1
ROTRONIC AG
Psychrometric Calculations
QM-System
ME
DV04-271
Seite:2 / 22
Dok-Verz: K:\TD\QM
Version: 1
ROTRONIC AG
Psychrometric Calculations
QM-System
ME
DV04-271
Seite:3 / 22
Dok-Verz: K:\TD\QM
Version: 1
ROTRONIC AG
Psychrometric Calculations
QM-System
ME
DV04-271
Seite:4 / 22
Dok-Verz: K:\TD\QM
Version: 1
ROTRONIC AG
Psychrometric Calculations
QM-System
ME
DV04-271
Seite:5 / 22
Dok-Verz: K:\TD\QM
Version: 1
ROTRONIC AG
Psychrometric Calculations
QM-System
ME
DV04-271
Seite:6 / 22
Equation
hPa
0
-10
-20
-30
-40
-50
Smith. Table
hPa
difference
hPa
difference
ppm
difference
%
6.1060
2.8619
1.2539
0.5092
0.1897
0.0640
6.1078
2.8627
1.2540
0.5088
0.1891
0.0636
-0.001795
-0.000831
-0.000070
0.000363
0.000560
0.000473
-294
-290
-56
713
2'961
7'442
-0.0294
-0.0290
-0.0056
0.0713
0.2961
0.7442
0
10
20
30
40
50
60
70
80
90
100
Equation
hPa
6.1060
12.270
23.370
42.428
73.777
123.401
199.275
311.718
473.707
701.175
1'013.250
Smith. Table
hPa
6.1078
12.272
23.373
42.430
73.777
123.40
199.26
311.69
473.67
701.13
1'013.25
difference
hPa
-0.001795
-0.002435
-0.003234
-0.002201
0.000489
0.000780
0.015421
0.027926
0.037397
0.044561
0.000000
difference
ppm
-294
-198
-138
-52
7
6
77
90
79
64
0
difference
%
-0.0294
-0.0198
-0.0138
-0.0052
0.0007
0.0006
0.0077
0.0090
0.0079
0.0064
0.0000
deg C
110
120
130
140
150
160
170
180
190
200
Equation
hPa
1'432.462
1'984.887
2'700.254
3'612.017
4'757.399
6'177.438
7'917.033
10'025.010
12'554.273
15'561.960
difference
hPa
-0.167181
-0.470187
-0.991146
-2.246606
-2.850628
-3.388464
-3.544126
-1.101125
4.155527
17.688068
difference
ppm
-117
-237
-367
-622
-599
-548
-447
-110
331
1'138
difference
%
-0.0117
-0.0237
-0.0367
-0.0622
-0.0599
-0.0548
-0.0447
-0.0110
0.0331
0.1138
deg C
Dok-Verz: K:\TD\QM
Int. Critical
Int. Critical Table
Table
mmHg
h Pa
1'432.629
1'074.56
1'985.357
1'489.14
2'701.245
2'026.10
3'614.264
2'710.92
4'760.250
3'570.48
4'636.00
6'180.826
7'920.577
5'940.92
10'026.111
7'520.20
12'550.117
9'413.36
15'544.272
11'659.16
Version: 1
error on Dp
Deg C
0.1
0.1
0.1
0.1
0.1
0.1
-0.004
-0.004
-0.001
0.008
0.028
0.065
error on Dp
Deg C
-0.004
-0.003
-0.002
-0.001
0.000
0.000
0.002
0.002
0.002
0.002
0.000
1
1
1
1
1
1
1
1
1
1
error on Dp
Deg C
-0.004
-0.008
-0.012
-0.022
-0.023
-0.022
-0.019
-0.005
0.015
0.054
ROTRONIC AG
Psychrometric Calculations
QM-System
ME
DV04-271
Seite:7 / 22
0
-10
-20
-30
-40
-50
deg K
273.16
263.16
253.16
243.16
233.16
223.16
RAG Equation
over Water
hPa
6.106005
2.861869
1.253930
0.509163
0.189660
0.064033
RAG Equation
over Ice
hPa
6.106005
2.599534
1.039440
0.383713
0.129121
0.039048
Smith. Table
over Ice
hPa
6.107000
2.597000
1.032000
0.379800
0.128300
0.039350
difference
hPa
-0.000995
0.002534
0.007440
0.003913
0.000821
-0.000302
difference
ppm
-163
976
7'210
10'302
6'399
-7'680
difference
%
-0.0163
0.0976
0.7210
1.0302
0.6399
-0.7680
-60
-70
-80
-90
-100
213.16
203.16
193.16
183.16
173.16
0.019316
0.005118
0.001167
0.000223
0.000035
0.010435
0.002415
0.000472
0.000075
0.000010
0.010800
0.002615
0.000547
0.000097
0.000014
-0.000365
-0.000200
-0.000075
-0.000021
-0.000005
-33'791
-76'597
-137'640
-221'283
-321'765
-3.3791
-7.6597
-13.7640
-22.1283
-32.1765
deg C
Dok-Verz: K:\TD\QM
Version: 1
0.3000
0.6000
0.9000
1.4000
error on Fp
Deg C
-0.002
0.011
0.074
0.098
0.055
0.063
0.255
0.537
0.897
-1.457
ROTRONIC AG
DV04-271
Psychrometric Calculations
QM-System
ME
Seite:8 / 22
deg C
0
-10
-20
-30
-40
-50
-60
-70
-80
-90
-100
RAG Equation
hPa
6.1060
2.8619
1.2539
0.5092
0.1897
0.0640
T deg K
273.1600
263.1600
253.1600
243.1600
233.1600
223.1600
hPa
0.660854193
0.331746753
-0.026629826
-0.418046527
-0.846927779
-1.318498967
4.579880996
2.146578388
0.940524632
0.381903355
0.142256533
0.048028722
0
10
20
30
40
50
60
70
80
90
100
deg C
110
120
130
140
150
160
170
180
190
200
Equation
hPa
1'432.462
1'984.887
2'700.254
3'612.017
4'757.399
6'177.438
7'917.033
10'025.010
12'554.273
15'561.960
Dok-Verz: K:\TD\QM
T deg K
difference
ppm
6.1060
2.8619
1.2539
0.5092
0.1897
0.064033
Keyes Formula
Equation
hPa
6.1060
12.270
23.370
42.428
73.777
123.401
199.275
311.718
473.707
701.175
1'013.250
deg C
Keyes Formula
hPa
0
0
0
1
1
-1
difference
ppm
273.1600
283.1600
293.1600
303.1600
313.1600
323.1600
333.1600
343.1600
353.1600
363.1600
373.1600
0.660854193
0.963926184
1.24375141
1.502747513
1.743020833
1.966415007
2.174550788
2.368858861
2.550607073
2.720923134
2.880813652
4.579880996
9.20293139
17.52876867
31.82346852
55.33766534
92.55822282
149.4688825
233.8077276
355.3097077
525.9241743
760.0001037
6.106
12.270
23.370
42.428
73.778
123.401
199.276
311.718
473.707
701.175
1'013.250
0
0
0
0
0
-1
0
0
0
0
0
383.1600
393.1600
403.1600
413.1600
423.1600
433.1600
443.1600
453.1600
463.1600
473.1600
3.031180177
3.172832784
3.306501618
3.432846758
3.552466677
3.665905521
3.773659393
3.876181808
3.97388843
4.067161211
1074.435075
1488.787742
2025.357151
2709.2355
3568.343687
4633.461093
5938.262513
7519.376097
9416.47657
11672.42819
1'432.463
1'984.888
2'700.255
3'612.018
4'757.401
6'177.442
7'917.034
10'025.013
12'554.273
15'561.961
0
0
0
0
-1
-1
0
0
0
0
Version: 1
ROTRONIC AG
Psychrometric Calculations
QM-System
ME
DV04-271
Seite:9 / 22
Version: 1
ROTRONIC AG
Psychrometric Calculations
QM-System
ME
DV04-271
Seite:10 / 22
Dok-Verz: K:\TD\QM
Version: 1
ROTRONIC AG
Psychrometric Calculations
QM-System
ME
DV04-271
Seite:11 / 22
Dok-Verz: K:\TD\QM
Version: 1
ROTRONIC AG
Psychrometric Calculations
QM-System
ME
DV04-271
Seite:12 / 22
Enthalpy to Humidity
Public Sub H_to_RH()
TC = Range("T_Value").Value
P = Range("P_Value").Value
PS = Range("SP_Value").Value
H = Range("H_Value").Value
MRW = (H - 1.00464 * TC) / (0.001846 * TC + 2.5)
e = MRW * P / (621.97 + MRW)
RH = 100 * e / PS
Range("RH_Value").Value = RH
End Sub
Dok-Verz: K:\TD\QM
Version: 1
ROTRONIC AG
Psychrometric Calculations
QM-System
ME
DV04-271
Seite:13 / 22
Dok-Verz: K:\TD\QM
Version: 1
ROTRONIC AG
Psychrometric Calculations
QM-System
ME
DV04-271
Seite:14 / 22
Dok-Verz: K:\TD\QM
Version: 1
ROTRONIC AG
Psychrometric Calculations
QM-System
ME
DV04-271
Seite:15 / 22
'BEGIN'
TC = Range("T_Value").Value
RH = Range("RH_Value").Value
'SATURATION PRESSURE (hPa, above water, also below freezing)'
PS = Range("SP_Value").Value
'PARTIAL PRESSURE, (hPa)'
e = RH / 100 * PS
'NEWTON ITERATION TO FIND OUT THE DEW POINT'
'Begin'
DPK = TC 'First approximation of DP'
M = 1 'Auxilliary Counter'
Do
DP = DPK
'Water vapor pressure of current approximation'
TK = DPK + 273.16
PSK = KC / TK + KD * (Log(TK) / Log(10)) + KE * TK + KF * TK ^ 2 + KG * TK ^ 3 + KH * TK ^ 4 + KI
PSK = 10 ^ PSK 'in hPa'
'LNVP = G1 * TK ^ (-1) + G2 + G3 * TK + G4 * TK ^ 2
'PSK = 0.01 * Exp(LNVP) 'in hPa'
'Compute the value of DF'
DF = PSK - e
'Compute DERIV = local derivative of DF'
DPD = DPK + 0.05
TK = DPD + 273.16
PSD = KC / TK + KD * (Log(TK) / Log(10)) + KE * TK + KF * TK ^ 2 + KG * TK ^ 3 + KH * TK ^ 4 + KI
PSD = 10 ^ PSD 'in hPa'
'LNVP = G1 * TK ^ (-1) + G2 + G3 * TK + G4 * TK ^ 2
'PSD = 0.01 * Exp(LNVP) 'in hPa'
DFD = PSD - e
DERIV = (DFD - DF) / 0.05
'Compute next approximation of DP'
If (DERIV = 0) Then
DPK = DPK 'avoids division by zero'
Else
DPK = DPK - DF / DERIV
End If
M=M+1
Loop Until Abs(DF) <= 0.005 Or M > 20 '(0.005 hPa)'
Range("DP_Value").Value = DP
End Sub
Dok-Verz: K:\TD\QM
Version: 1
ROTRONIC AG
Psychrometric Calculations
QM-System
ME
DV04-271
Seite:16 / 22
Dok-Verz: K:\TD\QM
Version: 1
ROTRONIC AG
Psychrometric Calculations
QM-System
ME
DV04-271
Seite:17 / 22
'BEGIN'
TC = Range("T_Value").Value
RH = Range("RH_Value").Value
'SATURATION PRESSURE (hPa, above water, also below freezing)'
PS = Range("SP_Value").Value
'PARTIAL PRESSURE, (hPa)'
e = RH / 100 * PS
'NEWTON ITERATION TO FIND OUT THE DEW/FROST POINT'
'Begin'
DPK = TC 'First approximation of DP'
M = 1 'Auxilliary Counter'
Do
DP = DPK
'Water vapor pressure of current approximation'
TK = DPK + 273.16
PSK = KC / TK + KD * (Log(TK) / Log(10)) + KE * TK + KF * TK ^ 2 + KG * TK ^ 3 + KH * TK ^ 4 + KI
PSK = 10 ^ PSK 'in hPa'
'LNVP = G1 * TK ^ (-1) + G2 + G3 * TK + G4 * TK ^ 2
'PSK = 0.01 * Exp(LNVP) 'in hPa'
If DPK < 0 Then
PSK = PSK * (1 - 0.01154 * (Abs(DPK)) ^ (0.9))
End If
'Compute the value of DF'
DF = PSK - e
'Compute DERIV = local derivative of DF'
DPD = DPK + 0.05
TK = DPD + 273.16
PSD = KC / TK + KD * (Log(TK) / Log(10)) + KE * TK + KF * TK ^ 2 + KG * TK ^ 3 + KH * TK ^ 4 + KI
PSD = 10 ^ PSD 'in hPa'
'LNVP = G1 * TK ^ (-1) + G2 + G3 * TK + G4 * TK ^ 2
'PSD = 0.01 * Exp(LNVP) 'in hPa'
If DPD < 0 Then
PSD = PSD * (1 - 0.01154 * (Abs(DPD)) ^ (0.9))
End If
DFD = PSD - e
DERIV = (DFD - DF) / 0.05
'Compute next approximation of DP'
If (DERIV = 0) Then
DPK = DPK 'avoids division by zero'
Else
DPK = DPK - DF / DERIV
End If
M=M+1
Loop Until Abs(DF) <= 0.005 Or M > 20 '(0.005 hPa)'
Range("FP_Value").Value = DP
End Sub
Dok-Verz: K:\TD\QM
Version: 1
ROTRONIC AG
Psychrometric Calculations
QM-System
ME
DV04-271
Seite:18 / 22
Version: 1
ROTRONIC AG
Psychrometric Calculations
QM-System
ME
DV04-271
Seite:19 / 22
TK = WBD + 273.16
PW = KC / TK + KD * (Log(TK) / Log(10)) + KE * TK + KF * TK ^ 2 + KG * TK ^ 3 + KH * TK ^ 4 + KI
PW = 100 * (10 ^ PW) 'in Pa'
'PW = G1 * (1 / TK) + G2 + G3 * TK + G4 * TK * TK
'PW = Exp(PW)
A = 6.6 * 0.0001 * (1 + 0.00115 * WBD)
AP = A * 101325 * WBD
RK = (RH * 100000# - (B * (TC - WBD)) * (101325 - (P * 100))) / 100000#
WFD = PW + AP - PS * RK / 100 - A * 101325 * TC
DERIV = (WFD - WF) / 0.005
WBK = WBK - WF / DERIV
KK = KK + 1
'Loop Until KK >= 15
Loop Until Abs(WF) <= 0.005 Or KK > 20
'Wet Bulb Temperature'
If RH = 100 Then WB = TC
Range("WB_Value").Value = WB
End Sub
Dok-Verz: K:\TD\QM
Version: 1
ROTRONIC AG
Psychrometric Calculations
QM-System
ME
DV04-271
Seite:20 / 22
Humidity to various
Public Sub RH_to_Others()
Dim TC As Single, RH As Single, TK As Single
Dim P As Single, PS As Single, e As Single
Dim MRW As Single, MRV As Single
Dim Q As Single, DV As Single, H As Single
'Reset Variables'
P=0
RH = 0
TC = 0
TK = 0
PS = 0
e=0
MRW = 0
MRV = 0
Q=0
DV = 0
H=0
'BEGIN'
RH = Range("RH_Value").Value
TC = Range("T_Value").Value
P = Range("P_Value").Value
'Specific Humidity'
Q = 1000 * e / (1.6078 * P - 0.6078 * e)
Range("Q_Value").Value = Q
Dok-Verz: K:\TD\QM
Version: 1
ROTRONIC AG
Psychrometric Calculations
QM-System
ME
DV04-271
Seite:21 / 22
'Enthalpy'
H = 1.00464 * TC + 1.846 * MRW * TC / 1000 + 2.5 * MRW
Range("H_Value").Value = H
End Sub
Humidity to Sat_Pressure
Public Sub Sat_Pressure()
Dim LNPS As Double, PS As Single
PS = 0
LNPS = 0
TC = Range("T_Value").Value
'SATURATION PRESSURE
'above water, also below freezing because of RH sensor)
TK = TC + 273.16
PS = KC / TK + KD * (Log(TK) / Log(10)) + KE * TK + KF * TK ^ 2 + KG * TK ^ 3 + KH * TK ^ 4 + KI
PS = 10 ^ PS 'in hPa'
'LNPS = G1 * TK ^ (-1) + G2 + G3 * TK + G4 * TK ^ 2
'PS = 0.01 * Exp(LNPS) 'in hPa'
'Saturation Pressure above Water (hPa)
Range("SP_Value").Value = PS
End Sub
Humidity to Vapor_Pressure
Public Sub Vapor_Pressure()
RH = Range("RH_Value").Value
'SATURATION PRESSURE (above water, also below freezing)'
Call Sat_Pressure
PS = Range("SP_Value").Value
'PARTIAL PRESSURE'
e = RH / 100 * PS
Range("VP_Value").Value = e
End Sub
Dok-Verz: K:\TD\QM
Version: 1
ROTRONIC AG
QM-System
Dok-Verz: K:\TD\QM
Psychrometric Calculations
ME
Version: 1
DV04-271
Seite:22 / 22