Abstract
Room air temperature monitoring in indoor substations depends strongly on sensor placement, yet overheating experiments are impractical in energised rooms, and dense sensor arrays are costly. This study proposes an offline framework that couples three-dimensional computational fluid dynamics (CFD), long short-term memory (LSTM) forecasting, and reinforcement learning-based sensor placement over a 300-point room air candidate pool, using five simulated normal-operation days and two days with controlled transformer overheating pulses. In a full-pool benchmark, a 300-sensor LSTM set-up forecasts the 30-min-ahead candidate pool peak temperature on a held-out normal-operation day with an RMSE of 2.486 °C, 19.6% lower than persistence. For the 30-min forward-window peak, action-masked proximal policy optimisation (PPO) learns a single placement policy across seven sensor budgets from a deterministic layout score, and the selected layouts are evaluated with independently trained multi-seed LSTM models. PPO achieves the lowest test RMSE among five placement methods at five of the seven budgets. Its four-sensor layout, which spans the transformer perimeter, buoyant plume, and exhaust path, attains a combined test RMSE of 1.902 °C, 17.4% lower than that of the full 300-sensor model (2.303 °C) and 20.8% lower than that of an otherwise identical LSTM model without temperature inputs (2.401 °C).