Abstract
Energy systems optimization problems are complex due to strongly non-linear system behavior and multiple competing objectives, e.g. economic gain vs. environmental impact. Moreover, a large number of input variables and different variable types, e.g. continuous and categorical, are challenges commonly present in real-world applications. In some cases, proposed optimal solutions need to obey explicit input constraints related to physical properties or safety-critical operating conditions. This paper proposes a novel data-driven strategy using tree ensembles for constrained multi-objective optimization of black-box problems with heterogeneous variable spaces for which underlying system dynamics are either too complex to model or unknown. In an extensive case study comprised of synthetic benchmarks and relevant energy applications we demonstrate the competitive performance and sampling efficiency of the proposed algorithm compared to other state-of-the-art tools, making it a useful all-in-one solution for real-world applications with limited evaluation budgets.
Introduction
Optimizing modern energy systems, such as wind farm layouts or battery material compositions, presents a significant "black-box" challenge. These systems are governed by complex, non-linear physics that are computationally expensive to simulate. Designers typically face three major hurdles: mixed-variable spaces (continuous and categorical), competing objectives (e.g., cost vs. performance), and strict physical constraints (e.g., safety limits).
While standard Bayesian Optimization (BO) often relies on Gaussian Processes (GPs), these models struggle with high-dimensional categorical data. Conversely, evolutionary algorithms like NSGA-II are effective at discovering Pareto frontiers but require thousands of simulations, which is impractical for high-fidelity models. This research extends ENTMOOT (ENsemble Tree Model Optimization Tool) to provide a more sampling-efficient, constraint-aware framework for these complex domains.
Methodology
The proposed framework replaces traditional GPs with Gradient Boosted Regression Trees (GBRTs) via LightGBM. Trees are naturally suited for hierarchical and categorical data, avoiding the dimensionality explosion associated with one-hot encoding in GPs.
Uncertainty and Global Optimization
Because tree ensembles do not provide inherent uncertainty estimates, the authors implement a distance-based metric. This measures the proximity of new points to existing data in the feature space using Manhattan/Euclidean distances for continuous variables and Overlap/Goodall4 metrics for categorical ones.
A key innovation is the treatment of the acquisition function. Rather than using random sampling, the tree ensemble and distance metrics are encoded into a Mixed-Integer Non-convex Quadratic Program (MIQP). This is solved to global optimality using the Gurobi solver, ensuring that the next point selected for simulation is mathematically rigorous and respects all explicit constraints.
Multi-Objective Strategy
To handle multiple competing objectives, the framework employs the Weighted Chebyshev method to scalarize the problem. This approach is superior to simple weighted sums as it allows the model to identify optimal points on both convex and concave regions of the Pareto frontier.
Case Studies and Results
The framework was validated across three tiers of complexity:
- Synthetic Benchmarks: ENTMOOT outperformed NSGA-II in sampling efficiency, achieving superior Hypervolume and Generational Distance metrics within just 80 iterations.
- Wind Turbine Placement (WTP): In a 48-variable problem (32 continuous, 16 binary), ENTMOOT successfully optimized turbine layouts while strictly adhering to minimum distance constraints. NSGA-II failed to find a single feasible solution for the full 16-turbine set due to constraint violations.
- Battery Material Selection (BMS): Optimizing energy vs. power density using the PyBaMM package, ENTMOOT dominated the high-power region. By respecting C-rate constraints during the search, it avoided the failed simulations that hindered other methods.
Conclusion
By combining tree-based surrogates with MIQP-based global optimization, this enhanced ENTMOOT framework provides a robust solution for constrained multi-objective problems. Its ability to handle mixed variables and respect physical constraints during the acquisition phase makes it significantly more efficient than evolutionary alternatives for high-fidelity energy system simulations. Future work will focus on scaling the MIQP solver for larger datasets and exploring problems with more than two competing objectives.
Summary updated