I guessed a number and the data disagreed
Kay and Jo guess two numbers, run the model and compare it with measurements. The strip is below, and the steps to repeat it in Konjugate are under it.
Transcript
Four panels. Kay, a round teal character, and Jo, a dry blue one, are joined by a dotted line. Step 1, the guesses. A card reads: first guesses, cooling rate 0.02, ambient gain 0. Kay says: Cooling rate 0.02. No background heat. Jo says: Reasonable. Run it. Step 2, the run. A chart compares the guessed run with the measured data over 40 seconds. The guess ends at 58.5 and the measurements at 85.7. Kay says: 58.5. The data says 85.7. Jo says: So your guess was wrong. Step 3, tuning. A card reads: tuning found a cooling rate of 0.0499 and an ambient gain of 0.299. Kay asks: Who picks the numbers? Jo says: It nudges both until the curves match. Step 4, the fitted run. A card reads: room temperature at 40 seconds is 85.67 with the fitted values, against 85.72 measured. Kay says: That is close. Jo says: To the data you gave it. Not proof.
Image for sharing
What just happened
A hot plate at 90 warms the air of a room that starts at 20. The cooling law is k × (plate − room), and the room also gains a little heat from elsewhere, an ambient gain. The first guesses were k = 0.02 and no gain at all, and after 40 seconds the room reached 58.5. The measurements say 85.7.
Konjugate's parameter tuning takes a CSV of measurements and the parameters marked tunable, and searches for the values that make the model's curve match the data. It converged on k = 0.0499 and an ambient gain of 0.299. Run again with those, the room reaches 85.67 at 40 seconds against 85.72 measured.
Repeat it in Konjugate
- Build the hot plate and room air from "Getting started", with the cooling relationship written as
k \cdot (plate − room)and an Ambient gain source term on Room air. - Give both parameters a wrong starting guess (k = 0.02, ambient gain = 0) and mark each Tunable with bounds.
- Run for 40 seconds and see where the guess lands.

- Open Parameter tuning and load the measurements as a CSV.

- Run the tuning and review the fit.

- Accept the values and run again.

What this does and does not say
The measurements here were not recorded from a real room. They were generated by running the same model with k = 0.05 and an ambient gain of 0.3, which is why the tuning could recover them so closely. With real data, expect noise, a model that is only approximately right, and a fit that tells you how well the model explains this data and nothing more. The figures were read from the runs described above on 2026-10-16.
Go deeper
- "Tuning a parameter against measured data" covers bounds, several parameters at once and what the review panel shows.
- "Running a simulation" covers the run settings.
Follow Konjugate on LinkedIn for updates, or subscribe via RSS.
Comments
Post a Comment