← All articles

HVAC Control: When to Move From PID to Reinforcement Learning

A technical illustration shows a building ventilation system connected to contrasting controller diagrams and a shared evaluation workspace.

Short answer: Keep PID at the regulatory layer unless a specific limit justifies more. A 2026 review of HVAC control architectures places reinforcement learning at four possible points on the same plant: tuning an existing PID loop, replacing the regulator, working with model predictive control, or generating setpoints and schedules. Each point demands different actuation authority, state data, modelling, commissioning and constraint handling, so the move should be argued for one loop at a time.

Choosing an HVAC controller is not simply a choice between PID and reinforcement learning. It is a decision about what to tune, how to formulate the control problem, and which deployment trade-offs the engineering team is prepared to accept. Those are the organising themes of the control-architecture review, and they provide a useful starting point for selection rather than an assumption that one architecture should replace another [1].

For a practising engineer, the opening question should therefore be narrower than “Which controller is best?” Ask instead: what decision are we trying to improve, and what evidence would justify changing the control approach? Use tuning, formulation, and deployment as separate review topics, so that an attractive formulation does not stand in for a credible implementation case [1].

Comfort-aware HVAC control adds an important decision context: comfort belongs in the problem being formulated, not merely in the description of the application. A 2026 office building study on heating start times shows why comfort needs its own metric: the model with the lowest temperature forecast error was not the one that minimized late comfort or wasted heating [2]. For an architecture review, that suggests asking how comfort will be represented and how its treatment will influence controller selection, without presuming a particular comfort measure or optimisation method [1][2].

A practical opening discussion can follow these questions:

  • Tuning: What is the starting control approach, and what tuning decisions need examination? [1]
  • Formulation: How will the control objective express the intended comfort-aware behaviour? [1][2]
  • Deployment: Which trade-offs must be reviewed before a controller candidate can be considered suitable for its intended use? [1]

These questions establish the scope for comparing architectures while keeping the engineering decision, rather than the algorithm label, at the centre of the review [1].

What the Control-Architecture Review Covers

The review frames building HVAC control as an architectural question, with a stated scope spanning PID through reinforcement learning. Its title identifies tuning strategies, formulations and deployment trade-offs as the organising themes [1]. The review covers the thermostat and PID layer, rule based and model based supervision, and RL formulated as a Markov decision process [1].

Read the scope as a review agenda

For an engineering assessment, use the stated themes to organise questions rather than assume findings:

  • Tuning strategies: Identify what the review says about selecting controller settings, and distinguish tuning guidance from evidence of controller performance.
  • Formulations: Check how the reviewed approaches define the control problem before interpreting their results as comparable.
  • Deployment trade-offs: Separate considerations discussed by the review from capabilities or outcomes demonstrated in the studies it cites.

Use these questions to decide where in the control stack an intervention would attach [1]. Detailed statements about methods, evaluation conditions or deployment experience require verification against the paper itself.

Why Architecture Matters for HVAC Engineers

Architecture selection should start with the control task, not an algorithm ranking. The review’s title distinguishes tuning strategies, formulations and deployment trade-offs. Use those as separate worksheet categories: what is adjusted, how the control problem is defined, and what implementation conditions must be checked [1].

For HVAC work, translate these categories into questions about the system under consideration. Read the HVAC systems and control material alongside the building-automation material to connect equipment-level descriptions with the intended automation context, rather than treating either as evidence for an algorithm’s performance.

Translate terminology into engineering questions

  • Tuning strategy: Which existing controller parameters are candidates for adjustment? What operating objective and acceptance criteria would govern that adjustment? Keep parameter selection distinct from changing the control architecture [1].
  • Formulation: What information would the controller receive, what decisions would it make, and what objective would guide those decisions? For a reinforcement-learning candidate, require an explicit account of observations, actions and reward before discussing suitability [1].
  • System boundary: Is the proposed decision an equipment command, a setpoint request or an operating-mode choice? Locate that decision within the HVAC system and the proposed automation arrangement before assigning responsibilities to the candidate controller.
  • Deployment trade-off: What assumptions about sensing, computation, interfaces and operator intervention would need verification? Record these as selection questions, not demonstrated capabilities [1].

