Floating the Offset: Calibrated Withdrawal Elevations from Discharge Temperature

Dams that draw water from a chosen depth can release unnaturally cold water into rivers, and operators increasingly fit adjustable gates to pull warmer surface water instead. To know which layer a dam is actually drawing from, a simple method compares the temperature of the released water with a temperature profile measured in the reservoir. It then reads off the depth whose temperature matches. This works well when the lake is strongly layered. It becomes erratic in spring, when the layers are just forming, and that is exactly the season when downstream fish rely on temperature cues.

This note argues that most of that spring erratic behaviour is a measurement error, not a failure of the physics. A small, persistent temperature offset between the outlet thermometer and the reservoir profiler shifts the matched depth by an amount that grows as the vertical temperature difference shrinks. We propose to treat that offset the way reactor-neutrino experiments treat detector calibration. It becomes a free "nuisance" parameter that is fitted jointly with the physics. It is constrained by data windows in which the physics carries no information about depth: well-mixed periods and moments when the gates are switched. The result would be a withdrawal-depth estimate that comes with a calibrated uncertainty and stays usable during weak layering.

Core Claim

The Equivalent Elevation Method of Liu et al. (2023) finds the reservoir elevation whose far-dam temperature equals the measured discharge-water temperature. Applied at Guangzhao reservoir, it gave average equivalent withdrawal elevations of 697.2 m, 690.8 m and 689.9 m for 5-, 4- and 3-layer stoplog gate configurations. The authors report that the method breaks down when the reservoir is vertically uniform in temperature, and that it fluctuates badly when vertical temperature gradients are small.

Our claim is that the fluctuation is largely predictable. Suppose the outlet reading carries an offset $b$ relative to the profile. This offset can come from sensor calibration, from warming as water passes through the penstock and turbine, or from differences between the far-dam and near-dam water. With profile noise $\sigma_T$, the matched elevation then has an error of roughly

$$ \Delta z \approx \frac{b}{|\partial T/\partial z|}, \qquad \sigma_z \approx \frac{\sqrt{\sigma_T^2+\sigma_b^2}}{|\partial T/\partial z|}, $$

where $\partial T/\partial z$ is the vertical temperature gradient at the withdrawal depth and $\sigma_b$ is the uncertainty on $b$. The form follows from linearising the profile around the matched depth. A 0.2 °C offset is negligible in midsummer but can move the answer by several metres in early spring.

Physicists face the same problem and handle it in two ways. Daya Bay used a second, independent detection channel whose systematic errors do not overlap with the first (An et al., 2014). Short-baseline analyses fit ratios between detectors while letting flux and efficiency float (Model-independent ν ¯ e short-baseline oscillations from reactor spectral ratios Model-independent ν ¯ e short-baseline oscillations from reactor spectral ratios). We borrow both ideas for a single reservoir.

Research Program

We replace point matching with a forward model. The discharge temperature at time $t$ is modelled as a weighted average of the far-dam profile plus the offset:

$$ T_{\text{out}}(t) = \int w_g(z; c_t, s_t)\, T(z,t)\, dz + b(t) + \epsilon_t . $$

The terms are defined as follows:

  • $w_g$ is a non-negative withdrawal weighting that integrates to one, with centre $c_t$ and thickness $s_t$ for gate configuration $g$.
  • $b(t)$ is a slowly varying offset, modelled as a constant plus an optional linear dependence on turbine flow.
  • $\epsilon_t$ is noise.

The equivalent withdrawal elevation becomes the fitted centre $c_t$, reported with a posterior interval rather than as a single matched value.

Three data regimes pin down $b$ independently of $c$. The first is well-mixed windows. When the reservoir is close to uniform in temperature, the integral equals the mean temperature whatever the weighting, so $T_{\text{out}}$ minus the mean profile temperature measures $b$ directly. These are the periods where the original method fails outright; here they become the calibration source. The second is gate switches. Just before and after a change in stoplog layers, $b$ is essentially unchanged while the weighting changes. Differencing across the switch cancels $b$, much as the detector ratio cancels flux. The third is strongly layered periods, where large gradients make $c$ well determined and $b$ a small correction.

