This is a nomogram with three parallel lines having the same non-linear scale, probably originating from W. Mehner.2
A line through Δt1 and Δt2 at the outer lines cuts the middle line at the Logarithmic Mean Temperature Difference (LMTD) Δtm.
It is probably the same nomogram as the one on page 7 of the late 1969 Walter Roller Kondensatoren Katalog.
Hermann Wundt gives for the generator function ƒ
| ƒ(Δtm) = | ƒ(Δt1) + ƒ(Δt2) 2 |
an integral equation:
| ƒ(x) = | ∫ | x | lnξ + (1/ξ) − 1 ξ − (lnξ + 1) | dξ |
| 1 |
from scipy.integrate import quad
import numpy as np
def integrand_numerical(xi):
return (np.log(xi) + 1/xi - 1) / (xi - (np.log(xi) + 1))
x = 12
f_error = quad(integrand_numerical, 1, x)
print('{x:',x,',f:',f_error[0],',error:',f_error[1],'},')
ƒ has to be approximated numerically. A integration using Python gives the nomogram shown here, with a point-per-point error of less than 10−7.
|
150
|
|
|
150
|
|
Kahlig and Matkowski3
show that there are no nontrivial differentiable and strictly monotonous solutions for ƒ. They cite
Hosszu4
and Stiefel5
who demonstrated why a three-parallel-line nomogram for LMTD should not exist.
The nomogram shown above is thus an approximation.
Stiefel5 suggested a curved-line nomogram which is mathematically correct but useless.
Already in 1941 Bauer and Brose6 published a curved-line nomogram with linear scales which is mathematically incorrect but very useful.
References:
Below we compare exact LMTD(Δt1,Δt2)'s with those calculated using
Wundt's formula
and three empirical fits:
ƒ(x) = x0.3134 for a fit on a Perrygraf LMTD slide chart;
ƒ(x) = x0.3147 for 121 (Δt1,Δt2) pairs between
1 and 150;
ƒ(x) = x0.3165 for 121 (Δt1,Δt2) pairs between
1 and 100.
from scipy.integrate import quad
from scipy.optimize import minimize_scalar
import numpy as np
def integrand_numerical(xi):
return (np.log(xi) + 1/xi - 1) / (xi - (np.log(xi) + 1))
def f(x):
return quad(integrand_numerical, 1, x)[0]
dt1 = 18
dt2 = 8
f1 = f(dt1)
f2 = f(dt2)
fm = (f1+f2)/2
sol = minimize_scalar(lambda c: (f(c)-fm)**2, bounds=(min(dt1,dt2),max(dt1,dt2)), method='bounded')
print('solution:',sol)
print('dt1 =',dt1)
print('f1 =',f1)
print('dt2 =',dt2)
print('f2 =',f2)
print('fm target =',fm)
print('fm found =',f(sol.x))
print('dtm =',sol.x,'(found)')
print('dtm =',(dt1-dt2)/np.log(dt1/dt2),'(exact)')
import numpy as np
from scipy.optimize import minimize_scalar
# Define the function
def f(a, b, c):
term1 = np.where(a == b, a, (a - b) / np.log(np.where(a == b, 2, a / b)))**c # 2 is dummy
term2 = (a**c + b**c)/2
return (np.linalg.norm(term1 - term2))**2
# Parameters: start 0->1, step 10
xmax = 150
xstep = 10
n = int(xmax/xstep)+1
x = np.maximum(1,np.arange(0,xmax+xstep,xstep))
a = np.repeat(x,n)
b = a.reshape((n,n)).transpose().reshape((n*n))
# Minimize the function by varying c
result = minimize_scalar(lambda c: f(a, b, c), bounds=(0.1, 10), method='bounded')
c = result.x
print(result)