Engineering and research teams can then ask a shared question: does the proposed architecture address the same control task under the same constraints as the baseline? Organising the comparison around tuning, formulation and implementation assumptions keeps the architecture discussion aligned with the review’s stated scope [1].

PID Tuning as the Starting Point

A defensible PID baseline requires a traceable tuning procedure, not merely a controller label. The review traces the PID layer from two position and scheduled setpoint control through P, PI and PID regulation and their tuning [1]. It finds PID inexpensive and well codified but limited by nonlinearity, time variation, discrete mode switching, loop interaction and slow plant dynamics [1]. Extensions such as fractional-order PID add tuning freedom but keep the same regulatory role. Where RL acts as a gain tuner on an existing loop, it belongs to the wider family of automated controller tuning methods.

Two panels. Top: zone temperature rising from 17 to 21 degrees C; the SIMC tuned PI settles smoothly after about 2.4 hours, the high gain PI arrives sooner then oscillates. Bottom: valve command saturated at full open, then steady for SIMC and cycling between 0 and 1 for high gain.

Morning recovery of an assumed thermal zone (time constant 2 h, dead time 10 min) under PI control. Faster gain shortens recovery but trades it for sustained oscillation, one reason the review lists slow dynamics and dead time as PID limits. Script and parameters: make_figure.py.

Establish what the review actually documents

Before selecting the baseline, extract the tuning procedure from the review and record its supporting assumptions. Keep the following as evidence requests, not claims about methods the review contains [1]:

  • Tuning inputs: What measurements, model information or experimental observations does the procedure require?
  • Selection criterion: What objective determines the gains, and what constraints accompany that objective?
  • Adjustment policy: Are gains retained across operating conditions, or does the documented procedure specify when they change?
  • Evaluation boundary: Under which conditions is the resulting controller assessed, and what evidence supports transferring those settings?

Do not substitute a familiar tuning recipe for the procedure actually described. If the review leaves an implementation detail unspecified, mark it as unresolved rather than completing it by assumption [1].

Verify the HVAC interpretation

Use the system description to check the controlled variable, manipulated input, measurement location, available feedback and operating sequence. Then ask whether those details match the prerequisites of the documented tuning procedure. Record mismatches and missing information explicitly in the baseline specification [1].

Until these checks are supported by source text, treat the PID baseline as a candidate specification, not a verified reference controller.

Understanding Reinforcement Learning Formulations

Apply the same evidence discipline to reinforcement learning: distinguish the formulation described by a source from the implementation an engineer might expect. The review formulates RL for building control as a Markov decision process, which forces the designer to state the observation, action, reward and time step explicitly [1]. When RL is combined with MPC, the predictive layer brings its own model and horizon choices; the issues are similar to those in tuning a model predictive controller.

Extract the formulation, not an assumed implementation

When reviewing the full text, build a specification around the following questions. Treat these as extraction prompts, not as features already verified in the cited review [1]:

  • Observations: What information is available to the controller, and what measurement or estimation assumptions are stated?
  • Actions: What can the controller change? Record the documented control interface rather than assuming direct equipment actuation.
  • Objective: What reward or cost expression is given? Preserve its terms, units, weighting and aggregation where specified.
  • Constraints: Which operating restrictions are explicit, and how does the formulation represent them?
  • Learning and evaluation: What environment, training procedure and evaluation conditions are documented? Mark omissions as unresolved.

Read comfort awareness as a specification question

In that study comfort is measured as temperature deficit exposure in K·min per day below a threshold 0.2 K under the daytime setpoint, separately from unnecessary heating runtime [2]. Do not infer a comfort metric, occupant model or enforcement mechanism from that label.

Instead, check whether the full text represents comfort within the objective, as an explicit constraint, or only as an evaluation measure. Use that distinction when comparing its documented formulation with those extracted from the review [1][2]. Until the relevant passages are available, leave the comfort representation and its relationship to energy objectives unspecified.

How to Build an Architecture Selection Worksheet

Build the worksheet as an evidence register, not a ranking of controller families. Use tuning strategy, formulation and deployment considerations as its organizing axes, matching the review’s stated scope [1]. Give each documented architecture a separate entry, with a source passage supporting every technical description. Where only a title or abstract is available, keep the entry provisional.

