arXiv Science⌕ Search

arXiv subjects

Smajil Halilovic

Publications and source records attributed to Smajil Halilovic.

6 recordsLinked to original sources

Fast Gradient-Based Framework for Spatial and Length Optimization of Geothermal Borehole Fields

Common analytical design tools for Borehole Heat Exchanger (BHE) fields size the total drilling length for a given layout but do not optimize the positions of the boreholes. We introduce a framework (OptiGeoS) for the simultaneous, gradient-based optimization of the borehole length and the continuous borehole positions under groundwater advection. It couples the Moving Finite Line Source model with local BHE equations and evaluates the temporal convolutions by Fast Fourier Transforms. The gradients with respect to the length and the positions are computed analytically. A flow-dependent Centroidal Voronoi Tessellation confines each borehole to its own cell, which enforces the spatial separation and provides advection-informed layouts. Under purely conductive conditions, the fluid temperature extremes of the forward model for a single borehole lie between those of EED and GHEtool, which differ by $0.32\,\mathrm{K}$. For a field of 120 boreholes, the hourly outlet temperature agrees with that of EED with an RMSE of $0.28\,\mathrm{K}$, while the peak temperatures deviate by up to $2\,\mathrm{K}$. For 25 boreholes simulated hourly over 20 years, one forward simulation takes less than $0.5\,\mathrm{s}$ and a full optimization about $8\,\mathrm{min}$ on a laptop CPU. In a case study with groundwater advection, the optimized layout requires $16.2\,\%$ less borehole length than a fixed grid. It reduces the length increase caused by the advected thermal plume from $20.9\,\%$ to $1.4\,\%$.

math.OC↗

A hybrid analytical-PINN model for subsurface simulation of geothermal heat exchangers in heterogeneous underground

Accurate and efficient prediction of subsurface temperature fields is essential for the design and operation of borehole heat exchanger (BHE) systems. Here we develop a parametric hybrid analytical and physics-informed neural network (PINN) framework for long-term multi-BHE simulations in heterogeneous underground. The method analytically extracts the singular line source response and enables the effective training of neural correction associated with subsurface heterogeneity. An explicit parametrization of the thermal conductivity allows physics-informed learning of a single feedforward neural network to generalize across different subsurface conditions. By formulating the correction in borehole-centered relative coordinates, the learned correction can be reused as a universal corrector through spatial and temporal superposition principles. Numerical experiments based on the infinite line source (ILS), finite line source (FLS) and moving finite line source (MFLS) models show that the hybrid method outperforms analytical approximations with stable accuracy over long simulation horizons and achieves orders-of-magnitude speedups over traditional solvers. The proposed framework therefore combines the efficiency of analytical models with the ability of numerical methods to capture heterogeneous subsurface physics, providing a fast and accurate approach for repeated long-term simulation of multi-BHE systems.

cs.LG↗

Fast Fourier Convolutional GAN for 30 m Clear-Sky Land Surface Temperature Gap-Free Reconstruction

Satellite-derived Land Surface Temperature (LST) provides spatially comprehensive data that ground stations cannot match. However, its utility is frequently limited by severe data gaps due to the presence of clouds. As LST is essential for understanding land-atmosphere interactions, numerous methods have been proposed to address this challenge. Yet, the development of a scalable and adaptable pipeline for generating gap-free LST datasets and reconstructing cloud-contaminated pixels remains challenging. Moreover, the reconstruction of extensive missing regions in fine-spatial-resolution observations is particularly difficult. To address this challenge, we propose a Multimodal Fast Fourier Convolutional GAN for reconstructing cloud-contaminated pixels in fine-resolution (30 m) Landsat imagery to generate gap-free clear-sky LST products. The method leverages Fast Fourier Convolution to enable a global receptive field across the image, and is guided by a stack of data consisting of satellite observations and Synthetic Aperture Radar (SAR) data. Across all LST quantiles, the interquartile range of scene-averaged RMSE (computed over reconstructed pixels) is consistently between 0.8 K and 1.8 K. The proposed approach enables the recovery of extensive missing regions, including scenes with more than 70% cloud-induced gaps, while relying on auxiliary data that are readily available at a near-global scale.

cs.CV↗

Model predictive control for laser thermal processing: operator learning, closed-loop validation, and out-of-distribution analysis

Laser-based thermal processing, such as laser powder bed fusion, requires tight regulation of the peak surface temperature: heat accumulates where the moving source re-enters previously heated material, driving the temperature out of its process window and causing defects. High-fidelity thermal models capture this physics but are too slow for online optimization, which motivates fast, differentiable, and generalizable surrogates. We develop and validate a complete surrogate-based control pipeline that regulates the maximum surface temperature of a moving laser on a 304-stainless-steel substrate. We also determine conditions under which our surrogate can be trusted inside the control loop by probing its out-of-distribution limits. A key component of our surrogate is a multi-step deep operator network bespoke for moving sources: its branch subnetwork encodes the future power and trajectory (position and velocity) sequence, while its trunk encodes the current peak temperature and the temperature at the future laser locations, yielding a one-shot five-step prediction. By way of illustration, we use this surrogate as a smooth (algebraic-rectifier) nonlinear program inside a receding-horizon model predictive controller solved in CasADi/IPOPT. The surrogate forward pass is over thousand times faster than the equivalent finite-difference steps. We show that aggregate open-loop accuracy is necessary but not sufficient for control-readiness: two surrogates with near-identical offline error behave drastically differently in closed loop. A controlled two-ensemble data design reduces a 91 K path-corner underprediction failure to 1.4 K, and a calibrated one-sided constraint margin of 13 K yields zero violations of the true upper bound on all tested paths.

math.OC↗

Optimization of Closed-Loop Shallow Geothermal Systems Using Analytical Models

Closed-loop shallow geothermal systems are one of the key technologies for decarbonizing the residential heating and cooling sector. The primary type of these systems involves vertical borehole heat exchangers (BHEs). During the planning phase, it is essential to find the optimal design for these systems, including the depth and spatial arrangement of the BHEs. In this work, we have developed a novel approach to find the optimal design of BHE fields, taking into account constraints such as temperature limits of the heat carrier fluid. These limits correspond to the regulatory practices applied during the planning phase. The approach uses a finite line source model to simulate temperature changes in the ground in combination with an analytical model of heat transport within the boreholes. Our approach is demonstrated using realistic scenarios and is expected to improve current practice in the planning and design of BHE systems.

math.OC↗

Spatial analysis of thermal groundwater use based on optimal sizing and placement of well doublets

This paper proposes an approach to optimize the technical potential of thermal groundwater use by determining the optimal sizing and placement of extraction-injection well doublets. The approach quantifies the maximum technically achievable volume of extracted groundwater in a given area and, hence, the amount of heat exchanged with the aquifer, considering relevant regulatory and hydraulic constraints. The hydraulic constraints ensure acceptable drawdown and rise of groundwater in extraction and injection wells for sustainable use, respectively, prevention of internal hydraulic breakthroughs, and adequate spacing between neighboring doublets. Analytical expressions representing these constraints are integrated into a mixed-integer linear optimization framework allowing effcient application to relatively large areas. The applicability of the approach is demonstrated by a real case study in Munich, where the geothermal potential of each city block is optimized independently. Six optimization scenarios, differing in terms of required minimum installed doublet capacity and spacings between doublets, underline the adaptability of the approach. The approach provides a comprehensive and optimized potential assessment and can be readily applied to other geographic locations. This makes it a valuable tool for thermal groundwater management and spatial energy planning, such as the planning of fourth and fifth generation district heating systems.

math.OC↗