A Trans-Domain Digital Twin for Bio-Aware Control of Climate and Energy in Cattle Fattening Barns Using Single-Episode Optimizer Learning
Listen
Radio episode about this paper
Transcript
Introduction to the show: ident: Computer Science. The day in computer science: software, systems and theory on arXiv.
Tom: We're looking at the paper: "A Trans-Domain Digital Twin for Bio-Aware Control of Climate and Energy in Cattle Fattening Barns Using Single-Episode Optimizer Learning".
Paper summary: Tom: So, we're looking at this paper, "A Trans-Domain Digital Twin for Bio-Aware Control of Climate and Energy in Cattle Fattening Barns Using Single-Episode Optimizer Learning." Essentially, the main idea here is that the indoor climate and how fast the herd grows are two things that totally depend on each other in a closed barn.
Jane: That's right, and this paper proposes building a digital twin system specifically for these barns that uses single-episode learning to handle both climate and energy control in a way that actually accounts for the biological growth happening inside.
Lu: The core claim is that they create a trans-domain digital twin framework where you can link climate, growth, energy use, feed response, biological guidance, and memory all together within one single executable control cycle. This moves it past just regulating temperature and humidity like traditional HVAC systems do <ref:2608.27185#pg1>.
Meng: So what does this mean for me when I'm trying to deploy something? It sounds complex, but they integrate a mechanistic climate simulator with a livestock growth simulator, which is the first big thing I see there <ref:2608.27185#pg1>.
Lalam: And the structure of this system is built around a multi-rate temporal loop architecture <ref:2608.27185#pg1>. They have a fast inner loop that runs every five minutes to check actuator decisions and keep things comfortable, while a slower outer loop provides biological guidance based on daily factors like climatic conditions and feed efficiency <ref:2608.27185#pg4>.
Tom: Right, so the paper is laying out this whole system where the fast loop handles the immediate comfort and energy needs, and that's controlled by a model predictive control thing called MPC <ref:2608.27185#pg4>. But that MPC decision-making process isn't just about temperature; it also compares commands using comfort, energy, safety, equipment and biological priority terms <ref:2608.27185#pg4>.
Jane: That brings us to the feedback coupling they claim is happening between climate and growth <ref:2608.27185#pg10>. The results show that climate decisions actually affect growth, feed response, and heat production, but the paper also points out that growth and heat production change the future climatic load of the barn <ref:2608.27185#pg10>.
Lu: That feedback coupling is where they get into their knowledge layer organization <ref:2608.27185#pg3>. They organize experience into four components: a local climate context memory, a stage-aware biological guidance memory, a streaming memory, and finally this single-episode trans-domain knowledge store <ref:2608.27185#pg19>.
Meng: Okay, so how does that structured knowledge help when we're actually running this on the edge? They use single-episode learning with SS-KStore and SETD-KStore to transfer offline experience to online edge control <ref:2608.27185#pg19>. Does that mean I don't have to start from scratch when deploying a model <ref:2608.27185#pg19, "As a result, the edge controller does not start from zero; it loads prior trans-domain knowledge and fine tunes decisions with real barn data">
Lalam: Exactly. The paper says that as a result, the edge controller does not start from zero; it loads prior trans-domain knowledge and fine tunes decisions with real barn data <ref:2608.27185#pg19>. This allows the system to start from structured knowledge instead of learning from nothing <ref:2608.27185#pg3>.
Tom: That's the implementation contribution for me; it’s about making sure the deployed system isn't just a black box that needs endless real-world training to figure out how to behave <ref:2608.27185#pg19>. But what are the actual performance numbers we should be looking at?
Jane: They report some very specific results from a single-episode execution <ref:2608.27185#pg7>. For instance, they found that the closed loop was stable at the system level, meaning the climate loop kept the barn within a comfort range with a comfort violation rate of zero percent <ref:2608.27185#pg7>.
Lu: And on the growth side, they produced a one thousand day biological trajectory with a final weight of about nine hundred seventeen kilograms and growth accuracy of ninety-six point nine one percent, which is really solid <ref:2608.27185#pg7>. The R squared value for that trajectory was approximately zero point nine nine six >
Meng: Ninety-nine six percent R squared is high, but I see their own caveat right there in the results section <ref:2608.27185#pg19, "The weakest dimensions are feed performance and actuator smoothness (Table 4)">They explicitly state that the weakest dimensions are feed performance and actuator smoothness <ref:2608.27185#pg19, "The weakest dimensions are feed performance and actuator smoothness (Table 4)">
Tom: So, so while the comfort is locked in pretty well with zero violations, they flag feed performance and actuator smoothness as the areas needing work <ref:2608.27185#pg19>. This tells us that even with this fancy framework, the real-world challenge shifts to optimizing how much feed goes in and how smoothly those climate controls actually move <ref:two thousand six hundred eight point two seven one eight five#pg19.
Jane: And because of that weakness in feed performance, they suggest that the stage aware reference guided single-episode learning, or SARG-SEL, requires stronger phase diet adaptation and more direct weighting of things like feed intake and growth limiting factors <ref:two thousand six hundred eight point two seven one eight five#pg19. That points to a future direction for improving the model's biological guidance capabilities.
Lu: It really shows the ambition here; they aren't just trying to build a simulation pipeline, they’re building something deployable for real barn-level control <ref:two thousand six hundred eight point two seven one eight five#pg19. The paper argues that this entire framework demonstrates the feasibility of moving barn climate control from just an HVAC problem into a bio-aware and trans-domain decision problem <ref:two thousand six hundred eight point two seven one eight five#pg8.
Meng: From my side, I'm thinking about the running cost. If we deploy this, how much computational overhead are we talking about for running that entire multi-rate loop and the simulation simulators constantly <ref:2608.27185#pg1>
Tom: That's a big question for deployment, Meng. But what matters is that they showed the climate decisions affect growth and heat production, which in turn changes the future climatic load of the barn <ref:two thousand six hundred eight point two seven one eight five#pg10. They treat it as a true feedback loop between climate and growth, not two separate systems <ref:two thousand six hundred eight point two seven one eight five#pg10.
Jane: So for someone just listening, the big picture is this: you stop thinking of your barn's temperature control as just one job, and start seeing it as a system where changing the climate directly impacts how fast your cattle grow and how much energy you use <ref:two thousand six hundred eight point two seven one eight five#pg1.
Lu: And the scientific contribution hinges on that feedback coupling between climate and growth <ref:two thousand six hundred eight point two seven one eight five#pg10. It shows that these two processes are intrinsically linked in a way standard control methods often miss <ref:two thousand six hundred eight point two seven one eight five#pg10.
Meng: I wonder about their limitations too. They mention needing a meso-scale gas layer for CO two, CH four, ammonia, nitrous oxide and water vapor <ref:two thousand six hundred eight point two seven one eight five#pg23. That's a lot of modeling complexity to add on top of the core twin <ref:two thousand six hundred eight point two seven one eight five#pg19.
Tom: They also flag the need for field validation with real barn data, and they point out that they need to improve management of feed pressure and reduce abrupt actuator command variations <ref:2608.27185#pg1, "Remaining limitations include the need for field validation improved management of feed pressure and reduction of abrupt actuator command variations">
Jane: So what the paper says is that even with this advanced digital twin architecture, you still need to make real-world adjustments to things like how you manage the feed pressure and how smooth your climate controls move <ref:2608.27185#pg1, "Remaining limitations include the need for field validation improved management of feed pressure and reduction of abrupt actuator command variations">
Lu: Future work they suggest is upgrading that lightweight one zone climate model to a fast fluid dynamics model or a three dimensional low order model <ref:two thousand six hundred eight point two seven one eight five#pg23. That’s the direction for making this even more robust and detailed.
Meng: So, to wrap up, this paper shows how you can build an executable memory-supported digital twin for cattle barns that uses single-episode learning to coordinate climate and growth <ref:two thousand six hundred eight point two seven one eight five#pg10. It moves beyond simple HVAC regulation by coupling biological guidance into the control decisions <ref:two thousand six hundred eight point two seven one eight five#pg8.
Tom: Yeah, it's about making the control decision aware of the biology happening inside, using a structured knowledge package to guide it <ref:two thousand six hundred eight point two seven one eight five#pg19. The implication is that we can start designing systems where climate control is inherently bio-aware <ref:two thousand six hundred eight point two seven one eight five#pg1.
Jane: It means we can move toward a system where the climate decisions feed back into the growth process, which in turn dictates the future energy and ventilation needs of the barn <ref:two thousand six hundred eight point two seven one eight five#pg10. That's what this whole concept is aiming for.
Lu: It’s a framework that organizes experience into those four complementary components to make online control start from structured knowledge instead of zero <ref:two thousand six hundred eight point two seven one eight five#pg3. That’s the core mechanism they developed for transferability.
Meng: So, it's a lot of moving parts—climate simulator, growth simulator, MPC, reinforcement learning—all running in parallel to manage this complex system <ref:2608.27185#pg1>. It’s ambitious for deployment but shows the potential for truly integrated control in livestock settings.
Tom: It's ambitious, yeah. But the fact that they showed a stable system level with zero comfort violation rate is a strong signal that the architecture itself is sound, even if we still need to refine things like feed performance <ref:two thousand six hundred eight point two seven
Conclusion: Tom: So, we're wrapping up our look at this work, this SE-TDDT thing. It’s essentially a system that tries to keep the barn comfortable while making sure the cows grow as well as possible, all through one integrated decision cycle.
Jane: That's right. The title itself is pretty descriptive because it highlights that it's not just about temperature control anymore; it’s about bio-aware control. It suggests we can finally treat climate and growth as two things that constantly influence each other, instead of treating them as separate problems.
Lu: The authors are focused on making this trans-domain, meaning they’re trying to bridge the gap between the physical environment—the climate—and the biological outcome—the growth trajectory. They use a multi-rate architecture where one loop handles the immediate comfort and another loop provides that long-term biological guidance.
Meng: But what does that actually mean for me when I'm looking at production? It means they’ve built a structure where the climate decisions feed back into what the cows are doing, which then changes how much energy you need to put in. That’s a whole new way to think about operational costs.
Tom: Exactly. The implication is that we move away from just optimizing for low energy use or high comfort alone, and start optimizing for a biological outcome while keeping those constraints in mind. It's about making the control system smarter by giving it biology as an input parameter.
Jane: It really shows the ambition here to create something deployable—not just a simulation—that can actually manage these complex feedback loops in real-world livestock settings, even if they still have some work to do on things like feed performance smoothness.
Lu: And the way they structured their knowledge memory, using that single-episode learning with structured stores, means the system starts with prior knowledge instead of learning everything from scratch on every single run.
Tom: So the big picture is this SE-TDDT framework shows how a digital twin can become an executable tool for managing complex biological systems where climate and growth are deeply coupled. That’s what we’re seeing here.
Jane: And while they flag things like needing a better gas layer or more field validation, the core message is that you can build a system that treats the barn environment and the livestock growth as one connected process.
Lu: It pushes the idea that control systems don't need to be completely isolated domains anymore; they need to account for how one part affects another across time.
Meng: So what this means for the industry is that we can start designing control systems where biological goals aren't just targets you set, but are active participants in the system's decision-making process.
University of Montreal
cs.SE
Submitted: 2026-08-27
Updated: 2026-12-02
Comments: 26 pages, 13 figures, Update on some abbreviations as well as latex structure
License: http://creativecommons.org/licenses/by/4.0/
Importance score: 77/100
The gist: In closed cattle-fattening barns, the indoor climate and herd growth are mutually interdependent.<ref:2608.27185#pg1, "In closed cattle-fattening barns…
Key concepts
- Single-Episode Trans-Domain Digital Twin (SE-TDDT)
- A unified decision framework that coordinates indoor climate, energy use, livestock growth, and feed response. It moves beyond simple HVAC control by coupling a climate simulator with a livestock growth simulator into one system.
- Multi-Rate Temporal Loop Architecture
- The framework uses two time scales: a fast inner loop operating every five minutes for immediate thermal comfort and safety decisions, and a slow outer loop providing biological guidance based on daily conditions, feed efficiency, and growth factors.
- Model Predictive Control (MPC)
- MPC is used as the final actuator decision-maker. It compares candidate commands using criteria like comfort, energy use, safety, equipment needs, and biological priorities to select the optimal command for the barn.
- Single-Episode Learning with Structured Knowledge Memory
- This technique integrates learning into a single operational cycle by using structured knowledge memory (like SS-KStore) to store and transfer offline experience. This allows the online controller to start with prior knowledge rather than learning from scratch.
Terminology
Summary
In closed cattle-fattening barns, the indoor climate and herd growth are mutually interdependent. p. 0 amiri@umontreal. ca
ABSTRACT
In closed cattle-fattening barns, the indoor climate and herd growth are mutually interdependent. Temperature, relative humidity, airflow, and ventilation affect thermal comfort, feed intake, metabolic
heat production, daily growth, feed efficiency, and energy consumption, while body-weight gain
alters the future heat and moisture loads of the barn and, consequently, its ventilation, heating, and
energy requirements. This article proposes a trans-domain digital twin framework with single-episode
learning capability, customized for bio-aware climate and energy control in a closed cattle-fattening
barn. This article proposes a trans-domain digital twin framework with single-episode
learning capability, customized for bio-aware climate and energy control in a closed cattle-fattening
barn. The framework integrates a mechanistic climate simulator, a livestock growth simulator, model
predictive control, lightweight reinforcement learning, and structured knowledge memory within a
multi-rate temporal-loop architecture. The framework integrates a mechanistic climate simulator, a livestock growth simulator, model
predictive control, lightweight reinforcement learning, and structured knowledge memory within a
multi-rate temporal-loop architecture. The fast temporal loop operates every five minutes to evaluate
actuator decisions and maintain short-term thermal comfort, safety, and energy efficiency, whereas the
slow temporal loop provides biological guidance based on daily climatic conditions, feed efficiency,
heat production, and growth-limiting factors. The framework integrates a mechanistic climate simulator, a livestock growth simulator, model
predictive control, lightweight reinforcement learning, and structured knowledge memory within a
multi-rate temporal-loop architecture. The fast temporal loop operates every five minutes to evaluate
actuator decisions and maintain short-term thermal comfort, safety, and energy efficiency, whereas the
slow temporal loop provides biological guidance based on daily climatic conditions, feed efficiency,
heat production, and growth-limiting factors. The framework integrates a mechanistic climate simulator, a livestock growth simulator, model
predictive control, lightweight reinforcement learning, and structured knowledge memory within a
multi-rate temporal-loop architecture. The fast temporal loop operates every five minutes to evaluate
actuator decisions and maintain short-term thermal comfort, safety, and energy efficiency, whereas the
slow temporal loop provides biological guidance based on daily climatic conditions, feed efficiency,
heat production, and growth-limiting factors. The fast temporal loop operates every five minutes to evaluate
actuator decisions and maintain short-term thermal comfort, safety, and energy efficiency, whereas the
slow temporal loop provides biological guidance based on daily climatic conditions, feed efficiency,
heat production, and growth-limiting factors. The results show that climate, growth, energy, feed,
biological guidance, and memory can be linked within a single executable control cycle. The main research gap is therefore the lack of an
implementable bio-aware digital-twin architecture that can provide feedback-based coupling among climate, growth,
feed, and energy within a unified decision-making framework [2, 19, 20]. 4 Objective and Contributions
The objective of this work is to introduce a Single-Episode Trans-Domain Digital Twin (SE-TDDT) for a closed,
120-head cattle-fattening barn, in which indoor climate, livestock growth, energy consumption, and feed response are
coordinated within a unified decision-making framework [2, 21, 22, 23, 24]. 4 Objective and Contributions
The objective of this work is to introduce a Single-Episode Trans-Domain Digital Twin (SE-TDDT) for a closed,
120-head cattle-fattening barn, in which indoor climate, livestock growth, energy consumption, and feed response are
coordinated within a unified decision-making framework [2, 21, 22, 23, 24]. The proposed architecture is designed
to move barn climate control beyond conventional HVAC operation by coupling a lightweight mechanistic climate
simulator with a mechanistic livestock growth simulator. The climate simulator represents the short-term barn response
to outdoor conditions, actuator commands, and herd thermal load, while the growth layer is based on Beef-LiGAPS
and its submodels for BioThermoRegulation, feed intake and digestion, and energy/protein utilisation, which provide
outputs such as body weight, ADG, feed intake, feed efficiency, heat production, and limiting factors [13, 3, 4, 5, 9]. The first contribution is the formulation of a multi-rate SE-TDDT architecture with a fast inner climate-control loop
and a slower outer growth-guidance loop. The inner loop evaluates actuator candidates at short time steps to maintain
comfort, safety, and energy efficiency, whereas the outer loop aggregates daily climate data and returns biological
guidance to the climate optimizer, as illustrated in Figure 1. The second contribution is the use of MPC as the
final actuator decision-maker. Running Title for Header
integration of single-episode learning with structured knowledge memory. Climate Context Local Library Guided
Single-Episode Learning (CCLL-SEL)1
, Stage-Aware Reference-Guided Single-Episode Learning (SARG-SEL)2
,
Step-Stream Knowledge Store (SS-KStore)3
, and Single-Episode Trans-Domain Knowledge Store (SETD-KStore)4
compress climatic contexts, growth references, training traces, biological guidance, and policy snapshots into a loadable
knowledge package for online edge control. 2 Inner Climate-Control Loop
The inner loop is the fast climate-control layer of SE-TDDT. It operates at a five-minute time step and converts the
current barn condition into an executable actuator command. The climate simulator,
or its lightweight QLPV surrogate, predicts the short-term effect of candidate actuator commands such as ventilation,
heating, dampers, fans, and lighting on temperature, humidity, air quality, energy use, and possible comfort violation
[10]. MPC then compares the candidate commands using comfort, energy, safety, equipment, and biological-priority terms. The final actuator command is selected
as
u
∗
t = arg min
u
(j)
t ∈Ut
J(u
(j)
t
). This equation selects the actuator command with the lowest total bio-aware MPC cost. This guidance can adjust the preferred
comfort range, comfort weight, energy weight, ventilation or heating priority, and biological bias used by MPC. Therefore, the outer loop acts as a biological translator: it converts climate history into growth indicators and returns
growth indicators to the actuator-decision process. Therefore, the outer loop acts as a biological translator: it converts climate history into growth indicators and returns
growth indicators to the actuator-decision process. The two loops are therefore complementary. This daily bridge connects the inner climate loop with the outer biological
loop. Therefore, as shown in Figure 1, SE-TDDT transforms barn control from a single-domain HVAC process into a
feedback-based trans-domain architecture in which climate decisions, growth response, feed-related guidance, energy
use, and memory are coordinated within one executable control cycle. This article proposes a trans-domain digital twin framework with single-episode
learning capability, customized for bio-aware climate and energy control in a closed cattle-fattening
barn. The framework integrates a mechanistic climate simulator, a livestock growth simulator, model
predictive control, lightweight reinforcement learning, and structured knowledge memory within a
multi-rate temporal-loop architecture. The main research gap is therefore the lack of an
implementable bio-aware digital-twin architecture that can provide feedback-based coupling among climate, growth,
feed, and energy within a unified decision-making framework [2, 19, 20]. 4 Objective and Contributions
The objective of this work is to introduce a Single-Episode Trans-Domain Digital Twin (SE-TDDT) for a closed,
120-head cattle-fattening barn, in which indoor climate, livestock growth, energy consumption, and feed response are
coordinated within a unified decision-making framework [2, 21, 22, 23, 24]. The main research gap is therefore the lack of an
implementable bio-aware digital-twin architecture that can provide feedback-based coupling among climate, growth,
feed, and energy within a unified decision-making framework [2, 19, 20]. 4 Objective and Contributions
The objective of this work is to introduce a Single-Episode Trans-Domain Digital Twin (SE-TDDT) for a closed,
120-head cattle-fattening barn, in which indoor climate, livestock growth, energy consumption, and feed response are
coordinated within a unified decision-making framework [2, 21, 22, 23, 24]. As animals grow and gain weight, herd heat production and
moisture generation increase, thereby changing thermal load, humidity load, ventilation demand, heating requirement,
and future energy consumption [3, 4]. For this reason, a DT for cattle-fattening barns must represent the physical barn
state and the biological herd state together, assess how climate decisions affect growth and feed response, and return the
effects of growth and heat production to climate management [3, 4, 5, 2]. It uses one long offline training episode to connect the fast
climate-control loop with the slower biological-growth loop, then compresses the learned trans-domain experience into
structured memory for online edge control. In this architecture, MPC remains the final actuator decision-maker, while
RL, QLPV, CCLL-SEL, SARG-SEL, SS-KStore, and SETD-KStore provide prediction support, biological guidance,
lightweight adaptation, and reusable memory. It uses one long offline training episode to connect the fast
climate-control loop with the slower biological-growth loop, then compresses the learned trans-domain experience into
structured memory for online edge control. In this architecture, MPC remains the final actuator decision-maker, while
RL, QLPV, CCLL-SEL, SARG-SEL, SS-KStore, and SETD-KStore provide prediction support, biological guidance,
lightweight adaptation, and reusable memory. It uses one long offline training episode to connect the fast
climate-control loop with the slower biological-growth loop, then compresses the learned trans-domain experience into
structured memory for online edge control. In this architecture, MPC remains the final actuator decision-maker, while
RL, QLPV, CCLL-SEL, SARG-SEL, SS-KStore, and SETD-KStore provide prediction support, biological guidance,
lightweight adaptation, and reusable memory. Climate Context Local Library Guided
Single-Episode Learning (CCLL-SEL)1
, Stage-Aware Reference-Guided Single-Episode Learning (SARG-SEL)2
,
Step-Stream Knowledge Store (SS-KStore)3
, and Single-Episode Trans-Domain Knowledge Store (SETD-KStore)4
compress climatic contexts, growth references, training traces, biological guidance, and policy snapshots into a loadable
knowledge package for online edge control. This allows the edge controller to start from offline SE-TDDT knowledge
rather than learning from zero and to fine-tune decisions under real barn conditions. Climate Context Local Library Guided
Single-Episode Learning (CCLL-SEL)1
, Stage-Aware Reference-Guided Single-Episode Learning (SARG-SEL)2
,
Step-Stream Knowledge Store (SS-KStore)3
, and Single-Episode Trans-Domain Knowledge Store (SETD-KStore)4
compress climatic contexts, growth references, training traces, biological guidance, and policy snapshots into a loadable
knowledge package for online edge control. This allows the edge controller to start from offline SE-TDDT knowledge
rather than learning from zero and to fine-tune decisions under real barn conditions. Running Title for Header
integration of single-episode learning with structured knowledge memory. Climate Context Local Library Guided
Single-Episode Learning (CCLL-SEL)1
, Stage-Aware Reference-Guided Single-Episode Learning (SARG-SEL)2
,
Step-Stream Knowledge Store (SS-KStore)3
, and Single-Episode Trans-Domain Knowledge Store (SETD-KStore)4
compress climatic contexts, growth references, training traces, biological guidance, and policy snapshots into a loadable
knowledge package for online edge control. Climate Context Local Library Guided
Single-Episode Learning (CCLL-SEL)1
, Stage-Aware Reference-Guided Single-Episode Learning (SARG-SEL)2
,
Step-Stream Knowledge Store (SS-KStore)3
, and Single-Episode Trans-Domain Knowledge Store (SETD-KStore)4
compress climatic contexts, growth references, training traces, biological guidance, and policy snapshots into a loadable
knowledge package for online edge control. This allows the edge controller to start from offline SE-TDDT knowledge
rather than learning from zero and to fine-tune decisions under real barn conditions. This daily bridge connects the inner climate loop with the outer biological
loop. Therefore, as shown in Figure 1, SE-TDDT transforms barn control from a single-domain HVAC process into a
feedback-based trans-domain architecture in which climate decisions, growth response, feed-related guidance, energy
use, and memory are coordinated within one executable control cycle. However, these
models are generally used independently of real-time climate-control decisions. As a result, climate–energy control and
livestock growth simulation have usually followed separate paths. Treat decisions as extended-horizon control; reduce feed-pressure risk and
smooth actuator changes. Table 2: Compact summary of CCLL-SEL climatic contexts used as climate priors for MPC. These phase labels are used as soft biological priors for MPC through comfort-range correction, energy
weighting, ventilation/heating priority, and biological bias (Table 1). In the compact SARG-SEL graphical abstract, the radar chart compares feed intake, feed efficiency, average daily
weight gain, total body-weight gain, beef production index, heat production, heat stress, and feed required per kilogram
of weight gain across growth phases P1–P5 (Figure 8e). They
include indoor climate, livestock growth, feed response, metabolic heat production, actuator operation, and energy use. Therefore, the TDDT represents the barn as a coupled climate–biological–energy system rather than as a single-domain
HVAC process [2]. As animals grow and gain weight, herd heat production and
moisture generation increase, thereby changing thermal load, humidity load, ventilation demand, heating requirement,
and future energy consumption [3, 4]. For this reason, a DT for cattle-fattening barns must represent the physical barn
state and the biological herd state together, assess how climate decisions affect growth and feed response, and return the
effects of growth and heat production to climate management [3, 4, 5, 2]. As animals grow and gain weight, herd heat production and
moisture generation increase, thereby changing thermal load, humidity load, ventilation demand, heating requirement,
and future energy consumption [3, 4]. For this reason, a DT for cattle-fattening barns must represent the physical barn
state and the biological herd state together, assess how climate decisions affect growth and feed response, and return the
effects of growth and heat production to climate management [3, 4, 5, 2]. Climate Context Local Library Guided
Single-Episode Learning (CCLL-SEL)1
, Stage-Aware Reference-Guided Single-Episode Learning (SARG-SEL)2
,
Step-Stream Knowledge Store (SS-KStore)3
, and Single-Episode Trans-Domain Knowledge Store (SETD-KStore)4
compress climatic contexts, growth references, training traces, biological guidance, and policy snapshots into a loadable
knowledge package for online edge control. This allows the edge controller to start from offline SE-TDDT knowledge
rather than learning from zero and to fine-tune decisions under real barn conditions. Remaining
limitations include the need for field validation, improved management of feed pressure, and reduction
of abrupt actuator-command variations. Keywords Trans-domain Digital Twin · Bio-aware Climate Control · Model Predictive Control · Livestock Growth
Simulation · Edge Intelligence · Single-Episode Learning · Energy-aware Control · Cattle Fattening Barn
1 Introduction
As the global demand for food increases and agricultural labor shortages become a growing constraint, technological
innovations are increasingly required to improve the management of complex livestock-production systems [1]. Climate Context Local Library Guided
Single-Episode Learning (CCLL-SEL)1
, Stage-Aware Reference-Guided Single-Episode Learning (SARG-SEL)2
,
Step-Stream Knowledge Store (SS-KStore)3
, and Single-Episode Trans-Domain Knowledge Store (SETD-KStore)4
compress climatic contexts, growth references, training traces, biological guidance, and policy snapshots into a loadable
knowledge package for online edge control. This allows the edge controller to start from offline SE-TDDT knowledge
rather than learning from zero and to fine-tune decisions under real barn conditions. Climate Context Local Library Guided
Single-Episode Learning (CCLL-SEL)1
, Stage-Aware Reference-Guided Single-Episode Learning (SARG-SEL)2
,
Step-Stream Knowledge Store (SS-KStore)3
, and Single-Episode Trans-Domain Knowledge Store (SETD-KStore)4
compress climatic contexts, growth references, training traces, biological guidance, and policy snapshots into a loadable
knowledge package for online edge control. This allows the edge controller to start from offline SE-TDDT knowledge
rather than learning from zero and to fine-tune decisions under real barn conditions. 3 Outer Growth-Guidance Loop
The outer loop is the slower biological-guidance layer of SE-TDDT. It operates at the daily scale because livestock
growth, feed intake, feed efficiency, heat production, and limiting factors become meaningful over accumulated daily
conditions rather than at every five-minute climate step [3, 4, 5]. 3 Outer Growth-Guidance Loop
The outer loop is the slower biological-guidance layer of SE-TDDT. It operates at the daily scale because livestock
growth, feed intake, feed efficiency, heat production, and limiting factors become meaningful over accumulated daily
conditions rather than at every five-minute climate step [3, 4, 5]. The growth simulation layer
receives daily aggregated climate data and estimates body weight, feed intake, feed efficiency, heat production, growth
status, and limiting factors. The decision/optimization layer uses MPC as the final actuator decision-maker, while
lightweight reinforcement learning and tuning components only adjust decision biases. 1 Overall Architecture
A DT is a decision-oriented virtual representation of a physical system that links sensing, simulation, prediction, and
optimization when the target process cannot be adequately understood or controlled by monitoring alone or by isolated
standalone models [2]. In this study, the Physical Twin (PT) is the closed cattle-fattening barn, including the animals,
sensors, actuators, building structure, outdoor weather, and herd context. 1 Overall Architecture
A DT is a decision-oriented virtual representation of a physical system that links sensing, simulation, prediction, and
optimization when the target process cannot be adequately understood or controlled by monitoring alone or by isolated
standalone models [2]. In this study, the Physical Twin (PT) is the closed cattle-fattening barn, including the animals,
sensors, actuators, building structure, outdoor weather, and herd context. The main research gap is therefore the lack of an
implementable bio-aware digital-twin architecture that can provide feedback-based coupling among climate, growth,
feed, and energy within a unified decision-making framework [2, 19, 20]. 4 Objective and Contributions
The objective of this work is to introduce a Single-Episode Trans-Domain Digital Twin (SE-TDDT) for a closed,
120-head cattle-fattening barn, in which indoor climate, livestock growth, energy consumption, and feed response are
coordinated within a unified decision-making framework [2, 21, 22, 23, 24]. 4 Objective and Contributions
The objective of this work is to introduce a Single-Episode Trans-Domain Digital Twin (SE-TDDT) for a closed,
120-head cattle-fattening barn, in which indoor climate, livestock growth, energy consumption, and feed response are
coordinated within a unified decision-making framework [2, 21, 22, 23, 24]. The proposed architecture is designed
to move barn climate control beyond conventional HVAC operation by coupling a lightweight mechanistic climate
simulator with a mechanistic livestock growth simulator. The fast temporal loop operates every five minutes to evaluate
actuator decisions and maintain short-term thermal comfort, safety, and energy efficiency, whereas the
slow temporal loop provides biological guidance based on daily climatic conditions, feed efficiency,
heat production, and growth-limiting factors. The results show that climate, growth, energy, feed,
biological guidance, and memory can be linked within a single executable control cycle. The fast temporal loop operates every five minutes to evaluate
actuator decisions and maintain short-term thermal comfort, safety, and energy efficiency, whereas the
slow temporal loop provides biological guidance based on daily climatic conditions, feed efficiency,
heat production, and growth-limiting factors. The results show that climate, growth, energy, feed,
biological guidance, and memory can be linked within a single executable control cycle. amiri@umontreal. ca
ABSTRACT
In closed cattle-fattening barns, the indoor climate and herd growth are mutually interdependent. amiri@umontreal. ca
ABSTRACT
In closed cattle-fattening barns, the indoor climate and herd growth are mutually interdependent. The fast temporal loop operates every five minutes to evaluate
actuator decisions and maintain short-term thermal comfort, safety, and energy efficiency, whereas the
slow temporal loop provides biological guidance based on daily climatic conditions, feed efficiency,
heat production, and growth-limiting factors. The results show that climate, growth, energy, feed,
biological guidance, and memory can be linked within a single executable control cycle. The fast temporal loop operates every five minutes to evaluate
actuator decisions and maintain short-term thermal comfort, safety, and energy efficiency, whereas the
slow temporal loop provides biological guidance based on daily climatic conditions, feed efficiency,
heat production, and growth-limiting factors. The results show that climate, growth, energy, feed,
biological guidance, and memory can be linked within a single executable control cycle. amiri@umontreal. ca
ABSTRACT
In closed cattle-fattening barns, the indoor climate and herd growth are mutually interdependent. amiri@umontreal. ca
ABSTRACT
In closed cattle-fattening barns, the indoor climate and herd growth are mutually interdependent. ca
ABSTRACT
In closed cattle-fattening barns, the indoor climate and herd growth are mutually interdependent. Temperature, relative humidity, airflow, and ventilation affect thermal comfort, feed intake, metabolic
heat production, daily growth, feed efficiency, and energy consumption, while body-weight gain
alters the future heat and moisture loads of the barn and, consequently, its ventilation, heating, and
energy requirements. ca
ABSTRACT
In closed cattle-fattening barns, the indoor climate and herd growth are mutually interdependent. Temperature, relative humidity, airflow, and ventilation affect thermal comfort, feed intake, metabolic
heat production, daily growth, feed efficiency, and energy consumption, while body-weight gain
alters the future heat and moisture loads of the barn and, consequently, its ventilation, heating, and
energy requirements. These phase labels are used as soft biological priors for MPC through comfort-range correction, energy
weighting, ventilation/heating priority, and biological bias (Table 1). In the compact SARG-SEL graphical abstract, the radar chart compares feed intake, feed efficiency, average daily
weight gain, total body-weight gain, beef production index, heat production, heat stress, and feed required per kilogram
of weight gain across growth phases P1–P5 (Figure 8e). 2 Related Work
2. 1 MPC and Adaptive Climate Control
MPC has been widely used for indoor climate and HVAC control because it can use a mechanistic or learned dynamics
model to predict future states of temperature, humidity, thermal load, comfort constraints, and energy consumption,
and then select optimal control actions under operational constraints [6, 9]. The growth simulation layer
receives daily aggregated climate data and estimates body weight, feed intake, feed efficiency, heat production, growth
status, and limiting factors. The decision/optimization layer uses MPC as the final actuator decision-maker, while
lightweight reinforcement learning and tuning components only adjust decision biases.Where the paper says it
Where the paper says it
Where the paper says it
Where the paper says it
Where the paper says it
Where the paper says it
Where the paper says it
Where the paper says it
Where the paper says it
Where the paper says it
Where the paper says it
Where the paper says it
Where the paper says it
Where the paper says it
Where the paper says it
Where the paper says it
Where the paper says it
Where the paper says it
Where the paper says it
Where the paper says it
Where the paper says it
Where the paper says it
Where the paper says it
Where the paper says it
Where the paper says it
Where the paper says it
Where the paper says it
Where the paper says it
Where the paper says it
Where the paper says it
Where the paper says it
Where the paper says it
Where the paper says it
Where the paper says it
Where the paper says it
Where the paper says it
Where the paper says it
Where the paper says it
Where the paper says it
Where the paper says it
Where the paper says it
Where the paper says it
Where the paper says it
Where the paper says it
Where the paper says it
Where the paper says it
Where the paper says it
Where the paper says it
Where the paper says it
Where the paper says it
Where the paper says it
Where the paper says it
Where the paper says it
Where the paper says it
Where the paper says it
Where the paper says it
Where the paper says it
Where the paper says it
Where the paper says it
Where the paper says it
Green — the paper says it, and the page is printed. Red — no passage carries it, so treat that sentence as unverified. The same check runs on your own text: check a summary against its source, $5.
Improvements for AI systems
-
Improved AI system can perform bio-aware climate and energy control in closed cattle-fattening barns by coordinating climate decisions, livestock growth, energy consumption, feed response, biological guidance, and memory within a single executable control cycle.
-
The system will utilize a multi-rate temporal loop where a fast inner loop operates every five minutes to evaluate actuator decisions for short-term thermal comfort and safety while the slow outer loop provides biological guidance based on daily climatic conditions and growth factors.
-
The system will incorporate a mechanistically simulated climate simulator coupled with a mechanistic livestock growth simulator, allowing the climate simulator to act as a surrogate physical environment during offline training and the growth simulator to provide biological feedback.
-
The system will employ Model Predictive Control (MPC) as the final actuator decision-maker, using lightweight reinforcement learning and tuning components only to adjust decision biases or weights without replacing MPC directly.
-
The AI system will feature a knowledge layer consisting of four components—Climate Context Local Library Guided Single-Episode Learning (CCLL-SEL), Stage-Aware Reference-Guided Single-Episode Learning (SARG-SEL), Step Stream Knowledge Store (SS-KStore), and Single Episode Trans-Domain Knowledge Store (SETD-KStore)—to store and transfer offline single-episode training experience to online edge control.
-
The AI system can interpret the barn as a coupled climate–biological–energy system where growth outputs like body weight, average daily gain, heat production, and limiting factors are converted into biological guidance for the MPC layer.
-
The system will utilize context-based priors from the CCLL-SEL memory to inform MPC decisions by mapping daily climate data to historical climatic contexts (e.g., C10 Hot/dry context) and using SARG-SEL references to map growth stages to biological guidance (e.g., Phase P3 High growth pressure).
-
The system can be deployed on low-power edge platforms, such as an Orange Pi 5, where it loads the final knowledge package SETD-KStore instead of learning from zero, demonstrating feasibility for farm-level control without GPU or cloud-side computation.
Abstract
In closed cattle-fattening barns, the indoor climate and herd growth are mutually interdependent. Temperature, relative humidity, airflow, and ventilation affect thermal comfort, feed intake, metabolic heat production, daily growth, feed efficiency, and energy consumption, while body-weight gain alters the future heat and moisture loads of the barn and, consequently, its ventilation, heating, and energy requirements. This article proposes a trans-domain digital twin framework with single-episode learning capability, customized for bio-aware climate and energy control in a closed cattle-fattening barn. The framework integrates a mechanistic climate simulator, a livestock growth simulator, model predictive control, lightweight reinforcement learning, and structured knowledge memory within a multi-rate temporal-loop architecture. The fast temporal loop operates every five minutes to evaluate actuator decisions and maintain short-term thermal comfort, safety, and energy efficiency, whereas the slow temporal loop provides biological guidance based on daily climatic conditions, feed efficiency, heat production, and growth-limiting factors. The results show that climate, growth, energy, feed, biological guidance, and memory can be linked within a single executable control cycle. Remaining limitations include the need for field validation, improved management of feed pressure, and reduction of abrupt actuator-command variations.
Sources
Related papers
- AiFlow: Construction-to-Retirement Conformance for Versioned LLM Services
- HPCAgent-Bench: A Framework for Sound Benchmarking of Code-Optimizing Agents, Harnesses, and Skills
- CodeTeam: An LLM-Powered Multi-Agent Framework for Repository-Level Code Generation
- Training Language Model Agents to Find Vulnerabilities with CTF-Dojo
- ArkEval: Benchmarking and Evaluating Automated CodeRepair for ArkTS
- TestPrism: Rethinking Test Evaluation Beyond a Single Reference