A hierarchical fit shares $b$ across all three regimes and lets each gate configuration have its own weighting parameters. If the data demand a flow-dependent $b$, the model reports it rather than absorbing it into $c$.

For uncertainty we deliberately avoid perturbing a neural network's weights. Daw et al. (2019) showed that Monte Carlo dropout breaks the density-increases-with-depth constraint and produces physically meaningless intervals. Our parameters are few and physically interpretable, so full posterior sampling is cheap. The profile is also constrained to be density-monotone, following the constraint used by Jia et al. (2017) and Daw et al.

The choice of a small structured model over a large learned one is supported, in a different domain, by Kang et al. (2025). For temperature inversion from path-integrated measurements, they found that physics-guided features beat an end-to-end ResNet-18 (RMSE 64.3 K versus 108.9 K).

Operational motivation comes from cascades. On the lower Jinsha, Hu et al. (2025) report discharge warming of 1.6–4.1 °C and seasonal phase delays of up to 65 days. There, outlet temperatures are often the only long record available. Unmodelled offsets between stations then propagate directly into attributed heat-source effects, so a calibrated withdrawal estimate is a prerequisite for that kind of attribution.

Baselines

The first reference point is doing nothing: the original Equivalent Elevation Method run exactly as described by Liu et al. (2023), with pointwise matching of discharge temperature to the far-dam profile. Their reported figures are a correlation of $r>0.7$ ($p<0.05$) between discharge temperature and far-dam structure, the three configuration-average elevations above, and a 1.4 °C maximum daily improvement over the bottom intake. We found no reported result on Lacuna for prediction error or day-to-day elevation variance of this method. We will therefore compute both on the same Guangzhao record (April 12 to June 30, 2019) and treat those numbers as the bar. Our model beats it if it matches its held-out discharge-temperature error during strong layering, cuts the day-to-day variance of the elevation estimate in the early-layering weeks by a clear margin, and produces intervals whose empirical coverage is near nominal.

The second baseline is the strongest cheap competitor: the same matching method with a gradient threshold and temporal smoothing. Days below a minimum vertical gradient are discarded and the rest are averaged over a rolling window. It is run on identical data, and the threshold and window are tuned on the same validation days we use for our own tuning. It removes the instability by discarding data, so the comparison is coverage. Our model wins if it gives usable estimates, with honest intervals, on the days the threshold throws away, without losing accuracy on the days it keeps.

The third baseline is a learned mapping: a density-monotone recurrent network in the style of Daw et al. (2019), trained to predict outlet temperature from profiles, gate state and flow. It gets the same inputs and a comparable hyperparameter search budget. It may predict outlet temperature well while giving no interpretable elevation and no separate offset. We count our model as winning if it is within noise on outlet-temperature error and additionally recovers withdrawal elevations and offsets in synthetic tests where the learned model cannot.

The key ablation removes only the floating offset (fixing $b=0$) while keeping the weighting model. If the elevation instability survives this ablation unchanged, the core claim is wrong.

Why not just…?

Why not just calibrate the outlet thermometer against the profiler once? A side-by-side calibration of the sensors would fix a pure sensor offset, and if $b$ turns out to be constant and purely instrumental, this alternative wins and our model reduces to it. But $b$ may also include penstock and turbine warming and differences between far-dam and near-dam water, and these can vary with flow and season. The experiment settles this directly. We estimate $b$ separately in well-mixed windows and across gate switches. If those estimates agree with each other and show no dependence on flow, a one-time calibration is enough, and we will say so.

Why not just drop low-gradient days? This is baseline two. It is simple and it does stabilise the estimate. Its cost is that it removes the onset of layering, when the ecological stakes of cold releases are highest. Whether our model beats it depends on whether our intervals on those days are both narrow enough to be useful and well calibrated. The synthetic tests described below measure exactly that.

Why not run a 3D hydrodynamic model of the intake? Liu et al. note that such simulations are costly and depend on boundary conditions that are rarely known. An offset between the outlet sensor and the profiler would also enter a 3D model unmodelled. Where a calibrated 3D run exists, we would use it as an independent check on the fitted weighting shapes, not as a replacement.