Separate each entry into the following fields:

  • Tuning strategy: Record the documented adjustment or learning procedure, its required inputs and any stated prerequisites. Ask what must be measured or calibrated before evaluation. Do not infer a tuning method from the controller label alone.
  • Formulation: Capture the stated objective, available measurements, manipulated variables and treatment of constraints. Keep comfort representation explicitly unresolved unless the source explains it. Distinguish mathematical definitions from descriptive claims.
  • Deployment considerations: Extract only documented implementation requirements. Add unanswered questions about execution, interfaces, supervisory responsibilities and operation as questions, not assumed capabilities. Use the building automation source to investigate this context, without treating its title as evidence of specific functionality.

These fields turn the review’s scope into a consistent extraction structure without implying that every architecture has equally complete documentation [1].

Within each field, separate source-supported requirements from unresolved engineering questions. Attach the supporting passage to the former and identify the evidence needed to close the latter. Apply that distinction to both architecture descriptions and automation requirements [1].

For selection discussions, compare evidence completeness before expressing preference. An unspecified requirement is neither a demonstrated limitation nor evidence that no requirement exists. Carry unresolved items into the controller evaluation as explicit verification tasks rather than silently filling gaps with engineering assumptions.

How to Structure a Controller Evaluation

Start with an evaluation evidence record, not a controller ranking. For the control-architecture review, extract the reported evaluation conditions before designing a comparison [1]. Record only what the text establishes; leave unresolved fields explicitly marked rather than supplying plausible defaults.

Capture the comparison conditions

Use the following as extraction prompts, not as claims about what the review reports [1]:

  • Evaluation setting: What building, HVAC equipment, model or experimental environment is described?
  • Operating conditions: Which weather, occupancy, internal-load and scheduling conditions are specified?
  • Controller configuration: What observations, control actions, constraints, tuning procedures and training arrangements are documented?
  • Comparison protocol: Which baselines, evaluation periods, initial conditions and performance measures are reported?

Attach a supporting passage to each completed field. Where conditions differ between reported evaluations, retain those differences in the record. Do not silently treat separate studies as a controlled comparison.

Make comfort criteria explicit

Inspect both the review and the comfort-aware framework for their documented comfort criteria [1][2]. Extract the definition, allowable limits, assessment period and treatment of violations wherever these are specified. Check whether comfort appears as a controller objective, a constraint or a separately reported evaluation measure. Treat these as questions to resolve from the text, not interchangeable descriptions.

Write the comfort threshold, the occupancy start time and the evaluation window into the test plan before comparing controllers [2].

For the planned comparison, separate reported conditions from proposed test conditions. Define how each proposed performance measure will be calculated, and identify which missing source details prevent reproduction or interpretation. Keep those gaps visible alongside any simulation results.

Deployment Trade-offs and Automation Context

Deployment should be assessed separately from controller performance. The review concludes that deployment trade-offs must be judged by the control interface and scaffolding each option needs, not by the label of the algorithm [1]. Do not treat an architecture diagram, proposed workflow or simulation result as evidence of building operation.

For the selection worksheet, use separate entries for documented implementation and proposed implementation. Populate the former only after checking the full text for the controlled equipment, controller responsibilities, operating conditions and reported observations. Keep unspecified details marked as unresolved rather than completing them by inference.

Check the automation boundary

In practice that means checking what the building management system exposes: in the 2026 office study, setpoints and schedules were read over BACnet through a dedicated controller [2]. Use the following questions to guide that inspection and the subsequent engineering review:

  • Control authority: Would the candidate issue supervisory targets or directly determine equipment commands? Which existing control functions would remain responsible?
  • Signals and timing: What measurements and command interfaces would it require? What update schedule, missing-data behaviour and communication assumptions would need verification?
  • Constraints and fallback: Where would command limits, equipment protections and fallback behaviour be specified? Who would approve changes to those responsibilities?
  • Operational ownership: Who would maintain the model, approve controller revisions and investigate unexpected behaviour?

These are proposed implementation checks, not findings attributed to either source. Record source-supported answers separately from project assumptions [1].

For each candidate, identify the evidence needed to move beyond simulation: a defined interface, explicit responsibility boundaries and an agreed verification procedure. Until that evidence is available, describe deployment suitability as an open engineering assessment, not an established result.

