A building with 22 variables
A synthetic function costs microseconds. A building simulation does not. This lesson introduces an architectural test problem used in the SilverHawk studies: a daylight and energy model with 22 variables and three objectives, evaluated through the Ambrosini GBR–ANN surrogate models so that it can be run thousands of times.
Where it comes from
The problem comes from the benchmark of Zorn, Claus, Frenzel and Wortmann (2025), a study by the University of Stuttgart and Transsolar that compares model-based optimisation algorithms with metaheuristics on a multi-objective building performance problem. The objectives were simulated with TRNSYS 18 on a parametric building that includes a shading geometry, and the data set of simulated designs is public.
To enable rigorous repeated solver benchmarks directly on the Grasshopper canvas without TRNSYS simulation latency, Luciano Ambrosini trained high-fidelity surrogate models on this dataset: gradient-boosted regression for energy demand and daylight factor, and an artificial neural network for overheating hours. Embedded in Grasshopper as the Ambrosini GBR–ANN surrogate models, they provide instantaneous, deterministic evaluations for benchmarking.
Their benchmark result is a key reference point for any new solver: the model-based algorithms RBFMOpt and TPE were the most robust and reached the highest hypervolume, and RBFMOpt found good solutions within fewer than 100 evaluations.
The problem in numbers
- Variables
- 22: 18 continuous and 4 binary.
- Objectives
- Annual energy demand Qtot (kWh/m²a), overheating hours Kh (h), and daylight factor DF, which is maximised. They can be optimised one at a time or together.
- Original evaluation
- A TRNSYS 18 building performance simulation, too slow to repeat the hundreds of times a solver study needs.
- Evaluation here
- The Ambrosini GBR–ANN surrogate models: gradient-boosted regression for Qtot and DF, and an artificial neural network (multilayer perceptron) for Kh. Trained by Luciano Ambrosini on ~10⁴ simulated designs from the Zorn et al. dataset, with a cross-validated R² of at least 0.98 for all three targets, embedded natively in Grasshopper.
- Bounds
- Hard limits equal to the sampled ranges, so that no candidate leaves the region the models were trained on. Binary variables are treated as continuous sliders and rounded at evaluation, as a designer would do in Grasshopper.
ADO Benchmark Component (Ambrosini GBR–ANN)
SilverHawk packages the trained Ambrosini GBR–ANN surrogate models into a native Grasshopper benchmark component (shown configured as ADO 1obj). It delivers instantaneous, deterministic building performance evaluations on realistic architectural designs directly on the canvas without TRNSYS simulation latency.
Configurable objective count: In the original research benchmark (Zorn et al., 2025; Ambrosini, 2026), 3 objectives are evaluated simultaneously (annual energy demand Qtot, overheating hours Kh, and daylight factor DF). The SilverHawk ADO component allows the user to dynamically configure the fitness function for 1, 2, or 3 selectable objectives. This lets users test single-objective optimizers (focusing for instance solely on energy demand or daylight), bi-objective trade-offs, or the full 3-objective Pareto front on the same realistic architectural problem.
Why a surrogate
A surrogate does not replace the simulation in practice; it replaces it in the experiment. With it, a solver can be run thirty times with different seeds, on each objective, with a budget counted in evaluations: a campaign no simulation could afford. The price is that the answer is only as good as the model, which is why the bounds stay inside the sampled region. (For how surrogate-assisted optimisation compares fundamentally to population search, see Two ways to spend a budget.)
What it has that the landscapes do not
Mixed variables first. The four binary switches make part of the response piecewise constant, like the Step function of Lesson zero, but inside a problem where the other eighteen variables are smooth. Then the objectives: they are not independent, and how much they conflict is itself a property of the problem, which is why Zorn et al. report the correlation among the simulated objectives before comparing any solver.
Finally, no one knows the optimum. A good solver here is one that finds good and varied designs within a small budget, and that is what the studies measure. Their results are on the Research page; they are not repeated here.
References
Benchmark Problem & Replication Data
- Optimizing an expensive multi-objective building performance problem: benchmarking model-based optimization algorithms against metaheuristics with and without surrogates. Energy and Buildings, 336, 115562. doi ↗
- Replication Data for: Optimizing an expensive multi-objective building performance problem: Benchmarking model-based optimization algorithms against metaheuristics with and without surrogates. DaRUS Data Repository. darus ↗
Surrogate Models & Design Optimization
- Ambrosini GBR–ANN Surrogate Models for Architectural Design Optimization (ADO D22). Trained on the Zorn et al. replication dataset (R² ≥ 0.98) and embedded in SilverHawk for Grasshopper. SilverHawk
- Advantages of surrogate models for architectural design optimization. AI EDAM 29(4), 471–481. doi ↗
Continue exploring
The landscapes
Classic test functions as 3D surfaces with a search running on them, the multi-objective ZDT set, and why design problems are different.
Open lesson →A free-form shell with 85 variables
The Kakamigahara roof, a structural benchmark used for almost two decades, with a model you can rotate.
Open lesson →The Travelling Salesman on canvas
Discrete ordering in Grasshopper: the DataTree branch bias of the SilverEye tutorial, and how a normalized permutation encoding reveals true solver capability.
Open lesson →Two ways to spend a budget
How population-based metaheuristics and surrogate models spend evaluation budgets differently, and why SilverHawk is developing a native RBF solver.
Read deep dive →