NeuralBES: A Differentiable, Control-Aware Emulator for Scalable Building Energy Modeling
Organizations: Fujitsu Research of America
Abstract
Demand-side flexibility i.e. forecasting, shifting, and curtailing residential energy loads, depends on thermal models trusted across millions of heterogeneous buildings. Existing tools force a hard tradeoff: high-fidelity physics simulators such as EnergyPlus are accurate but sequential and require per-building calibration, while purely data-driven sequence models scale but abandon the physical structure that makes their predictions trustworthy. We introduce NeuralBES (Building Energy Simulation), a differentiable emulator that resolves this tradeoff by parameterizing a resistance--capacitance (RC) based thermal model with a shared neural encoder: static building metadata such as floor area, vintage, and HVAC type is mapped to physically bounded capacitances, conductances, and equipment coefficients, which become the coefficients of a scalar linear recurrence solved via a log-space parallel scan, and a predictor--corrector loop closes the thermostat--temperature nonlinearity while preserving full-horizon gradient flow. Trained on the ResStock dataset across three climate zones, NeuralBES handles heterogeneous building archetypes, vintages, and climate zones within a single trained encoder, while black-box baselines produce statistically plausible but physically inconsistent trajectories. On the annual full-year rollout, NeuralBES is the only data-conditioned model that is simultaneously physics-valid and accurate to within 4 MAPE points of the strongest raw-error baseline, while operating at roughly an order of magnitude fewer parameters than the transformer and recurrent baselines; among physics-valid baselines at parameter parity it more than halves the MAPE of the grey-box RC alternative.
Figures & tables
| Property | PINN [ 7 ] | Dissipative [ 12 ] | PCNN [ 10 ] | NeuralBES (ours) |
|---|---|---|---|---|
| Physics enforcement | soft penalty | stability regularizer | arch. constraints | analytical ODE |
| Parameters per building | shared | shared | shared | shared |
| Cross-building eval | reported | reported | reported | reported |
| Full-horizon gradients | via penalty | via BPTT | via BPTT | via parallel scan |
| Nonlinear controller | predictor–corrector | |||
| Exposes at each | partial |
| Metric | DLinear | LSTM | PatchTST | Roformer | PI-Roformer | RC | NeuralBES | |
|---|---|---|---|---|---|---|---|---|
| # Params (M) | 1.3 | 36.6 | 3.0 | 20.5 | 11.0 | 0.96 | 1.0 | |
| MAPE (%) | ||||||||
| RMSE ( ∘ C) | ||||||||
| Mode excl. [%] | ||||||||
| Bounds [%] | ||||||||
Appendix figures & tables7 assets
Supplementary material from the paper’s appendix.
Appendix
| Region | Metric | DLinear | LSTM | PatchTST | Roformer | PI-Roformer | RC | NeuralBES | |
|---|---|---|---|---|---|---|---|---|---|
| CA | MAPE (%) | 192.65 | 88.50 | 130.74 | 67.80 | 63.91 | 91.20 | 66.75 | |
| 258.79 | 58.43 | 94.41 | 49.25 | 45.62 | 72.44 | 50.45 | |||
| RMSE ( ∘ C) | 2.94 | 2.01 | 2.09 | 1.70 | 1.62 | 2.66 | 2.63 | ||
| NY | MAPE (%) | 76.46 | 34.38 | 34.01 | 30.67 | 35.19 | 97.82 | 30.68 | |
| 119.41 | 46.45 | 50.00 | 40.20 | 41.18 | 107.96 | 42.54 | |||
| RMSE ( ∘ C) | 2.62 | 1.76 | 1.43 | 1.36 | 1.61 | 2.81 | 1.98 | ||
| Model | Family | Static injection | Key architectural choice |
|---|---|---|---|
| DLinear [ 38 ] | linear | additive bias | trend/seasonal decomposition |
| LSTM | recurrent | FiLM (id-init) | hidden 512, 6 layers |
| PatchTST [ 22 ] | transformer | FiLM (id-init) | patching 48/24, RevIN, channel-indep. |
| Roformer [ 31 ] | transformer | FiLM (id-init) | encoder–decoder, RoPE |
| PI-Roformer | hybrid | FiLM (id-init) | Roformer + 2R2C head w/ flux correction |
| RC Grey-Box | physics | encoder-predicted params | 2R2C w/ fixed COPs, fixed setpoint band |
| Model | Hidden | Layers | Heads | Dropout | Batch | LR |
|---|---|---|---|---|---|---|
| DLinear | 512 | 1 | — | 0.0 | 512 | |
| LSTM | 512 | 6 | — | 0.2 | 256 | |
| PatchTST | 128 | 3 | 4 | 0.1 | 128 | |
| Roformer | 512 | 6 | 8 | 0.2 | 128 | |
| PI-Roformer | 512 | 3 | 8 | 0.0 | 256 | |
| RC Grey-Box | 128 | 1 | — | 0.0 | 512 |