Limitations and What to Verify

Cite the review as arXiv:2611.03152v1 so readers can trace the version used [1]. Before drafting claims from the review, retrieve the full text, confirm the publication metadata and record which version supports each statement [1].

Check the displayed title, authors, submission and revision history against the downloaded document. Establish whether the unversioned link resolves to the cited version or a subsequent revision. If the text has changed, recheck any affected interpretation rather than retaining citations automatically [1].

Treat these as unverified until the relevant passages and underlying references have been examined [1].

Keep comfort-aware evidence within scope

That study used one office building and 22 heating recovery events, so treat its rankings as a method to copy, not a result to generalize [2]. Read its full methods and results alongside the review before using it to support broader architecture-selection claims [1][2].

Use the following as proposed evidence checks, not as findings attributed to either paper:

  • Comfort definition: Identify the measured or inferred comfort variables, acceptance criteria and treatment of occupant differences.
  • Evaluation boundary: Record the building context, equipment, operating conditions and whether evidence comes from simulation or physical measurements.
  • Comparison basis: Check baseline tuning, constraints, available information and evaluation conditions before interpreting controller comparisons.
  • Transfer limits: Separate conclusions demonstrated within the study from claims requiring additional validation [1][2].

In the selection worksheet, attach each claim to a passage and record its scope. Mark missing evidence explicitly, particularly where comfort-aware results are being used to justify conclusions about energy performance, robustness or deployment suitability [1][2].

Key takeaways

  • Use tuning strategies, formulations and deployment trade-offs as the organizing dimensions for architecture selection, matching the review's stated scope. [1]
  • Decide the attachment point first: RL as tuner, replacement, MPC hybrid or supervisor, then list the authority and data it needs. [1]
  • Judge a forecasting or learning model by operational metrics such as late comfort and wasted runtime, not by forecast error alone. [2]
  • Treat comfort-aware objectives as a separate verification task before incorporating them into a controller comparison. [2]
  • Keep proposed architectures, reported evaluation conditions and documented deployment evidence distinct when reviewing controller options. [1]

Frequently asked questions

Should reinforcement learning replace PID in building HVAC?

Not by default. A 2026 control architecture review treats RL and PID as nested points of attachment on one HVAC plant rather than competing philosophies, and says RL's place must be argued rather than assumed. Many systems keep PID loops and add RL only for tuning or supervision.

What are the ways reinforcement learning can work with PID in HVAC?

The review lists four: RL as a gain tuner for an existing PID loop, RL as a direct replacement for the regulatory controller, RL combined with model predictive control, and RL generating supervisory setpoints and schedules. The physical loop stays the same; only the intervention point changes.

Why does PID struggle in some HVAC loops?

PID is cheap and well understood, but the review notes it is limited by nonlinearity, time varying behavior, discrete mode switching, interaction between loops and slow plant dynamics. Thermal zones with long time constants and dead time are a common example.

How should thermal comfort be measured when comparing HVAC controllers?

Measure it directly, not through forecast accuracy. One 2026 office building study scored models by temperature deficit exposure below the comfort threshold and by unnecessary heating runtime, and found the model with the lowest forecast error did not win on either.

What does an HVAC team need before trying reinforcement learning?

Actuation authority at the chosen point, the state information the policy will observe, a model or simulator for training and testing, a commissioning plan and a way to enforce constraints. The review says the options differ mainly in these requirements.

Sources

  1. Haghighat Damavandi, E., Papurello, D., Alibeigi, M., Keshavarz, A. From PID to Reinforcement Learning in Building HVAC Control: A Control-Architecture Review of Tuning Strategies, Formulations, and Deployment Trade-offs. arXiv:2611.03152v1, 2 Nov 2026.
  2. Telicko, J., Danilovs, M., Krumins, A. Heating Buildings Only When Needed: A Data-Driven Based Framework for Comfort-Aware HVAC Scheduling. Buildings 2026, 16(21), 4305, 28 Oct 2026.

If you have a model or IO data for one of your own loops, LabCD's guided workflow lets you tune and test a controller on your first model for free, with a qualified engineer approving every controller.

Want to try this on your own plant model?

Try LabCD free with your first model