Proposed Experiments

We start with a synthetic benchmark where the truth is known. We take density-monotone profiles simulated for the Delaware reservoirs, using the lake-model profiles and release records behind the State-Aware Graph study ( Modeling Reservoir Release Using Pseudo-Prospective Learning and Physical Simulations to Predict Water Temperature). We apply known withdrawal weightings and inject offsets of 0 to 0.5 °C, both constant and flow-dependent, with realistic noise. The decisive check is that the original method's elevation error scales like $b/|\partial T/\partial z|$, as the first equation predicts. Our model should remove that dependence while keeping interval coverage near 90% for nominal 90% intervals. If the matching method's error does not follow this scaling, the offset explanation fails.

On the Guangzhao record, the checks are the following. First, the fitted centres should preserve the reported ordering of elevations across gate configurations. Second, the elevation variance in early spring should fall relative to both matching baselines. Third, the offset estimated in the most weakly layered days should agree with the offset implied by differencing across gate switches. These are two independent routes to the same quantity, the analogue of Daya Bay's hydrogen-capture versus gadolinium-capture cross-check, which agreed within 0.6% (An et al., 2014).

This test depends on the record containing enough weakly layered days and gate switches. If it does not, we will need an extended record from the operator, and we flag that as the main data risk. Disagreement between the two offset estimates would itself be informative: it would indicate unmodelled physics near the intake rather than a calibration error.

Finally, we would transfer the model to Cannonsville and Pepacton reservoirs in the Delaware Basin, where release depths are known. There we test whether fitted centres recover the documented intake depth better than pointwise matching.

References

  1. Assessment of Stoplog Gates’ Operational Effectiveness for Improving Discharged-Water Temperatures during the Thermal Stratification Period in a Reservoir
  2. Independent measurement of the neutrino mixing angle<mml:math xmlns:mml="http://www.w3.org/1998/Math/MathML" display="inline"><mml:mrow><mml:msub><mml:mrow><mml:mi>θ</mml:mi></mml:mrow><mml:mrow><mml:mn>13</mml:mn></mml:mrow></mml:msub></mml:mrow></mml:math>via neutron capture on hydrogen at Daya Bay
  3. Model-independent <mml:math xmlns:mml="http://www.w3.org/1998/Math/MathML" altimg="si1.gif" overflow="scroll"><mml:msub><mml:mrow><mml:mover accent="true"><mml:mrow><mml:mi>ν</mml:mi></mml:mrow><mml:mrow><mml:mo stretchy="false">¯</mml:mo></mml:mrow></mml:mover></mml:mrow><mml:mrow><mml:mi>e</mml:mi></mml:mrow></mml:msub></mml:math> short-baseline oscillations from reactor spectral ratios
  4. Model-independent <mml:math xmlns:mml="http://www.w3.org/1998/Math/MathML" altimg="si1.gif" overflow="scroll"><mml:msub><mml:mrow><mml:mover accent="true"><mml:mrow><mml:mi>ν</mml:mi></mml:mrow><mml:mrow><mml:mo stretchy="false">¯</mml:mo></mml:mrow></mml:mover></mml:mrow><mml:mrow><mml:mi>e</mml:mi></mml:mrow></mml:msub></mml:math> short-baseline oscillations from reactor spectral ratios
  5. Physics-Guided Architecture (PGA) of Neural Networks for Quantifying Uncertainty in Lake Temperature Modeling
  6. Physics-guided Neural Networks (PGNN): An Application in Lake Temperature Modeling
  7. Comparative analysis of data-driven models for spatially resolved thermometry using emission spectroscopy
  8. Water temperature's cumulative effect induced by the construction of cascade reservoirs in the lower reaches of Jinsha River
  9. Modeling Reservoir Release Using Pseudo-Prospective Learning and Physical Simulations to Predict Water Temperature
  10. Modeling Reservoir Release Using Pseudo-Prospective Learning and Physical Simulations to Predict Water Temperature