What does Massage Oil, Warmth and Return Visits conclude, in numbers, about “The Comfort Band and Adaptation: an Optimal Temperature Trajectory, Not "the Hotter the Better"”?
Answer: Chapter 5 searches temperature plans with an adaptation model: the balanced optimum is a neutral base, a late warm passage and an easing down, with a mean of 6.84 and a peak-end score of 8.55, while the plan that chases peak and end alone has a mean of only 4.88 and is rejected.
Scope of the numbers: All concentrations, amounts, vapour pressures, temperatures and rating parameters are illustrative, and every calculation is generated by the book's programs. The book is not medical advice: it claims no effect for any oil, carrier, temperature or technique, gives no recommendation on dose or concentration, and leaves dilution, patch testing and use in pregnancy or with children to qualified professionals.
Data table
The numbers below are printed verbatim by the chapter's Python program and can be reproduced by running it. standard-library Python onlyprinted values that match the answer: 4.88, 6.84, 8.55
best for mean : 36 36 37 36 37 36 36 37 36 36 36 36 mean 7.07, peak-end 7.77, hottest block 37 C best for peak-end: 41 41 41 41 41 41 41 41 41 41 39 36 mean 4.88, peak-end 8.68, hottest block 41 C best for balanced: 36 36 37 36 37 36 36 36 37 40 39 36 mean 6.84, peak-end 8.55, hottest block 40 C steady 36 C: mean 7.06, peak-end 7.77 steady 41 C: mean 4.31, peak-end 6.46
Show the full program
# Chapter 5. p53: searching for the best warmth plan, 12 blocks of 5 min
# Same rating model as p51 (DT 10 s). Contact levels 34 to 41 C in 1 C
# steps; neighbouring blocks may differ by at most 3 C. Coordinate ascent
# from 20 seeded random starts, for the mean rating, for the peak-end
# score, and for their average ("balanced"). Illustrative model.
import math
import random
TAU_S, TAU_A, DT = 45.0, 240.0, 10.0
LEVELS = list(range(34, 42))
def rating(t, a):
static = 2.0 * (1.0 - ((t - 36.5) / 4.0) ** 2)
dyn = 2.0 * math.tanh((t - a) / 1.5) * math.tanh((35.5 - a) / 1.0)
pen = 1.5 * (t - 41.0) ** 2 if t > 41.0 else 0.0
return min(10.0, max(0.0, 5.0 + static + dyn - pen))
def evaluate(blocks):
t, a, minute_r = 33.0, 33.0, []
for c in blocks:
for _ in range(5):
rs = []
for _ in range(int(60 / DT)):
t += DT * (c - t) / TAU_S
a += DT * (t - a) / TAU_A
rs.append(rating(t, a))
minute_r.append(math.fsum(rs) / len(rs))
mean = math.fsum(minute_r) / len(minute_r)
end = math.fsum(minute_r[-3:]) / 3.0
pe = (max(minute_r) + end) / 2.0
return mean, pe, (mean + pe) / 2.0
def feasible(b):
return all(abs(b[i] - b[i + 1]) <= 3 for i in range(len(b) - 1))
def ascend(start, which):
best = list(start)
val = evaluate(best)[which]
improved = True
while improved:
improved = False
for i in range(12):
for lv in LEVELS:
if lv == best[i]:
continue
cand = best[:i] + [lv] + best[i + 1:]
if not feasible(cand):
continue
v = evaluate(cand)[which]
if v > val + 1e-12:
best, val, improved = cand, v, True
return best, val
rng = random.Random(20261120)
starts = []
while len(starts) < 20:
s = [rng.choice(LEVELS) for _ in range(12)]
if feasible(s):
starts.append(s)
for which, label in ((0, "mean"), (1, "peak-end"), (2, "balanced")):
found = [ascend(s, which) for s in starts]
plan, val = max(found, key=lambda x: (x[1], x[0]))
m, pe, _ = evaluate(plan)
print("best for {:8s}: {}".format(label, " ".join(map(str, plan))))
print(" mean {:.2f}, peak-end {:.2f}, hottest block {} C".format(
m, pe, max(plan)))
for c in (36, 41):
m, pe, _ = evaluate([c] * 12)
print("steady {} C: mean {:.2f}, peak-end {:.2f}".format(c, m, pe))Single source and citation
Fan, Y. (2026). Fickian Transdermal Diffusion of Botanical Massage Oils, Thermal Comfort Kinetics and Wellness Studio Retention (Version 1.0.0), Chapter 5: The Comfort Band and Adaptation: an Optimal Temperature Trajectory, Not "the Hotter the Better". 5D Library. DOI pending
DOI pending · monograph page goes live after publication · 5DL-B-339 · v1.0.0 · CC-BY-NC-ND-4.0
BibTeX
@book{fan2026339,
author = {Fan, Yafu},
title = {Fickian Transdermal Diffusion of Botanical Massage Oils, Thermal Comfort Kinetics and Wellness Studio Retention},
year = {2026},
publisher = {5D Library},
edition = {1.0.0},
note = {DOI pending}
}Other chapter answers in this book
- Chapter 1 · Fick's Laws and the Membrane Model: Steady Flux, Lag Time and the Myth of "Going Deeper"
- Chapter 2 · Partition Coefficients and Carriers: the Activity of Ginger and Frankincense Constituents in Medium-Chain (C8/C10) Triglyceride
- Chapter 3 · Evaporation from an Open Surface: the Mass Balance of a Massage
- Chapter 4 · First-Order Response of Skin Temperature: Contact Temperature, the Heat Capacity of an Oil Film and a Time-Temperature Red Line
- Chapter 6 · The Peak-End Rule and Repurchase: the Elasticity of the Ending and Retention Curves
- Chapter 7 · Classical Sources: "Massage and Medicated Wine" in the Basic Questions, and Fick in 1855
- Chapter 8 · The Empirical Loop and the Distillation Spec: Service Records, the Calculator and a Refutation after One Quarter