1. Introduction
The rapid evolution of building energy systems toward more intelligent, adaptive, and human-centric paradigms has exposed critical limitations in conventional heating, ventilation, and air conditioning (HVAC) modeling and control strategies [
1,
2,
3]. Traditional approaches to HVAC optimization are largely developed for static or quasi-static occupancy environments, where internal heat gains are treated as exogenous, slowly varying inputs [
4,
5]. While such assumptions are reasonable for office buildings, residential spaces, or commercial facilities, they fail to capture the fundamental characteristics of performance-driven environments such as dance theaters [
6,
7,
8]. In these settings, thermal loads are not only highly dynamic but are intrinsically coupled with human motion, choreography structure, and spatial distribution of occupants [
9,
10,
11]. Dancers exhibit metabolic rates that fluctuate significantly over time, often reaching levels several times higher than sedentary occupants, and their movement patterns generate non-uniform, rapidly shifting heat distributions across the performance space [
12,
13,
14]. At the same time, audiences and supporting areas impose distinct and often conflicting comfort requirements, creating a multi-regime thermal management problem that challenges existing HVAC frameworks.
Recent advances in building energy optimization have incorporated data-driven techniques, model predictive control, and reinforcement learning to enhance system adaptability [
15,
16]. However, these methods typically treat occupants as passive thermal sources and do not explicitly model the endogenous relationship between human behavior and energy demand [
17,
18,
19]. Moreover, uncertainty in occupancy patterns, activity intensity, and environmental disturbances is often addressed through scenario-based or stochastic optimization methods that rely on predefined probability distributions [
20,
21,
22]. Such approaches are inherently limited in their ability to capture the complex, structured variability associated with choreographed human motion, where both temporal and spatial correlations play a critical role [
23,
24,
25]. As a result, there remains a significant gap in the literature regarding the development of optimization frameworks that simultaneously integrate physical system dynamics, behavioral uncertainty, and adaptive learning mechanisms in a unified and tractable manner.
This paper addresses these challenges by proposing a novel optimization framework for HVAC control in dance theater environments, where energy demand is explicitly driven by human motion and choreography. The core idea is to treat the building as a behavior-coupled cyber-physical system, in which thermal dynamics and human activity are co-evolving processes rather than independent components. To this end, we develop a comprehensive mathematical model that captures multi-zone thermal interactions, nonlinear HVAC energy consumption, and endogenous heat generation derived from dancer-specific metabolic functions. The modeling framework introduces a spatial–temporal mapping between choreography states and zone-level heat loads, enabling the system to anticipate and respond to dynamic performance patterns without relying on real-time sensing. This representation allows the HVAC system to operate in a predictive and proactive manner, aligning energy supply with anticipated human activity.
To account for uncertainty in human behavior and environmental conditions, the proposed framework adopts a distributionally robust optimization approach based on Wasserstein ambiguity sets. Instead of assuming a fixed probability distribution for uncertain parameters, the model considers a family of plausible distributions centered around empirical observations, thereby ensuring robustness against worst-case realizations of dancer activity and occupancy patterns. This formulation enables the system to maintain reliable performance under a wide range of operational scenarios while avoiding the conservatism associated with traditional robust optimization techniques. Furthermore, the interaction between HVAC control decisions and human behavior is modeled through a bi-level structure, in which dancers are treated as strategic agents whose performance outcomes depend on thermal conditions. This perspective fundamentally redefines occupants as active participants in the optimization process, introducing a feedback loop between energy systems and human responses.
Building upon this modeling foundation, the paper integrates a physics-informed reinforcement learning mechanism to derive adaptive control policies that generalize across varying performance scenarios. Unlike purely data-driven approaches, the learning component is constrained by thermodynamic principles, ensuring that the resulting policies remain physically feasible and interpretable. The reinforcement learning framework leverages state representations that incorporate thermal states, occupancy distributions, and choreography signals, and optimizes control actions to minimize a composite objective that includes energy consumption, comfort deviations, and robustness penalties. Through this integration of model-based optimization and learning-based adaptation, the proposed method achieves both reliability and flexibility, enabling efficient operation in highly dynamic environments. The contributions of this paper are fourfold. First, it introduces a new modeling paradigm for building energy systems that explicitly couples HVAC dynamics with human motion, moving beyond the traditional assumption of static or exogenous occupancy. Second, it develops a distributionally robust optimization framework that captures structured uncertainty in human behavior using Wasserstein ambiguity sets, providing a principled approach to handling variability in performance environments. Third, it formulates a bi-level interaction model that treats occupants as strategic agents, thereby incorporating human response into the optimization loop and enriching the behavioral realism of the system. Fourth, it integrates physics-informed reinforcement learning with thermodynamic constraints, enabling the derivation of adaptive and generalizable control policies that maintain both energy efficiency and occupant comfort. Collectively, these contributions establish a unified and scalable framework for next-generation HVAC optimization in performance-driven indoor environments.
The presented visual composition in
Figure 1 exhibits a complex layered structure characterized by overlapping graphical elements and fragmented visual segments. The image appears to combine multiple interface windows, textual components, and background textures, resulting in a highly non-uniform and partially distorted representation. Such visual artifacts are indicative of rendering inconsistencies, which may arise from display buffering issues, compression distortions, or incomplete image reconstruction processes. From a structural perspective, the composition lacks clear spatial hierarchy, as different layers of information are superimposed without consistent alignment. This leads to reduced readability and ambiguity in interpreting the underlying content. The presence of repeated patterns and blurred textual regions further suggests that the image may have undergone transformation or partial corruption during capture or transmission. In the context of system visualization or data presentation, such irregularities highlight the importance of ensuring consistency in graphical rendering and data integrity. A clear and well-structured visual layout is essential for effective communication, particularly when conveying complex information. Therefore, addressing these distortions is critical to improving both interpretability and presentation quality in practical applications.
Table 1 provides a structured comparison between the proposed framework and existing approaches in behavior–thermodynamics coupling for building energy systems. The comparison highlights several key dimensions, including behavior modeling, thermal coupling, uncertainty handling, control strategy, and adaptability. Conventional models typically treat occupant behavior as static or exogenous inputs, which limits their ability to capture dynamic interactions between human activity and thermal processes. Behavior-aware models introduce partial dynamics, but often lack a unified representation of thermal coupling and control. Learning-based methods improve adaptability through data-driven approaches, yet they may not explicitly enforce physical consistency. In contrast, the proposed framework models behavior as an endogenous and time-varying process, enabling direct interaction with thermal dynamics in a multi-zone setting. Furthermore, uncertainty is addressed through a distributionally robust formulation, which enhances reliability under varying conditions. The integration of physics-informed reinforcement learning allows adaptive control while maintaining thermodynamic consistency. Overall, this comparison illustrates that the proposed approach provides a more comprehensive and coherent treatment of behavior, thermodynamics, and control, thereby distinguishing it from existing methodologies.
2. Mathematical Modeling
To rigorously characterize the complex interactions between thermal dynamics, HVAC control actions, and time-varying internal heat loads, this section develops a comprehensive mathematical formulation for multi-zone building systems. Unlike conventional building energy models that treat internal gains as exogenous and static, the proposed framework explicitly models internal heat generation as an endogenous, dynamically evolving process that is spatially distributed across zones and temporally coupled with system states. The building is represented as a multi-zone thermodynamic network in which temperature evolution is governed by inter-zone heat transfer, HVAC actuation, environmental disturbances, and occupant-induced heat loads. To capture the nonlinear and heterogeneous nature of these interactions, the model integrates detailed representations of HVAC energy consumption, thermal comfort for different occupant groups, and spatial allocation of internal loads. Furthermore, uncertainty in internal heat generation and operational conditions is incorporated through a distributionally robust formulation, enabling the system to hedge against variability while maintaining computational tractability. The resulting model provides a unified foundation for capturing both the physical and stochastic characteristics of building energy systems, which serves as the basis for subsequent optimization and control design.
From an implementation perspective, the spatial resolution adopted in this study is intended to balance modeling accuracy and practical feasibility. While fine-grained zoning can theoretically improve control performance by capturing detailed thermal heterogeneity, it may also require dense sensing infrastructure and more sophisticated actuation capabilities in real-world applications. In practice, the proposed framework does not rely on excessively high spatial resolution, but can be applied to moderate zoning configurations that are commonly supported by existing building management systems. The required sensing inputs, such as zone-level temperature and occupancy-related signals, are typically available in modern HVAC deployments, and the control actions can be implemented through standard airflow and ventilation adjustment mechanisms. Therefore, the spatial modeling approach should be interpreted as a flexible representation that can be adapted to different levels of system granularity, rather than a requirement for dense instrumentation. This design allows the framework to maintain practical applicability while still capturing the key spatial interactions necessary for improved control performance.
To improve the transparency and practical interpretability of the HVAC energy model, the calibration and validation procedures associated with each component are systematically summarized in
Table 2. The table provides a structured overview of how the quadratic, bilinear, and exponential–logarithmic terms are calibrated and validated within the proposed framework. Specifically, the quadratic component captures the baseline energy consumption associated with actuation intensity and is calibrated using simulation-based parameter tuning, with validation performed through standard error metrics such as RMSE. The bilinear term reflects interaction effects between thermal states and control variables and is evaluated through sensitivity analysis across different operating regimes. The exponential–logarithmic component is introduced to represent nonlinear efficiency degradation under extreme conditions, and its parameters are calibrated using nonlinear fitting approaches while ensuring stable and bounded behavior under high-load scenarios. By explicitly summarizing the calibration workflow and validation criteria, this structured representation enhances the empirical grounding of the model and provides clearer support for the adopted functional forms, thereby improving the overall credibility and interpretability of the proposed approach.
Figure 1 illustrates a unified tri-layer architecture in which choreography-driven metabolic dynamics and empirical uncertainty jointly feed into a distributionally robust and physics-informed optimization engine, enabling multi-zone HVAC control to simultaneously minimize energy consumption while adaptively satisfying heterogeneous comfort requirements across dancers and audience.
Equation (1) establishes a distributionally robust, multi-objective optimization formulation in which the control variables
,
, and
jointly determine the thermodynamic state evolution of the multi-zone dance theater, while
implicitly captures higher-order adaptive control adjustments under learning; the outer supremum over the Wasserstein ambiguity set
embeds endogenous uncertainty arising from stochastic dancer metabolic intensities
and choreography-induced spatial distributions
; the energy consumption term
is weighted by
, while dancer-centric thermal deviation and audience comfort are penalized through quadratic forms scaled by
and
, respectively; the variance regularization component involving
enforces alignment between instantaneous metabolic aggregation and nominal profiles
; and the final dynamic consistency penalty weighted by
ensures that the control decisions remain coherent with the nonlinear thermodynamic operator
, thereby integrating physical realism, behavioral variability, and robustness into a unified objective.
Equation (2) defines the discrete-time thermal state transition for each spatial zone z, where the evolution of temperature is governed by a composite balance of conductive, convective, and radiative heat transfer mechanisms; the inter-zone coupling matrix captures thermal diffusion between heterogeneous regions such as stage and audience, while represents nonlinear HVAC-induced heat flux driven by airflow and ventilation decisions; the endogenous human heat generation term explicitly embeds dancer motion into the thermodynamic dynamics, and environmental disturbances together with radiative exchanges further enrich the model fidelity; the additive perturbation accounts for unmodeled stochastic effects, making the equation both physically grounded and uncertainty-aware.
It is worth noting that heat accumulation within the system is implicitly captured through the state transition structure of the thermal dynamics. Specifically, the temperature variable evolves recursively over time, such that the current state already reflects the integrated effect of past heat inputs and system responses. The thermal capacity of each zone governs the rate at which heat is retained or dissipated, thereby embedding the accumulation behavior into the dynamic evolution process. From this perspective, the HVAC contribution does not represent instantaneous heat storage alone, but rather interacts with the system’s thermal inertia, which determines how injected or removed heat is gradually accumulated or released over time. This formulation ensures that both transient and cumulative thermal effects are consistently represented within the model.
Equation (3) models the HVAC energy consumption function as a nonlinear composite of quadratic, bilinear, and exponential–logarithmic components parameterized by
, reflecting system-specific thermodynamic characteristics; the quadratic terms
and
capture fundamental actuation costs of airflow and ventilation, while the temperature deviation term penalizes conditioning effort relative to supply temperature
; the bilinear interaction between airflow and thermal gradient introduces coupling between mass flow and heat exchange, and the log-exp term captures nonlinear efficiency degradation under extreme operating conditions, yielding a flexible yet tractable representation of HVAC energy dynamics suitable for advanced optimization.
Equation (4) defines the dancer-specific metabolic heat generation as a nonlinear function of choreography composition, where denotes the fractional engagement in movement type k, and represents the baseline metabolic intensity of each movement class; second-order interaction coefficients capture synergistic effects among simultaneous movements, while sinusoidal terms governed by encode temporal rhythmicity inherent in dance sequences; the stochastic disturbance captures physiological variability across individuals, resulting in a rich, behavior-driven representation of endogenous heat generation.
The metabolic heat generation model is designed to capture generalized activity patterns rather than individual-specific characteristics. The parameters are defined at the level of movement types and aggregated behavioral features, which allows the model to represent a wide range of dancers without relying on personalized calibration. This structure reduces the risk of overfitting and improves generalization across different individuals and performance scenarios. The metabolic heat generation model is constructed based on generalized activity intensity and movement patterns rather than style-specific features. Specifically, the formulation captures the relationship between motion intensity, temporal variation, and aggregated behavioral characteristics, allowing it to represent a wide range of dancer activities without relying on individual-specific or choreography-specific calibration. From this perspective, the model exhibits a degree of zero-shot transfer capability across different dance styles that share similar intensity profiles, such as variations in tempo, movement amplitude, and energy expenditure. This enables the framework to be applied to diverse performance scenarios without requiring retraining of the model structure. For cases involving significantly different movement characteristics or extreme activity regimes, minor parameter adjustment or recalibration may be applied to better align with observed conditions. However, such adjustments do not require full retraining and are limited to tuning a small number of interpretable parameters. This design ensures that the model maintains both flexibility and robustness across different performance contexts, while avoiding overfitting to specific dancer behaviors or choreography patterns.
Equation (5) defines the Wasserstein ambiguity set governing distributional uncertainty in the stochastic vector
, which aggregates dancer metabolic behavior, spatial allocation, and schedule perturbations; the transportation-based constraint involving
ensures that any candidate distribution
lies within a Wasserstein radius
of the empirical distribution
, while the moment consistency condition with deviation vector
introduces structured bias to capture systematic behavioral shifts. This formulation enables the optimization to hedge against worst-case realizations of human-driven uncertainty while remaining anchored to observed data distributions.
The spatial allocation variable is constructed through a softmax-type mapping that transforms latent choreography descriptors into probabilistic occupancy across zones, where encodes dancer position trajectories, reflects structural characteristics of each spatial region, and captures role-dependent preferences such as lead versus ensemble placement; the coefficients regulate the sensitivity of allocation to these features, while the normalization across all zones ensures conservation of presence mass, and the perturbation introduces stochasticity that reflects minor deviations from scripted choreography, thereby enabling a continuous and differentiable representation of dancer spatial distribution.
The Softmax-based mapping is applied at the zone level with normalized inputs, which limits the dimensionality of the computation and ensures scalability with respect to the number of occupants. In addition, the formulation operates on bounded feature representations, which helps maintain numerical stability and avoids gradient saturation under typical operating conditions. Therefore, the mapping remains computationally tractable and stable even in scenarios with dynamic occupancy and spatial variation.
The dancer-specific reference temperature
evolves as a function of both instantaneous and dynamic metabolic activity, where the baseline setpoint
is adjusted downward according to movement intensities
and their pairwise interactions
, reflecting increased cooling demand during high-intensity choreography; logarithmic and temporal derivative terms governed by
and
introduce nonlinear sensitivity to accumulated heat load and rapid changes in activity, respectively, thereby producing a dynamically adaptive comfort reference tailored to dancer physiology.
The thermal comfort of the audience is quantified through a modified PMV formulation that incorporates nonlinear dependencies on temperature, airflow, and ventilation, where the deviation from audience reference temperature
is weighted by
, and additional terms capture both square-root airflow effects and exponential interactions between thermal and flow variables; this enriched structure enables the model to capture subtle comfort sensitivities in large seating areas where airflow heterogeneity and density-driven ventilation effects are prominent.
The aggregated discomfort measure
integrates both static and dynamic deviations from comfort conditions, where quadratic penalties enforce adherence to dancer-specific thermal targets and audience PMV neutrality, while additional absolute gradient terms penalize rapid temporal fluctuations in temperature and airflow, thereby discouraging aggressive control actions that could induce transient discomfort even if steady-state conditions are satisfied.
The temperature feasibility region is expressed through adaptive bounds in which the nominal limits
and
are dynamically perturbed by time-dependent sinusoidal and sigmoidal adjustments parameterized by
and
, allowing the system to temporarily relax or tighten constraints in response to performance phases, thereby accommodating the inherently transient nature of theater operations without violating overall safety requirements.
Airflow constraints are formulated as state-dependent bounds in which the permissible range expands with both thermal deviation from ambient conditions and cumulative metabolic heat within the zone, as reflected by the terms involving and ; this structure allows the HVAC system to dynamically allocate higher airflow capacity during intense performance segments while maintaining tighter control during idle periods.
The parameters
and
are introduced as state-dependent coefficients that modulate the flexibility of the dynamic constraints under varying operating conditions. They are not directly updated during the reinforcement learning process, but are defined to reflect scenario-dependent adjustments based on system states and environmental factors. In this way, the constraint structure remains fixed while allowing adaptive behavior through its dependence on evolving system variables.
Ventilation limits are similarly extended through nonlinear dependence on aggregate metabolic load and thermal deviation, where logarithmic scaling ensures diminishing marginal increases in ventilation capacity with respect to total heat generation, while the quadratic temperature term captures the need for intensified air exchange under extreme thermal conditions, thus providing a flexible yet physically interpretable constraint on ventilation control.
The HVAC capacity constraint is expressed as an integrated nonlinear envelope over the entire time horizon, where the cumulative actuation effort—captured through quadratic airflow and ventilation terms, bilinear coupling, and exponential thermal–load interactions—must not exceed the installed capacity
; this formulation reflects not only instantaneous limits but also the aggregated stress imposed on the system, thereby embedding lifecycle-aware operational feasibility into the optimization structure.
The nonlinear operator
encapsulates the full thermodynamic forcing acting on each zone, integrating spatial diffusion via
, direct HVAC actuation through
and
, and endogenous human heat contributions weighted by
; the logarithmic aggregation term further introduces diminishing sensitivity to large metabolic loads, thereby stabilizing the dynamics under extreme performance conditions.
The expectation of metabolic intensity under the uncertain distribution is decomposed into a nominal estimate augmented by first- and second-order perturbation components, where and encode probabilistic deviations associated with choreography-induced uncertainty; this structure allows the model to capture both independent and interaction-driven fluctuations in human heat generation.
3. Distributionally Robust Learning-Based Control
This section introduces an integrated solution methodology that combines distributionally robust optimization with physics-informed reinforcement learning to address the challenges of dynamic and uncertain HVAC control in multi-zone buildings. The core objective is to derive control policies that are not only energy-efficient and comfort-aware but also robust to uncertainty in internal heat loads and environmental conditions. To this end, the original optimization problem is first reformulated into a tractable structure using duality-based techniques, enabling efficient handling of distributional ambiguity. Subsequently, a learning-based control mechanism is incorporated to enhance adaptability and generalization across varying operating scenarios. Unlike purely data-driven approaches, the proposed learning framework is explicitly constrained by the underlying thermodynamic dynamics, ensuring that all control actions remain physically feasible. In addition, the interaction between system control and internal heat generation is captured through a hierarchical structure that accounts for feedback between thermal states and load evolution. This hybrid methodology effectively integrates model-based rigor with data-driven flexibility, providing a scalable and computationally efficient approach for advanced HVAC optimization in complex building environments.
It is important to clarify that the proposed bi-level formulation does not assume that dancers explicitly solve an optimization problem in a conscious or rational manner. Instead, it serves as a behavioral abstraction that captures the natural and commonly observed trade-off between performance requirements and thermal conditions in real environments. In practice, dancers tend to adapt their movement intensity, pacing, and spatial distribution in response to thermal discomfort, even if such adjustments are not made deliberately or analytically. From this perspective, the lower-level problem can be interpreted as a proxy representation of adaptive human responses, where performance utility reflects choreography execution needs, and discomfort captures physiological and environmental constraints. This interpretation provides a realistic and intuitive foundation for incorporating human–system interaction into the optimization framework.
In the proposed framework, thermodynamic constraints are embedded into the reinforcement learning process through a combination of reward shaping and constraint-aware action design. Specifically, the reward function incorporates penalty terms associated with violations of thermal dynamics consistency and operational limits, which discourages infeasible control actions during training. In addition, the action space is defined within physically admissible bounds, ensuring that control decisions related to airflow, ventilation, and temperature adjustments remain consistent with system constraints. This design effectively prevents the policy from generating physically infeasible actions. From an implementation perspective, the approach does not rely on hard projection steps or specialized policy network architectures. Instead, physical feasibility is enforced implicitly through guided learning and bounded decision spaces, allowing the policy to converge toward constraint-consistent solutions while maintaining computational efficiency and stability.
To further clarify the implementation of the physics-informed reinforcement learning component, thermodynamic feasibility is enforced through a combination of structured reward design and constrained policy representation. Specifically, the reward function incorporates penalty terms associated with violations of thermal dynamics consistency and operational limits, which discourages infeasible control actions during training. In addition, the action space is defined within physically admissible ranges, ensuring that airflow, ventilation, and temperature-related decisions remain bounded by system constraints. From an implementation perspective, this approach does not rely on hard projections at each iteration, but instead embeds physical consistency into the learning process through guided exploration and constraint-aware evaluation. As a result, the learned policy naturally converges toward feasible regions of the control space while maintaining adaptability to dynamic operating conditions.
To enhance the transparency and practical interpretability of the proposed framework, the calibration and validation procedures of each model component are systematically summarized in
Table 3. The table provides a structured overview of how different modules, including thermal dynamics, HVAC energy modeling, behavior-coupled metabolic heat generation, spatial allocation, distributionally robust optimization, and reinforcement learning-based control, are calibrated and validated within a unified workflow. Specifically, the thermal and HVAC-related components are calibrated using simulation-based parameter tuning, with validation performed through standard prediction accuracy metrics such as RMSE and energy deviation. The behavior-driven metabolic model is constructed based on literature-informed scaling and validated through statistical consistency of generated heat profiles. The spatial allocation mechanism is calibrated using scenario-based tuning and evaluated through distributional similarity across zones. For the uncertainty modeling, the Wasserstein ambiguity set is calibrated via sensitivity analysis of the radius parameter, while robustness is assessed under distributional shifts. Finally, the reinforcement learning module is validated based on convergence characteristics and reward stability, ensuring reliable control performance. This structured calibration and validation framework improves the practical credibility of the proposed approach and provides a clear linkage between model design and empirical verification.
The original robust optimization problem is reformulated in a saddle-point structure through the introduction of dual variables
, which enforce system constraints represented compactly by matrices
; this transformation converts the min–max problem into a tractable dual form while preserving robustness against uncertainty, thereby enabling efficient numerical solution methods.
The dual Lagrangian
integrates the original objective with dynamic constraints through multipliers
, thereby embedding the thermal evolution equations directly into the optimization objective and enabling gradient-based solution techniques that jointly update primal and dual variables.
The empirical distribution
is constructed from sampled choreography scenarios
, each representing a joint realization of metabolic rates, spatial allocations, and thermal states; this discrete measure serves as the reference distribution for the Wasserstein ambiguity set, grounding the robust optimization in observed or simulated data.
The worst-case expectation under the Wasserstein ambiguity set admits an upper bound expressed through the empirical average plus a regularization term proportional to the radius
and the dual norm of the gradient, thereby linking distributional robustness to Lipschitz continuity of the objective and enabling tractable approximations.
The interaction between HVAC control and dancer behavior is captured through a bi-level optimization structure in which the upper-level minimizes system energy while anticipating the lower-level response of dancers who adjust their metabolic output
to balance performance utility
against discomfort penalties
; this formulation elevates human occupants from passive loads to strategic agents, fundamentally reshaping the optimization landscape.
The system transition is here parameterized through a learnable mapping
, where the parameter vector
governs how thermodynamic physics and human-induced heat loads are integrated within a model-based learning framework; the decomposition explicitly preserves interpretable physical components such as inter-zone heat transfer and HVAC actuation while allowing adaptive calibration through data-driven coefficients
, thereby forming a bridge between first-principles modeling and reinforcement learning dynamics.
The stochastic control policy
maps system states to probabilistic HVAC actions through a Boltzmann-type distribution, where parameters
encode the relative influence of temperature, airflow, and ventilation states on control decisions; this formulation ensures smooth exploration of the action space while maintaining sensitivity to high-dimensional system states.
The reward signal
is constructed as a negative composite cost that penalizes energy consumption, comfort violations, and excessive temporal fluctuations, thereby encouraging policies that achieve stable, energy-efficient, and human-centric thermal regulation over time.
The value function
represents the expected cumulative discounted reward under policy
, capturing the long-term performance of HVAC control strategies across evolving thermal and behavioral states, with
acting as the temporal discount factor.
The action-value function
extends the value function by conditioning on both the current state and action, enabling evaluation of specific HVAC control decisions within the stochastic environment.
The Bellman recursion expresses the value function as a fixed-point equation linking immediate reward and future value, forming the theoretical foundation for dynamic programming and reinforcement learning algorithms applied to HVAC optimization.
The policy gradient provides the direction for updating policy parameters
by weighting the log-likelihood gradient of actions with their corresponding action values, thereby reinforcing decisions that yield higher long-term rewards.
The augmented loss function incorporates constraint violations through penalty multipliers , where the positive-part operator ensures that only infeasible deviations contribute to the loss, thereby guiding the learning process toward feasible regions of the control space while preserving optimization performance.
4. Results
The case study is constructed around a medium-to-large-scale urban dance theater designed to reflect realistic operational and architectural characteristics. The building has a total floor area of 6800 m2 and is divided into three primary thermal zones: the main stage (420 m2), the audience seating area (1250 seats over approximately 2100 m2), and the backstage and auxiliary zones (including rehearsal rooms and corridors, totaling 1900 m2). Each zone is discretized into subzones (12 for the stage, 18 for the audience, and 10 for backstage) to capture spatial heterogeneity in thermal dynamics. The HVAC system consists of a centralized air handling unit with a rated capacity of 1.8 MW, combined with variable air volume (VAV) terminal units in each subzone, allowing independent airflow control within the range of 0.2–3.5 m3/s per zone. The HVAC system considered in this study is based on an air-side configuration, where thermal regulation is achieved through airflow and ventilation control. Other heating mechanisms, such as radiators or floor heating, are not explicitly modeled in this framework. Thermal capacitance values are set between 1.2 × 106 and 2.5 × 106 J/K depending on construction materials, and inter-zone heat transfer coefficients range from 0.8 to 3.6 W/(), calibrated based on typical theater insulation standards. Outdoor weather data is obtained from a Typical Meteorological Year (TMY3) dataset corresponding to a Mediterranean climate (e.g., Los Angeles), with hourly ambient temperature ranging from 12 °C to 32 °C and solar radiation peaking at 850 W/m2. Internal non-human heat gains, including lighting (12–18 W/m2) and equipment loads (8–15 W/m2), are incorporated as exogenous inputs. The human activity dataset is synthesized based on realistic choreography schedules and physiological estimates of metabolic rates. A total of 32 professional dancers are modeled, each assigned a time-varying metabolic profile with three discrete intensity levels: low (140–180 W), medium (260–320 W), and high (420–520 W), with transitions occurring every 5–15 min according to a predefined choreography script. Spatial allocation of dancers is represented through a probabilistic mapping across stage subzones, with occupancy densities varying from 0.05 to 0.25 persons/m2 depending on scene composition. Audience occupancy is fixed at 85% capacity during performance periods (19:00–21:30) and reduced to 20% during rehearsals (10:00–14:00), with corresponding metabolic rates assumed at 80–120 W per person. A total of 180 daily scenarios are generated over a 30-day horizon, capturing variability in choreography sequences, dancer attendance (±10%), and schedule perturbations (±20 min). These scenarios form the empirical distribution used to construct the Wasserstein ambiguity set, with a radius parameter calibrated in the range of 0.05–0.15 based on cross-validation to balance robustness and conservatism.
The computational environment is designed to support both large-scale optimization and learning-based control. The model is implemented in Python version 3.9 using a combination of Pyomo for optimization modeling and PyTorch version 1.13.1 for reinforcement learning components. The distributionally robust optimization problem is solved using Gurobi 11.0 with a time resolution of 5 min, resulting in 288 time steps per day and approximately 12,000 decision variables and 18,000 constraints per scenario. The bi-level structure is reformulated using Karush–Kuhn–Tucker conditions, leading to a single-level mixed nonlinear program with complementarity constraints. For the learning component, a physics-informed policy network with three hidden layers (dimensions 128–256–128) is trained using proximal policy optimization, with a discount factor of 0.98 and a batch size of 4096 transitions. Training is conducted over 1.2 × 106 interaction steps using an NVIDIA A100 GPU, NVIDIA A100 GPU, NVIDIA Corporation, Santa Clara, CA, USA while optimization routines are executed on a 32-core CPU with 128 GB RAM. Convergence is typically achieved within 2–3 h for the optimization module and 6–8 h for the learning module, enabling efficient evaluation of multiple policy configurations and robustness levels.
To ensure a fair and meaningful comparison, the baseline controller is designed to represent a standard and widely adopted control strategy in building energy management. In particular, the baseline operates based on current system states without incorporating predictive or learning-based mechanisms, which reflects conventional practice in HVAC control systems. All baseline parameters are carefully selected and tuned to achieve stable and consistent performance under the given operating conditions. This avoids potential underestimation of baseline performance due to improper configuration. In addition, both the proposed method and the baseline controller are evaluated under identical system settings, including the same thermal dynamics, internal heat generation profiles, and operational constraints. Therefore, the baseline serves as a representative reference for conventional control approaches, and the observed performance differences can be attributed to the structural advantages of the proposed framework rather than discrepancies in configuration or experimental conditions.
Figure 2 presents the temporal evolution of comfort deviation for both dancers and audience over a 24-h horizon, with the shaded green band representing the acceptable comfort zone defined between −0.5 and +0.5. It should be noted that the 24-h horizon represents the simulation period rather than continuous operation of the facility, and is used to capture time-varying occupancy and performance schedules. Under the baseline control, the dancer comfort deviation (red dashed curve) exhibits extreme volatility, particularly during the performance window around 18:00–21:00, where it sharply drops to approximately −1.3 and then spikes above +1.2, indicating severe thermal discomfort caused by uncontrolled metabolic heat accumulation and delayed HVAC response. In contrast, the proposed method (solid red curve) maintains dancer comfort within a much tighter band, fluctuating primarily between −0.2 and +0.4, even during peak activity periods. This corresponds to a reduction in maximum deviation magnitude of approximately 65–70%, which is critical given that dancer metabolic rates can exceed 500 W per person during high-intensity choreography. For the audience, the baseline condition (blue dashed curve) shows moderate but persistent oscillations ranging from −0.4 to +0.7, with noticeable instability during mid-day and evening peaks. The proposed method (solid blue curve) stabilizes audience comfort almost entirely within ±0.15, effectively eliminating excursions outside the comfort zone. Quantitatively, the standard deviation of audience comfort decreases from approximately 0.35 in the baseline case to below 0.1 under the proposed strategy. This demonstrates that the system successfully resolves the inherent conflict between dancer and audience thermal requirements by dynamically allocating airflow and temperature across zones, achieving simultaneous comfort compliance for both groups without sacrificing system stability.
Figure 3 compares the temperature trajectories across three distinct zones—stage, audience, and backstage—under baseline and proposed control strategies. In the baseline case (left panel), the stage temperature (orange curve) exhibits significant oscillations, ranging from approximately 22 °C to nearly 29.5 °C, with multiple peaks exceeding 28 °C during high-load periods. These fluctuations are driven by rapid changes in dancer metabolic heat and insufficient system responsiveness. The audience zone (blue curve) also shows variability, typically between 23 °C and 26 °C, while the backstage area (gray curve) remains relatively stable around 22.5 °C but still exhibits minor fluctuations. The temperature difference between stage and audience zones reaches up to 4 °C at peak times, indicating poor spatial coordination. Under the proposed method (right panel), all three zones exhibit substantially improved stability. The stage temperature is maintained within a narrow band of approximately 22 °C to 24 °C, reducing peak values by nearly 5 °C compared to the baseline. The audience temperature is tightly controlled between 21.8 °C and 22.5 °C, while the backstage zone remains almost constant at around 22.2 °C with negligible variation (<0.3 °C). The inter-zone temperature difference is reduced to less than 1 °C throughout the entire day, demonstrating effective multi-zone coordination. This stabilization is particularly evident during the performance window, where the proposed method eliminates abrupt thermal spikes, indicating that the system can proactively anticipate and compensate for dynamic human heat loads.
Figure 4 illustrates the total HVAC energy consumption over a 24-h period for three control strategies: conventional rule-based control, model predictive control, and the proposed DRO with physics-informed reinforcement learning. The baseline method (gray dashed curve) shows pronounced energy peaks, particularly around 12:00 and 20:00, where consumption reaches approximately 1100 kWh and 1350 kWh, respectively. The MPC-based approach (blue curve) reduces these peaks modestly, lowering the maximum energy usage to around 1200 kWh during the evening period. However, both methods exhibit significant variability and inefficient energy allocation, especially during transition periods.
The proposed method (green curve) achieves a substantial reduction in both peak and overall energy consumption. The maximum energy demand during the performance period is reduced to approximately 900–950 kWh, corresponding to a peak reduction of 28–32% compared to the baseline. Additionally, the curve is noticeably smoother, with fewer abrupt changes and a lower average consumption across the day. During low-demand periods (e.g., 0:00–6:00), the system operates at around 380–420 kWh, while during mid-load periods (8:00–16:00), it stabilizes around 700–850 kWh. This indicates that the proposed framework not only reduces peak load but also improves overall energy efficiency by aligning HVAC operation with dynamic human activity patterns, effectively eliminating unnecessary overcooling and reactive energy spikes.
The temperature evolution shown in
Figure 5 highlights the system’s ability to mitigate high-frequency thermal oscillations induced by time-varying metabolic loads. Under the baseline HVAC strategy (orange dashed curve), the temperature fluctuates significantly between approximately 22 °C and 29 °C throughout the day, with repeated oscillations exceeding ±3 °C from the mean, particularly within the performance window (19:00–21:30). These oscillations correspond to rapid changes in dancer activity levels and insufficient responsiveness of conventional control, resulting in a standard deviation of approximately 2.8 °C. Such variability not only degrades thermal comfort but also indicates inefficient energy use due to reactive overcooling and delayed corrections.
In contrast, the proposed method (solid orange curve) stabilizes the temperature trajectory within a narrow band of roughly 23 °C to 24.5 °C across the entire 24-h period, including during high-intensity performance intervals. The reduction in variability is substantial, with the standard deviation decreasing to approximately 1.1 °C, representing a 60% improvement in thermal stability. Notably, the system avoids sharp peaks and maintains smooth transitions, suggesting that the integration of predictive modeling and robust optimization enables anticipatory adjustments to thermal loads. This stabilization is particularly critical during peak periods, where the baseline system exhibits oscillations exceeding 6 °C within short time intervals, while the proposed approach maintains deviations within 1.5 °C.
Figure 6 illustrates the trade-off between energy consumption and comfort violation as a function of the Wasserstein radius
, which quantifies the level of distributional uncertainty considered in the optimization. As
increases from 0 to 0.2, the system transitions from a purely nominal optimization to a more conservative, robust regime. The energy consumption curve (blue) shows a gradual increase from approximately 820 kWh at
= 0 to nearly 980 kWh at
= 0.2, reflecting the additional energy required to hedge against worst-case scenarios. Meanwhile, the comfort violation curve (red) decreases sharply from about 14% to below 4%, indicating a substantial improvement in reliability under uncertainty. The most notable feature is the existence of an optimal trade-off point around
≈ 0.1, where energy consumption is approximately 900 kWh and comfort violation is reduced to around 5%. At this point, the system achieves a balance between efficiency and robustness, avoiding excessive conservatism while still significantly reducing discomfort risk. Beyond this point, further increases in
yield diminishing returns in comfort improvement while continuing to increase energy cost. This behavior demonstrates that the proposed distributionally robust framework effectively captures the nonlinear relationship between uncertainty and system performance, enabling informed selection of robustness levels.
The temporal profile of comfort violation rates in
Figure 7 reveals the effectiveness of the proposed method in maintaining acceptable thermal conditions across varying operational phases. Under the baseline system (red dashed curve), the violation rate remains relatively low during early hours (below 2%) but increases steadily during mid-day and peaks dramatically at approximately 18–20% during the evening performance period. This spike corresponds to periods of intense dancer activity and insufficient system adaptation, resulting in prolonged exposure to unacceptable thermal conditions. Even outside peak hours, the baseline system maintains violation rates between 3% and 6%, indicating persistent inefficiencies. The proposed system (solid dark red curve) significantly reduces both the magnitude and duration of comfort violations. Throughout most of the day, the violation rate remains below 3%, and even during peak performance periods, it does not exceed approximately 5–6%. This represents a reduction of roughly 65–75% compared to the baseline. The shaded acceptable region (0–5%) further emphasizes that the proposed method keeps the system within acceptable limits for the majority of the time horizon. The smoothness of the curve also indicates that violations are not only reduced but also less volatile, reflecting improved system responsiveness and stability under dynamic conditions.
The three-dimensional surface shown in
Figure 8 characterizes the relationship between temperature, airflow velocity, and resulting discomfort index, providing a mechanistic interpretation of the optimization landscape. The surface exhibits a convex, bowl-shaped structure, with the minimum discomfort region located around 22 °C and an airflow velocity of approximately 0.8 m/s. At this optimal point, the discomfort index approaches values below 2, indicating near-ideal thermal conditions for high-activity occupants such as dancers. As temperature deviates from this range or airflow decreases below 0.5 m/s or exceeds 1.2 m/s, the discomfort index rises sharply, reaching values above 15 in extreme regions. The contour projection on the base plane further illustrates the sensitivity of discomfort to combined deviations in temperature and airflow. Notably, the gradient of the surface is steeper along the temperature axis than along the airflow axis, indicating that temperature control plays a more dominant role in maintaining comfort under high metabolic loads. However, airflow adjustments provide an additional degree of freedom for fine-tuning comfort without significantly increasing energy consumption. This surface effectively explains the operational strategy of the proposed method, which maintains system operation within the low-discomfort basin while avoiding regions of steep gradient that would require disproportionate energy input for marginal comfort gains.
The three-dimensional surface in
Figure 9 illustrates the joint relationship between the Wasserstein radius
, total energy consumption, and comfort violation, revealing a smooth but highly nonlinear trade-off structure that governs system performance under uncertainty. As
increases from 0 to 0.2, the system transitions from a nominal optimization regime toward a more conservative robust control strategy. This shift is reflected in the energy axis, where consumption rises from approximately 820–850 kWh at
≈ 0 to nearly 1000–1050 kWh at
≈ 0.2. Simultaneously, the comfort violation decreases significantly along the vertical axis, dropping from about 14–15% in the low-robustness region to below 4% in the high-robustness regime. The surface exhibits a clear monotonic trend in both directions, but with diminishing marginal returns, as the reduction in violation becomes less pronounced beyond
≈ 0.12 while energy cost continues to increase steadily.
A key feature of this figure is the Pareto frontier traced along the surface ridge, which represents the set of optimal trade-off solutions between energy efficiency and comfort reliability. The highlighted optimal point at ≈ 0.1 corresponds to an energy consumption of approximately 900 kWh and a comfort violation of around 5%, indicating a balanced operating condition. At this point, the system achieves a reduction of nearly 65% in violation compared to the nominal case, while incurring only about a 10% increase in energy consumption. The curvature of the surface near this region suggests that small increases in robustness yield substantial gains in comfort up to ≈ 0.1, after which the trade-off becomes increasingly unfavorable. This confirms that the proposed distributionally robust framework not only captures uncertainty effectively but also enables precise tuning of robustness levels based on operational priorities.
The coupling surface in
Figure 10 depicts the nonlinear heat transfer intensity between the stage and audience zones as a function of their respective temperatures, revealing the underlying physical interaction that drives multi-zone thermal dynamics. The surface spans stage temperatures from 20 °C to 28 °C and audience temperatures from 20 °C to 26 °C, with the vertical axis representing heat transfer intensity ranging approximately from −800 W to +800 W. A distinct saddle-shaped geometry emerges, with a central equilibrium region where the temperature difference between zones approaches zero and the net heat transfer intensity converges to near-zero values. This equilibrium region is clearly marked around stage temperatures of 23–24 °C and audience temperatures of 22–23 °C, corresponding to balanced thermal conditions with minimal inter-zone energy exchange. Away from this equilibrium region, the surface exhibits steep gradients, indicating strong coupling effects when temperature differentials increase. For instance, when the stage temperature exceeds the audience temperature by 4–5 °C, the heat transfer intensity rises sharply to over +600 W, indicating significant heat flow from stage to audience. Conversely, when the audience temperature is higher, the direction of heat flow reverses, with intensities reaching −600 W or lower. These nonlinear transitions highlight the sensitivity of inter-zone dynamics to temperature imbalances and underscore the importance of coordinated control. The contour projections further reveal that regions of high heat transfer correspond to steep thermal gradients, which, if unmanaged, can lead to instability and increased energy demand. The proposed optimization framework effectively maintains system operation within the low-gradient equilibrium basin, thereby minimizing unnecessary heat exchange and enhancing overall energy efficiency.
To provide a clearer understanding of the sources of performance improvements,
Table 4 presents a structured breakdown of the contributions from different components within the proposed framework. The results indicate that the observed gains are not driven by a single factor, but rather emerge from the coordinated interaction of multiple mechanisms. Predictive control contributes significantly by enabling proactive adjustment of HVAC operations based on anticipated thermal dynamics, leading to noticeable reductions in peak energy consumption and improved temporal stability. Spatial coordination further enhances comfort performance by explicitly managing inter-zone thermal coupling, resulting in more balanced temperature distributions. The distributionally robust optimization component plays a key role in ensuring reliable performance under uncertainty, reducing sensitivity to variations in internal heat generation. In addition, the physics-informed reinforcement learning module improves adaptability by learning control strategies that remain consistent with physical constraints, while operational flexibility allows the system to dynamically balance energy efficiency and comfort requirements. Overall, the combined effect of these components explains the substantial improvements observed in both energy and comfort metrics.
To provide a more systematic understanding of the impact of the Wasserstein radius,
Table 5 presents a sensitivity analysis across different values of
. The results illustrate the inherent trade-off between robustness and conservatism in the proposed framework. As the radius increases, the model becomes more conservative, leading to higher energy costs due to more cautious control decisions. At the same time, the CVaR value decreases, indicating improved robustness against adverse scenarios. In addition, the comfort violation rate shows a gradual improvement as the system prioritizes reliability under uncertainty. These results demonstrate that moderate values of the Wasserstein radius provide a balanced trade-off between energy efficiency, robustness, and comfort performance. Therefore, the selected value is not arbitrary but is chosen based on its ability to achieve a desirable compromise among competing objectives. It is worth noting that the selection of
is based on this structured sensitivity analysis rather than an automatic tuning mechanism. Specifically, a range of candidate values is evaluated with respect to key performance metrics, and the final choice corresponds to a stable operating point that balances performance and robustness. This approach provides a transparent and practically implementable strategy for determining
without introducing additional tuning complexity.
Table 6 and
Table 7 compares the proposed framework with conventional PID control and pure data-driven reinforcement learning methods. The results show that PID control exhibits relatively high energy consumption and significant comfort violations due to its limited adaptability to dynamic thermal conditions. Pure reinforcement learning improves performance by adapting to system dynamics; however, the lack of explicit physical constraints may lead to instability and suboptimal control behavior. In contrast, the proposed method achieves lower energy cost and significantly reduced comfort violations, while maintaining improved system stability. This improvement is attributed to the integration of thermodynamic constraints into the learning process, which guides the policy toward physically consistent and robust solutions. These results demonstrate the advantage of combining physics-based modeling with data-driven learning in complex building environments.
5. Conclusions
This paper presents an integrated optimization framework for heating, ventilation, and air conditioning (HVAC) systems in multi-zone buildings under dynamic and uncertain internal heat loads. Moving beyond conventional assumptions of static occupancy, the study explicitly models internal heat generation as a time-varying and spatially heterogeneous process, capturing the strong coupling between occupant-induced thermal disturbances and building energy systems. By formulating the building as a behavior-aware cyber-physical system, the proposed approach enables a more realistic and responsive representation of thermal dynamics, which is critical for improving both energy efficiency and occupant comfort in complex indoor environments. To address uncertainty in internal heat loads and operational conditions, the framework incorporates distributionally robust optimization based on Wasserstein ambiguity sets. This allows the system to maintain reliable performance under a range of plausible scenarios without relying on precise probabilistic information. In addition, a physics-informed reinforcement learning mechanism is integrated to derive adaptive control policies that can generalize across different operating conditions while preserving thermodynamic feasibility. The combination of robust optimization and learning-based control enables the system to balance short-term responsiveness with long-term stability, resulting in improved coordination across building zones and more efficient utilization of HVAC resources. The case study results demonstrate the effectiveness of the proposed framework in a large-scale multi-zone building setting. Compared to conventional rule-based and model predictive control strategies, the proposed method achieves a reduction in peak energy consumption of approximately 28–32%, while decreasing comfort violation rates by 65–75%. Furthermore, the temperature variability across zones is significantly reduced, with variance decreasing by more than 60%, indicating enhanced thermal stability and improved control performance. These results highlight the importance of incorporating both uncertainty and dynamic internal heat loads into HVAC optimization, particularly in buildings with highly variable usage patterns.
Overall, this work contributes a unified and scalable approach for next-generation building energy management by integrating multi-zone thermal modeling, distributionally robust optimization, and physics-informed learning. The proposed framework provides a practical pathway for improving the performance of HVAC systems in complex buildings, offering both theoretical insights and actionable strategies for real-world applications. Future work may explore the integration of real-time sensing data, extension to district-level energy systems, and the incorporation of additional building services to further enhance system-level efficiency and resilience.
To further assess the robustness of the proposed framework, its performance under extreme operating conditions is discussed. In scenarios involving extreme weather variations, such as sudden outdoor temperature spikes or drops, the system is subjected to significantly increased thermal disturbances. Under such conditions, the distributionally robust optimization component enables the control strategy to maintain stable performance by accounting for worst-case deviations in thermal loads and environmental conditions. In addition, the framework demonstrates resilience to sudden equipment-related disruptions, such as partial HVAC capacity degradation or delayed system response. The adaptive nature of the reinforcement learning policy allows the control actions to adjust dynamically in response to evolving system states, thereby mitigating the impact of such disturbances. The constraint-aware formulation further ensures that the system operates within physically feasible limits even under stress conditions. Overall, the combination of uncertainty-aware optimization and adaptive control provides a robust mechanism for handling both environmental extremes and system-level disruptions, thereby enhancing the reliability and practical applicability of the proposed approach.
Despite the promising performance of the proposed framework, several practical challenges should be acknowledged for real-world deployment. First, the integration of distributionally robust optimization and reinforcement learning may introduce additional computational overhead, particularly for large-scale multi-zone systems or real-time control applications. Efficient implementation and potential model simplification strategies may be required to ensure scalability in commercial settings. Second, the effectiveness of the framework relies on the availability of high-quality sensor data, including zone-level temperature, occupancy patterns, and environmental conditions. In practice, such data acquisition may require dense sensing infrastructure and reliable communication systems, which could increase deployment cost and system complexity. These considerations highlight important directions for future work, including improving computational efficiency, reducing data dependency through model abstraction, and developing cost-effective sensing solutions. Addressing these challenges will be essential for translating the proposed framework into practical building energy management systems.