1. Introduction
Sustainable construction is now central to reducing the climate impact of the built environment, which accounts for a large share of global energy demand and energy- and process-related
emissions [
1]. This creates strong pressure to develop construction materials that reduce embodied carbon while preserving performance, durability, affordability, and scalability. Autoclaved Aerated Concrete (AAC) is a lightweight mineral material with low density, dimensional stability, fire resistance, and strong thermal insulation, making it attractive for sustainable and modular building applications [
2]. AAC is produced by mixing siliceous material, cement, lime, gypsum, water, and aluminum powder into a slurry, which expands through gas generation, forms a porous green cake, and is then pre-cured, cut, separated, and hardened in autoclaves under saturated steam at elevated temperature and pressure [
3]. This steam-curing stage is essential for strength development and dimensional stability, but it is also one of the most energy-intensive factory operations. Therefore, AAC decarbonization requires attention to both upstream binder-related emissions, especially cement and lime, and operational emissions from steam generation and autoclaving [
2,
4]. Optimizing autoclave operation, electricity sourcing, heat demand, and binder use is consequently a practical pathway for reducing the carbon footprint of AAC production.
Life-cycle assessment (LCA) has been widely used to quantify the environmental performance of construction materials and to identify the production stages that dominate embodied impacts. For Autoclaved Aerated Concrete (AAC), existing LCA studies consistently show that environmental performance depends on both material inputs and factory operations. Ramagiri et al. [
5] developed a cradle-to-gate LCA for autoclaved aerated fly ash and concrete block production in China using
of product as the functional unit. Their study identified fly ash slurry production, lime grinding, and steam curing as key process contributors. It also showed that cement, lime, and natural gas were the dominant material and energy contributors to overall environmental impact. These findings are important because they connect AAC emissions to both binder production and autoclave-related thermal demand.
Other studies extend AAC assessment beyond factory-gate production. Reyes-Quijije et al. [
6] evaluated aerated concrete blocks in a building case study in Guayaquil, Ecuador, and compared them with conventional masonry materials. Their analysis linked material choice to structural weight reduction and environmental performance at the building scale. Fouad et al. [
7] examined the environmental performance of AAC in the United States and emphasized its potential as a lower-impact wall material when assessed against conventional alternatives. At the sector level, the European Autoclaved Aerated Concrete Association reported that most cradle-to-grave AAC emissions arise from cement and lime production, while AAC manufacturing itself contributes a smaller but still operationally relevant share [
2]. This distinction is central for decarbonization because raw-material substitution and factory energy optimization target different parts of the life cycle.
Recent LCA work has also addressed circularity and alternative raw materials. Volk et al. [
8] assessed post-demolition AAC recycling options and found that closed-loop recycling into new AAC production can improve environmental performance compared with landfilling. This supports circular-economy strategies for reducing primary raw-material demand. Emerging studies further investigate alternative silica or ash sources, including municipal solid-waste incineration fly ash, high-volume fly ash, and tailings sand, while combining mechanical performance with environmental assessment [
9,
10]. These studies show that AAC decarbonization cannot be reduced to a single intervention. It requires coordinated changes in binders, energy supply, autoclave operation, recycling pathways, and production planning.
Overall, the LCA literature provides a clear foundation for AAC sustainability assessment. It identifies cement and lime as major embodied-emission drivers and steam curing as a key factory-stage energy demand. However, most existing studies evaluate fixed production scenarios or compare material alternatives. Fewer studies connect LCA-style emission accounting with dynamic factory simulation, machine-learning surrogates, and optimization. The present work addresses this gap by coupling a discrete-event AAC production model with e and cost calculations, generating a large simulation dataset, and using surrogate-guided optimization to evaluate carbon-, cost-, time-, and balanced operating strategies.
Discrete-event simulation methods provide a rigorous framework for representing complex construction-material production systems. They capture individual production entities, finite-capacity resources, queues, transport operations, and local interactions that generate system-level behaviour. This is important for AAC manufacturing because production performance depends on coordinated movement through mixing, mould filling, rising, cutting, autoclaving, unloading, and storage. Discrete-event simulation has been widely used in construction to study decentralized interactions, dynamic operations, productivity, logistics, and resource allocation [
11,
12]. Multi-agent and agent-based manufacturing models are also increasingly used to represent smart production systems because they can capture distributed decisions, autonomous resources, and adaptive coordination [
13]. In the AAC context, this modelling strategy allows the factory to be evaluated as an integrated production system rather than as isolated process steps.
Artificial intelligence extends this simulation capacity by learning fast predictive models from simulated or observed production data. Machine-learning models can approximate the relationship between production settings, material use, energy demand,
e emissions, cost, and completion time. These surrogate models reduce the computational cost of scenario analysis and make optimization feasible over large design spaces. Indeed, the optimization of discrete and non-differentiable systems represents a fundamental challenge in operations research and machine learning. Classical gradient-based methods, such as stochastic gradient descent, cannot be directly applied to problems involving discrete variables or discontinuous decision functions. The straight-through estimator (STE), introduced by Bengio et al. [
14], provides an elegant solution to this issue: during backpropagation, the derivative of the non-differentiable function is replaced with a smooth approximation (typically the identity function or a soft sigmoid), while maintaining discrete values during the forward pass.
Recent reviews show that AI is increasingly used in construction materials to support mixture design, property prediction, process optimization, durability assessment, sustainability analysis, and quality control [
15]. We illustrate this in this work, with discrete-event simulations that preserve the operational and sequential dynamics of AAC production, while machine learning accelerates prediction and optimization. The resulting hybrid framework supports practical decision making by identifying lower-carbon, cost-aware, and time-efficient operating strategies before implementation in the physical factory.
More broadly, digital technologies are reshaping manufacturing by converting production lines into measurable, adaptive, and decision-oriented systems [
16]. In construction-material manufacturing, this shift is especially important because production quality, energy demand, and carbon intensity depend on tightly coupled process variables, including material dosing, curing conditions, equipment utilization, and production scheduling [
17]. Industry 4.0 tools, including sensors, data platforms, simulation, digital twins, and automated control, make it possible to track these variables across the production line and evaluate operational changes before implementing them in the factory [
18,
19]. For AAC production, such tools can support the systematic assessment of autoclave operation, steam demand, electricity sourcing, binder use, throughput, and cost. They therefore provide a practical pathway for linking productivity targets with decarbonization objectives.
In this work, we develop an integrated simulation and machine-learning framework for AAC production. We consider a discrete-event factory model, couple it to carbon-emission and cost calculations, and use the generated simulation data to train surrogate models that rapidly predict e emissions, production cost, and completion time. The trained surrogate is then used to identify operating strategies under carbon-focused, cost-focused, time-focused, and balanced objectives. Using this framework, we identify the strategies that minimize carbon emissions, while also reducing the cost and time required for batch production. This framework provides a practical decision-support tool for AAC manufacturers. It allows production strategies to be tested computationally, trade-offs to be quantified before implementation, and lower-carbon operating regimes to be identified without disrupting factory operations.
2. Materials and Methods
2.1. Problem Description: Autoclaved Aerated Concrete Production Process
Autoclaved Aerated Concrete (AAC) is a lightweight precast construction material produced in a controlled industrial environment. Its cellular structure results from the reaction of aluminum powder within an alkaline cementitious slurry, which generates gas bubbles and expands the fresh mixture. The expanded material is then pre-cured, cut to the required dimensions, and hardened under saturated steam in autoclaves. This sequence gives AAC its characteristic low density, dimensional accuracy, and mechanical stability.
The AAC factory is a sequential manufacturing system. Material flows from raw-material preparation to mixing, casting, rising, cutting, separation, autoclaving, unloading, and palletizing. These stages are standard in industrial AAC production and are also the main stages represented in the considered AnyLogic AAC factory model [
20,
21]. The model follows production from raw materials to pallets of concrete blocks and supports analysis of factory capacity, waiting times, and resource utilization.
The production system includes the following main components:
Raw-material preparation: Sand or other siliceous materials, cement, lime, gypsum, water, and aluminum powder are stored, prepared, and dosed. Accurate dosing controls slurry composition, aeration, density, and product quality.
Mixing and mould pouring: The ingredients are mixed into a homogeneous slurry and poured into moulds. Aluminum powder initiates gas generation, which expands the mixture and forms the porous internal structure of AAC.
Rising and pre-curing: Filled moulds are transferred to a rising area. The cake expands and gains sufficient stiffness for demoulding and cutting. This stage controls the transition from fluid slurry to stable green cake.
Cutting and separation: The green cake is demoulded and cut into blocks or panels. The cut elements are then separated and prepared for autoclave loading. This stage determines dimensional accuracy and strongly affects downstream flow.
Autoclaving: Cut elements are loaded into autoclaves and cured under saturated steam. Autoclaving promotes the formation of calcium-silicate-hydrate phases, including tobermorite, which contribute to strength, rigidity, and durability [
22].
Handling, unloading, and palletizing: Moulds, cakes, hardening cars, cranes, trolleys, and pallets move material between stations. After curing, products are unloaded, stacked, palletized, and transferred to storage or shipment.
The process begins with raw-material preparation and slurry mixing. The slurry is poured into moulds, where aeration produces volume expansion. After rising and pre-curing, the green cake is demoulded, cut, separated, and loaded onto hardening cars. The elements are then autoclaved, unloaded, palletized, and stored as finished AAC products.
From a modelling perspective, the AAC factory can be represented as a discrete-event production system. Each mould, cake, hardening car, or pallet is treated as an entity moving through a network of processing stations. Each station has finite capacity, processing time, queueing behaviour, and resource requirements. The model therefore captures both the physical sequence of production and the operational constraints that govern factory performance.
The main objective of the simulation is to evaluate and improve production performance. Relevant outputs include throughput, cycle time, queue length, waiting time, station utilization, autoclave occupancy, idle time, and the number of finished pallets produced over a planning horizon. These indicators make it possible to identify bottlenecks, test alternative resource allocations, assess transport and handling constraints, and quantify the effect of changes in processing times or factory layout.
Figure 1 illustrates the simplified AAC production flow considered in this study.
The AAC production line is highly interdependent. A capacity limitation at one station can propagate through the entire factory. Limited autoclave availability can create queues after cutting. Slow mould circulation can reduce casting productivity. Insufficient handling capacity can increase idle time at otherwise productive stations. Therefore, local improvements must be evaluated at the system level.
2.2. Simulation Design
The AAC production system was implemented as a discrete-event manufacturing simulation in AnyLogic. The model follows the logic of the publicly available AnyLogic Cloud AAC factory model, which represents concrete production from raw materials to finished products through mix preparation, mould pouring, rising, cutting, separation, autoclaving, and unloading [
20]. This structure is consistent with manufacturing simulation practice, where process models support capacity analysis, bottleneck identification, resource allocation, and safe evaluation of operational changes before implementation.
The public AnyLogic AAC factory model was used as the operational backbone for representing the main production flow, including slurry preparation, mould pouring, rising, cutting, autoclaving, unloading, and product movement. The original template primarily supports production-flow visualization, capacity analysis, and operational assessment. In this study, we extended this template into a sustainability-oriented decision-support model by adding stage-level e accounting, electricity and thermal-energy calculations, material-emission calculations, production-cost calculations, parameter-variation routines, structured data export, and downstream machine-learning and optimization modules.
These modifications were introduced to make the simulation suitable for carbon and cost evaluation. The added emission module links each production stage to electricity use, thermal-energy demand, and material-related e emissions. The cost module links material, electricity, and heat consumption to production cost. The parameter-variation and data-export routines allow thousands of alternative production configurations to be evaluated systematically. These extensions convert the public production-flow template into a framework for comparing AAC operating strategies, quantifying carbon–cost–time trade-offs, and identifying lower-carbon production regimes before implementation in a physical plant.
The simulation is organized around the Main agent. This agent contains the production stages, material-handling resources, routing blocks, storage elements, state variables, and data-export functions. The model tracks the movement of AAC cakes, moulds, trolleys, cranes, platforms, and autoclave resources through the production line. It also records production time, resource use, energy consumption, e emissions, and cost. The structure therefore links operational behaviour to sustainability metrics within a single simulation environment.
2.2.1. Production-Flow Components
Table 1 summarizes the main production-flow components embedded in the
Main agent. These components define the transformation of raw slurry into finished AAC products.
These production-flow components reproduce the main AAC manufacturing sequence. The slurry is prepared, poured into moulds, allowed to rise, cut in the green state, separated, cured in autoclaves, unloaded, and moved out of the system. The model abstracts the detailed chemistry of AAC formation. It focuses on process timing, resource constraints, queueing, and throughput.
2.2.2. Material-Handling and Transport Components
Table 2 summarizes the handling and transport components. These elements move cakes, moulds, platforms, and cured products between production stations.
The handling structure captures the fact that AAC production is not only a sequence of processing steps. It is also a material-flow system. Mould circulation, crane availability, trolley movement, and routing delays can create congestion and reduce effective capacity. The simulation therefore evaluates both processing resources and internal logistics.
2.2.3. Control, Queueing, and Decision Components
Table 3 summarizes the control and queueing components. These blocks regulate flow, waiting, and routing decisions.
These components provide the logic required for discrete-event control. They ensure that entities advance only when resources, capacity, and process conditions allow. This is essential for representing finite-capacity manufacturing systems.
2.2.4. Model Functions
The model includes four main functions for emission calculation, data recording, dataset generation, and export.
Table 4 summarizes their roles.
These functions convert the simulation from a process-animation model into a data-generating decision-support model. They allow each simulated configuration to be evaluated using operational, economic, and environmental outputs.
2.2.5. Model Parameters
The model uses four parameter groups: capacity parameters, process-time and speed parameters, energy and emission parameters, and cost and production-horizon parameters.
Table 5 summarizes the main capacity parameters.
Capacity parameters determine whether the line can maintain flow under different production scenarios. They directly affect queue length, idle time, utilization, and throughput. The model records variables that describe process time, energy use, emissions, cost, production output, and run identification.
Table 6 summarizes the main time and production variables.
These variables link factory operation to sustainability outcomes. They allow the model to identify which stages dominate energy use and carbon footprint. The resulting simulation design provides a complete computational representation of AAC production. It combines process flow, resource constraints, material handling, energy accounting, emission accounting, cost accounting, and dataset generation. This structure enables systematic comparison of production scenarios and provides the basis for surrogate modelling and optimization.
2.3. CO2e Emission Model for AAC Production
We developed a stage-based e emission model for Autoclaved Aerated Concrete (AAC) production. The model links the discrete-event factory simulation to material use, electricity demand, thermal-energy demand, production output, and project-level carbon footprint. It estimates emissions for each simulated production scenario and supports direct comparison of alternative operating policies.
The system boundary covers factory production from raw-material preparation to finished AAC products. The modelled stages include mix preparation, mould pouring and rising, cutting and separation, autoclaving, handling, unloading, and palletizing. This boundary captures the main operations represented in the simulation and the main production-related emission sources: embodied raw-material emissions, electricity use, and thermal energy for steam curing.
AAC emissions arise from two principal sources [
23]. The first source is upstream material production, especially cement and lime. These materials have high carbon intensity because their production requires substantial energy input and includes process emissions from calcination. The second source is factory operation, especially autoclaving, which requires saturated steam at elevated temperature and pressure. Previous AAC life-cycle evidence indicates that cement and lime account for most AAC life-cycle emissions, while manufacturing contributes a smaller but operationally important share [
2]. Electricity emission factors may be specified using national or regional grid factors, including the IEA emission-factor database [
24]. Thermal-energy factors may be defined from the fuel used to generate steam following stationary-combustion accounting methods [
25].
All process times generated by the simulation are recorded in minutes and converted to hours for energy calculations. Electrical power is expressed in kW, thermal power in , electrical energy in kWh, thermal energy in , and emissions in kg e.
2.3.1. Stage 1: Mix Preparation
The mixing stage combines silica slurry, cement, lime, aluminum powder, and water using electrically powered mixers. Emissions arise from electricity consumption and embodied material emissions. The electrical energy consumed during mixing is
The corresponding electricity-related emissions are
Material-related emissions are computed from input masses and emission factors:
The total emissions from mix preparation are
Electricity emission factors are obtained from the IEA database [
24]. Cement emissions are based on Andrew [
23]. Lime emissions follow IPCC methodology [
25]. Aluminum emissions are derived from the ecoinvent database [
26].
2.3.2. Stage 2: Mould Pouring and Rising
During mould pouring and rising, the AAC mixture undergoes aeration and controlled thermal conditioning. This stage requires electrical and thermal energy. Electrical energy consumption is
Thermal energy consumption is
The associated electricity-related emissions are
The associated thermal-energy emissions are
The total emissions from rising are
Heat emission factors are based on IPCC guidelines [
25].
2.3.3. Stage 3: Cutting
Once the AAC cake reaches sufficient stiffness, electrically powered cutting machines divide it into blocks or panels. The electrical energy consumed during cutting is
The corresponding emissions are
2.3.4. Stage 4: Autoclaving
Autoclaving is the most energy-intensive production stage. It uses high-pressure steam curing and auxiliary electrical equipment. Electrical energy consumption during autoclaving is
Thermal energy consumption during autoclaving is
The electricity-related emissions are
The thermal-energy emissions are
The total emissions from autoclaving are
2.3.5. Total Production Emissions
The total production carbon footprint per AAC cake is obtained by summing emissions across the modelled production stages:
This quantity is the main emission output of the production model. It allows direct comparison of simulated scenarios and quantifies how production timing, energy demand, material use, and autoclave operation affect the carbon footprint of AAC manufacturing.
2.3.6. Cost Model
The production cost per AAC cake is decomposed into material, electricity, and thermal-energy costs. Material cost is
Electricity cost is
Thermal-energy cost is
The total production cost per AAC cake is
In the baseline simulation, the cost terms are computed from material use, electricity demand, and thermal-energy demand, and therefore do not by themselves imply that higher total cost reduces autoclaving duration. For the post-processing trade-off analysis, we introduce the hypothesis that shorter autoclaving cycles require additional curing-related process intensification cost, representing higher steam intensity, auxiliary energy use, process control, or quality-assurance effort needed to maintain product quality under reduced curing time.
where
is the acceleration cost,
is the longest autoclaving duration in the design space,
is the selected autoclaving duration, and
is the acceleration-cost coefficient.
2.3.7. Project-Level Scaling
Let
denote the number of batches produced per day and
the number of simulated production days. The total number of batches produced over the study horizon is
The total project-level carbon footprint is
The total project-level production cost is
These project-level quantities place all scenarios on a common planning horizon. They support sustainability-oriented optimization by linking production decisions to carbon footprint, cost, and operational performance. The added
e emission parameters are provided in
Table 7. To facilitate result interpretation and reduce the computational time associated with data generation, we assume that all emission factors and process-associated costs are constant.
2.4. Data Generation
We generated the dataset through a large-scale parameter-variation experiment. The experiment used the discrete-event AAC factory model to evaluate how production capacity, resource allocation, process timing, electricity intensity, and cement use affect operational, economic, and environmental outcomes. We conducted 116,640 simulation runs. The parameter-variation experiment generated 116,640 simulation records through full factorial enumeration of all admissible parameter combinations, corresponding to candidate settings. The full simulation experiment was executed on an Apple M4 processor and completed in approximately 4.845 h. Training the four surrogate models required only a few additional minutes on the same hardware. Therefore, the upfront computational cost is modest for implementation on a standard modern workstation.
After training, the surrogate models predict e emissions, production cost, and production time almost instantly for new candidate configurations. This makes the framework suitable for rapid scenario screening and operational decision support without repeatedly running the full discrete-event simulation. Model updating depends on the surrogate class. The TensorFlow neural-network surrogate can be updated incrementally by resuming training from the existing weights when new simulation runs or factory data become available. In contrast, the standard Random Forest and Gradient Boosting models used in this study do not support incremental updating in the same form and generally require retraining when new data are added. Future work should explore online-learning and Bayesian surrogate approaches to support efficient updating as plant-specific operational data become available.
2.4.1. Parameter-Variation Experiment
The experiment varied eight input parameters (
Table 8). These parameters represent factory capacity, material flow, autoclave operation, electricity-emission intensity, and cement use. The selected ranges define a broad but operationally plausible design space for evaluating production performance and sustainability trade-offs.
The parameter ranges in
Table 8 were selected to define a controlled and computationally tractable design space for the public AAC factory simulation. They were chosen to vary the main operational and sustainability-related levers represented in the model, including storage capacity, mould availability, traverse speed, autoclave quantity, autoclaving time, electricity carbon intensity, and cement mass. These ranges should not be interpreted as covering all possible AAC manufacturing plants or equipment configurations. Instead, they provide a scenario-screening space for evaluating the proposed simulation–surrogate–optimization workflow. In practical deployment, the admissible values could be recalibrated using plant-specific operational data, equipment limits, product geometry, curing requirements, and site-specific production constraints. Storage size controls buffering capacity. Mould quantity controls casting and circulation capacity. Traverse speeds control internal transport performance. Autoclaving time and autoclave quantity control the dominant batch-curing bottleneck. The parameter
efElectricity represents the carbon intensity of electricity. The parameter
wCement corresponds to the cement mass used in the mixing and moulding.
2.4.2. Fixed Parameters
All other parameters were held fixed to isolate the effect of the varied inputs. The fixed parameters define the baseline production technology, process times, energy demands, unit costs, production horizon, and autoclave efficiency.
The fixed parameters in
Table 9 were taken from the public AnyLogic AAC factory template or specified as controlled baseline assumptions within that simulation environment. They were not calibrated from measurements from a specific industrial AAC facility. These values provide a consistent reference configuration for scenario screening and allow the analysis to isolate the effects of the varied parameters. Therefore, the results should be interpreted as model-based comparisons within the defined simulation design space rather than as direct predictions for a particular plant.
The representativeness of these baseline values must be verified through plant-specific calibration. In practical deployment, fixed process times, equipment speeds, resource capacities, downtime patterns, throughput, and energy-use parameters should be replaced or adjusted using measured factory operational data. Such calibration would allow the framework to better reflect site-specific AAC production conditions and improve confidence in its use as an industrial decision-support tool.
2.4.3. Dataset Generation Procedure
The dataset was generated dynamically through an event-driven process. Each simulation run initialized the AAC factory with one parameter configuration. The model then advanced through production events, including casting, rising, cutting, separation, autoclave loading, curing, unloading, and storage. Each completed cake generated one record containing the input parameters, time variables, energy consumption, emissions, and cost.
For each completed cake, the model recorded the production state and computed derived outputs using the emission and cost equations defined in
Section 2.3. The recorded variables included processing times, electricity use, thermal-energy use, material-related emissions, stage-level emissions, total production carbon footprint, and production cost.
This procedure produced a structured simulation dataset with 116,640 runs. The dataset links controllable production decisions to operational performance, cost, and carbon footprint. It therefore provides the empirical basis for identifying influential parameters, quantifying sustainability trade-offs, and optimizing AAC production under realistic factory constraints.
Lime and gypsum quantities were held fixed in the baseline simulation because the main experiment focused on controllable variation in cement use, electricity carbon intensity, autoclaving time, and production-capacity parameters.
Appendix A shows that lime enters the emission model additively and linearly over the tested range, while gypsum was not varied and is therefore identified as a limitation for future plant-specific sensitivity analysis.
2.5. Machine-Learning Surrogate Modelling
We trained machine-learning surrogate models to approximate the outputs of the AAC discrete-event simulation. The surrogate models map production, resource, energy, and emission parameters to three response variables: total e emissions, total production cost, and total actual production time. The complete simulation dataset generated from the experiment was divided into training and test subsets. We used 70% of the observations for model training and 30% for out-of-sample testing. The test set was not used during training. It provides an independent assessment of surrogate accuracy on unseen production configurations.
We trained four regression algorithms: a linear regressor, a Random Forest with 100 decision trees [
27], a Gradient Boosting algorithm with 100 estimators [
28], and an artificial neural network (ANN). These algorithms represent complementary surrogate classes. Linear regression provides an interpretable baseline. Random forest and Gradient Boosting capture nonlinear interactions between production parameters. The neural network provides a flexible nonlinear approximation model. The ANN comprises a series of dense layers and three outputs. The most accurate architecture was determined through trial and error by increasing the number of nodes and layers until good accuracy was achieved while preventing overfitting. The hidden layers consist of
nodes. Dropout was not used because the training data were generated from a deterministic discrete-event simulation. The target variables were computed from controlled input parameters and explicit accounting equations, rather than from noisy experimental measurements. Consistent with this structure, the validation loss closely followed the training loss and showed no visible evidence of overfitting. The ANN architecture was selected through preliminary testing of candidate layer sizes rather than a formal hyperparameter search. Given the deterministic and structured nature of the simulation-generated data, this level of tuning was sufficient for stable convergence and high predictive accuracy.
The ReLU activation function was used for all nodes in the hidden layers [
29]. The Adam optimization algorithm was used to fit the weights of the nodes [
30]. A learning rate of 0.00005 was chosen to balance learning speed and convergence stability. Early stopping was applied with patience = 10 and restoration of the best weights. Training stopped at epoch 14 out of a maximum of 100 epochs, indicating that the model stopped once validation performance no longer improved. The scikit-learn library was used for the implementation and training of the algorithms [
31], except for the artificial neural network which was implemented using TensorFlow [
32].
Model accuracy was evaluated using mean absolute error (MAE), mean squared error (MSE), root mean squared error (RMSE), and the coefficient of determination
. For observed outputs
, predicted outputs
, sample mean
, and test-set size
n, the metrics are defined as
Lower MAE, MSE, and RMSE indicate smaller prediction errors. Higher
indicates stronger agreement between predicted and simulated outputs.
Figure 2 shows that the training and validation losses decrease rapidly and then stabilize at low values. The close agreement between the two curves indicates stable training with no visible divergence between training and validation error. The training loss starts at approximately 0.72, while the validation loss starts at approximately 0.43. Both losses approach near-zero values by epoch 5 and then stabilize at a low MSE of approximately 0.01. This pattern indicates rapid learning of the dominant input–output structure in the simulation-generated dataset.
The validation loss remains close to the training loss throughout training. This behaviour provides no evidence of overfitting. The slightly lower validation loss during the early epochs is not problematic. It can occur when the validation subset is easier to predict, or when validation is evaluated under inference-mode settings rather than training-mode settings. This distinction is relevant for models using normalization layers, since batch-normalized networks can behave differently during training and inference. The small residual plateau after epoch 5 is consistent with the remaining prediction error observed in the actual-versus-predicted plots.
Table 10,
Table 11 and
Table 12 report test-set performance for the three response variables. The surrogate models reproduced the simulation outputs with high accuracy on the held-out test set. Random forest achieved the lowest error for total
e emissions and total production cost. Linear regression achieved the lowest error for total actual production time, indicating that this response is nearly linear over the explored design space. Gradient Boosting also provided strong predictive performance across all outputs. The neural network achieved high
values but larger absolute errors than the other models for these structured simulation-derived targets.
The near-perfect accuracy reflects the deterministic structure of the generated dataset. Total cost, total e emissions, and total actual time are computed from controlled simulation inputs and explicit accounting equations. The surrogate models therefore learn stable input–output mappings rather than noisy empirical relationships. This result supports their use as fast emulators for optimization and scenario analysis. The surrogate models do not replace validation with physical production data. They provide a computational layer for exploring the simulated design space and identifying high-performing AAC production strategies for further evaluation. Because the targets are deterministic functions of the simulated inputs and explicit accounting equations, the surrogate is intended to emulate the full simulation-accounting pipeline at low computational cost rather than to infer a noisy empirical law.
2.6. Straight-Through Estimator Optimization
After training the artificial neural network surrogate model, we used it as a differentiable proxy for the AAC discrete-event simulation. The surrogate maps each candidate production configuration to three predicted outputs: total e emissions, total production cost, and total actual production time. This enables gradient-based optimization without repeatedly executing the full simulation.
The optimization problem includes discrete input parameters. Examples include autoclaving time, mould quantity, storage size, traverse speed, and autoclave quantity. These variables take values from finite sets defined in the experiment. Standard gradient descent cannot be applied directly to hard discrete choices. We therefore used a straight-through estimator (STE), which allows hard selections in the forward pass while passing approximate gradients during backpropagation [
14].
For a given candidate configuration, the surrogate predicts the normalized outputs
,
, and
. The optimization minimizes the weighted objective
Here,
,
, and
are user-defined objective weights with
and
is a parameter which determines the weight of enforced penalties. The gradient-based optimization procedure was selected because the trained artificial neural network provides a differentiable surrogate of the AAC simulation. This allows the optimizer to evaluate many candidate production strategies at low computational cost, without repeatedly executing the full discrete-event factory model. The approach is well suited to the present problem because the objective combines multiple predicted outputs, including
e emissions, production cost, and production time. Once these outputs are approximated by a differentiable surrogate, gradients can be used to efficiently identify operating configurations that improve the weighted objective.
The production design space includes both nonlinear relationships and discrete decision variables. Nonlinearities arise from interactions among process duration, energy demand, material use, and emission factors. Discreteness arises because several operating variables can only take finite admissible values, including autoclaving time, mould quantity, storage capacity, traverse speed, and autoclave quantity. Standard gradient descent cannot directly optimize such hard discrete choices. We therefore used a straight-through estimator (STE). In the forward pass, the optimizer selects valid discrete parameter values from the admissible set. During backpropagation, gradients are passed through the underlying soft probability representation of each choice. This formulation preserves feasible production settings while enabling gradient-based optimization over a discrete manufacturing design space.
Discrete-Choice Straight-Through Estimator
Although several output variables are computed deterministically once a simulation run is completed, the full AAC production model is not a simple closed-form analytical function of the input parameters. The discrete-event simulation includes finite-capacity resources, routing logic, queues, waiting times, and discrete production decisions. These mechanisms determine operational outputs such as production time, resource use, and process-level energy demand before the emission and cost equations are applied. Therefore, direct analytical optimization of the accounting equations alone would not capture the full simulation-accounting pipeline.
Although Random Forest and linear regression achieved the smallest test errors for some outputs, we used the ANN in the optimization stage because it provides a differentiable surrogate compatible with the straight-through estimator. The ANN was therefore selected on methodological grounds rather than solely on predictive rank. Each discrete decision variable was represented by a vector of learnable logits. At each optimization step, the logits were transformed into softmax probabilities. The forward pass selected a hard discrete value using the largest probability. The backward pass used the soft probabilities to propagate gradients to the logits. This makes the optimization differentiable while preserving valid discrete decisions in the forward model.
The ANN surrogate was used because it provides a differentiable approximation of this complete pipeline. This differentiability enables gradient-based optimization of the weighted objective and allows the straight-through estimator to handle discrete production variables. During the forward pass, the optimizer selects valid discrete values from the admissible production settings. During backpropagation, gradients are passed through the corresponding soft probability representation. Thus, the ANN layer is not intended to replace known emission or cost equations. Its role is to convert a discrete and non-differentiable simulation workflow into a differentiable surrogate that can be optimized efficiently.
For each discrete parameter, the optimizer assigns a probability to every admissible value. During the forward pass, the model selects the value with the highest probability and evaluates the surrogate using this hard choice. During backpropagation, the straight-through estimator passes gradients through the underlying probability vector, which allows gradient-based optimization despite the discrete design space [
14]. Let
be the softmax probability vector and let
be the one-hot vector associated with the selected value. The STE representation is
The selected parameter value is
where
denotes the admissible values of the parameter. For example,
autoclavingTime is selected from
min. The softmax temperature was set to
. This value provides a practical balance between exploration and discrete selection. Lower temperatures produce sharper choices. Higher temperatures keep the probability distribution smoother and increase exploration. Here, the STE implementation used a single softmax temperature,
, for both the forward discrete selection and the backward gradient approximation. We did not tune separate forward and backward temperatures,
and
, because the present optimization problem involved a relatively small finite design space and deterministic surrogate outputs. The single-temperature formulation provided stable optimization behaviour while keeping the implementation transparent and reproducible. Decoupling
and
may improve performance in larger or more complex discrete optimization settings, but benchmarking alternative STE temperature schemes was outside the scope of this study. Future work should evaluate whether separate forward and backward temperatures improve convergence, robustness, or solution quality for plant-specific AAC optimization problems. The STE implementation and optimization study was conducted using Tensorflow [
32].
4. Discussion
This study developed a hybrid simulation-optimization framework for sustainable AAC production. The framework combines a discrete-event factory model, stage-based
e and cost accounting, machine-learning surrogate models, and gradient-based optimization. The simulation represents the main AAC production stages, including mix preparation, mould pouring and rising, cutting, autoclaving, unloading, and product handling. Relative to the public AnyLogic AAC example [
20], we added stage-level energy and
e accounting, a cost model, parameter sweeps for large-scale dataset generation, and automated export of run-level outputs for surrogate training and optimization. This structure preserves the operational logic of AAC manufacturing while enabling large-scale scenario generation. The carbon model accounts for material-related emissions, electricity use, and thermal energy demand. This is consistent with previous AAC life-cycle evidence showing that cement and lime dominate upstream emissions, while steam generation for autoclaving remains a key factory-stage emission source [
2]. By training surrogate models on approximately 116,640 simulated scenarios, the framework enables rapid prediction of
e emissions, production cost, and completion time across alternative operating strategies.
The results identify electricity carbon intensity, cement use, and the assumed cost of accelerated curing as the main levers governing the simulated AAC trade-offs. The Carbon + Cost and Carbon Priority strategies produced the lowest predicted
e emissions, approximately 1291.82 kg
e, and selected the lowest electricity emission factor, 0.05 kg
e/kWh. These strategies also selected the lowest cement mass, 400 kg, together with the Cost Priority strategy. In contrast, the Time Priority strategy achieved the shortest reworked production time but produced the highest predicted
e emissions and cost, reflecting the added burden associated with accelerated production. Across the strategies, predicted
e emissions and cost varied more strongly than reworked production time, indicating that prioritizing time can substantially increase environmental and economic burden. The feature-importance and strategy analyses were consistent: autoclaving time, electricity carbon intensity, and cement use governed most of the variation in emissions, cost, and time. These findings suggest that AAC decarbonization should combine lower-carbon electricity or steam generation, careful management of autoclave operation, and reduction or substitution of carbon-intensive binders. The results also show that carbon- and cost-oriented strategies can reduce emissions without selecting the most time-intensive operating regime, supporting the need for practical guidelines that help manufacturers balance low-carbon production with operational feasibility. The ranking of optimal strategies was validated by a brute force search study (
Figure A4).
Across all optimization strategies, the selected autoclaving time converged to the minimum admissible value of 50 min. This result should be interpreted in light of the current model assumptions. In the present framework, autoclaving time increases thermal-energy demand, electricity use, production cost, e emissions, and completion time, but product-quality constraints such as strength development, density, curing completeness, and dimensional stability are not explicitly modelled. Therefore, longer autoclaving does not provide a compensating benefit in the objective function. Autoclaving time was retained as a decision variable because it is a central operational lever in AAC production and because the analysis tests whether longer curing durations are selected under different carbon, cost, time, and balanced priorities. The consistent selection of 50 min is therefore conditional on the simulated design space and should not be generalized to all AAC plants. Future plant-specific implementations should include curing-quality and mechanical-performance constraints, under which longer autoclaving times may be required or optimal.
A gradient-based optimization method was selected because the artificial neural network provides a differentiable surrogate of the AAC simulation. This allows rapid exploration of candidate production strategies without repeatedly executing the full discrete-event model. The production design space includes nonlinear relationships among energy use, process time, material use, and emissions, as well as discrete variables such as autoclaving time, mould quantity, storage capacity, traverse speed, and autoclave quantity. To handle these discrete choices, we used a straight-through estimator. The optimizer selects valid discrete values during the forward pass, while approximate gradients are passed through a soft probability representation during backpropagation. This preserves feasible production settings while enabling efficient gradient-based optimization.
Figure 6 shows how the proposed framework can operate as a smart manufacturing layer for AAC production. The discrete-event model represents the main factory stages and generates 116,640 production scenarios. The surrogate models then learn fast mappings from operating settings to
e emissions, cost, and production time. Coupled with gradient-based optimization, this structure allows plant operators to compare carbon-, cost-, time-, and balanced strategies before changing factory conditions. In this sense, the framework provides a digital twin-like decision-support tool for AAC manufacturing: it links process simulation, data-driven prediction, and optimization to identify lower-carbon operating regimes and update production policies as new plant data become available [
35,
36].
This study has a few limitations that should guide interpretation and future work. The simulation dataset covers a broad but finite design space, with particular emphasis on parameters that influence autoclaving because steam curing is one of the most energy-intensive factory operations in AAC production. Adding more operational variables, such as raw-material logistics, maintenance disruptions, worker schedules, product geometry, quality constraints, boiler efficiency, heat recovery, and site-specific energy systems, would require additional simulation runs to preserve surrogate-model accuracy. This is a standard limitation of simulation-based surrogate modelling, where higher-dimensional design spaces require denser sampling or adaptive experimental designs to maintain reliable prediction and optimization performance [
37]. We focused on autoclaving because steam curing is one of the most energy-intensive factory operations in AAC production and has been identified as an important contributor in AAC life-cycle studies [
2]. However, other stages may also affect emissions, cost, and throughput, especially when material preparation, lime grinding, transport, storage, downtime, or plant-specific fuel systems are included [
2]. Heat recovery was not explicitly included in the present model because the public AAC factory simulation does not resolve plant-specific steam-system design, condensate recovery, boiler efficiency, heat-exchanger performance, or recovered-heat allocation. The current framework therefore represents thermal-energy demand directly through the rising and autoclaving stages. This is a limitation because heat recovery has been identified as an important AAC decarbonization lever. Including heat recovery would reduce the effective thermal-energy demand of steam curing and could change the optimal strategies by lowering the carbon penalty associated with autoclaving time. As a result, the relative importance of autoclaving time may decrease, while binder-related emissions from cement and lime may become more dominant. Future plant-specific implementations should include heat-recovery efficiency, boiler losses, condensate return, and recovered-heat reuse to evaluate this pathway quantitatively. The present framework should therefore be interpreted as a decision-support, focusing on optimizing the autoclaving process during AAC manufacturing, rather than a complete plant certification model.
This study shows that sustainable AAC manufacturing can be evaluated as part of a broader construction value chain. The proposed surrogate model provides a fast representation of factory-level emissions, cost, and production time. Future work will integrate this model into Modular Integrated Construction (MiC) supply chain frameworks to evaluate how manufacturing decisions interact with logistics, storage, assembly, and site-installation strategies. This extension is important because MiC performance depends on coordinated decisions across factories, transport fleets, and construction sites, and recent studies show that simulation and optimization can improve MiC supply-chain sustainability by reducing duration, cost, and carbon emissions [
38]. A coupled AAC-MiC framework would allow decision makers to compare low-carbon production policies with supply-chain strategies and identify solutions that reduce emissions without shifting burdens from manufacturing to logistics or construction operations. The electricity emission factor was varied from 0.05 to 0.81 kg
e/kWh to represent different grid-carbon-intensity conditions. This provides a partial sensitivity analysis for one of the most important regional emission parameters. The results show that electricity carbon intensity strongly influences predicted
e emissions and can affect the attractiveness of strategies involving electricity-intensive or autoclaving-related operations. However, other emission factors and cost parameters, including heat emissions, cement, lime, aluminum, electricity price, heat price, and material unit costs, were held fixed using literature or database values. Therefore, the numerical results should be interpreted as conditional on these assumptions. Future plant-specific applications should include a broader sensitivity analysis using regional grid factors, local fuel mixes, boiler efficiency, site-specific energy tariffs, and actual material prices.
Finally, the present framework was developed using a public AnyLogic AAC factory model and simulation-generated production data. Therefore, the reported production times, energy consumption, e emissions, and optimized operating strategies should be interpreted as model-based estimates rather than direct measurements from an industrial AAC plant. The study demonstrates the feasibility of integrating discrete-event simulation, emission and cost accounting, machine-learning surrogate modelling, and optimization into a unified decision-support workflow. However, validation against real factory operational data remains necessary before industrial deployment. Future work should calibrate and validate the model using plant-specific records, including measured cycle times, autoclave energy demand, throughput, material consumption, production cost, and site-specific emission factors. Such validation would allow the framework to better represent actual AAC manufacturing conditions and improve confidence in its use for operational decision making.
5. Conclusions
This study contributes a unified decision-support framework for sustainable AAC production by integrating discrete-event simulation, e and cost accounting, machine-learning surrogate modelling, and gradient-based optimization into a single workflow. This integration is the main novelty of the work. It allows AAC production strategies to be tested computationally, translated into fast surrogate predictions, and optimized across carbon, cost, and time objectives before implementation in a physical factory. The proposed framework can be extended to AAC formulations based on alternative raw materials, such as fly ash, tailings, or recycled AAC powder, but it cannot be transferred without recalibration. Model migration would require updating the material masses, emission factors, cost parameters, curing requirements, and quality constraints associated with the alternative mix design. The discrete-event structure can remain largely unchanged, while the emission, cost, and performance modules should be recalibrated using formulation-specific and plant-specific data.
The results show that the optimization priority can meaningfully change predicted environmental performance. The carbon-priority strategy reduced predicted emissions to approximately 1855 kg e, while the highest-emission strategies exceeded 2050 kg e. This corresponds to an approximate reduction of 195 kg e, or about 9–10%, across the tested strategies. In contrast, the cost spread was modest, about 19 currency units, and production time varied by only approximately 0.6 min under the modelled assumptions. These findings indicate that, within the simulated design space, lower-carbon AAC production can be achieved mainly through electricity carbon intensity, cement use, and autoclaving-related decisions, without large predicted penalties in production time.
Future work should extend the framework through plant-specific calibration and validation against real factory operational data. This includes comparing predicted production time, energy use, throughput, cost, and e emissions with measured factory records. Such validation is necessary to assess the transferability of the surrogate models, refine site-specific assumptions, and support reliable deployment of the framework as an operational decision-support tool for AAC manufacturers.