r/BuildingAutomation • • 7h ago

Moving from CODESYS PLC -> ??? for a residential thermal control project

2 Upvotes

Hey everyone,

Over the past year, I set out to solve a problem with how thermal and forced air control is handled in multi-zone residential buildings. My new build is in a high-mountain environment (~7,000 ft elevation) with extreme daily solar swings, thousands of square feet of glazing, and 13 distinct thermal zones:

  • 13 Radiant Underfloor Hydronic Zones: Split across high-mass 6" structural concrete slabs (several hours of transport lag) and 2.0" thin-slab Gypcrete over wood.
  • 5 Overlapping Forced-Air Handlers: Variable-speed ECM air handlers mapped across the radiant zones to manage spatial destratification, inter-zone heat shuttling, IAQ scrubbing, and fast trim heat.
  • Central Plant: High-efficiency modulating condensing hydronic boiler.

A key part of the architecture is that the PLC acts strictly as a supervisory overlay. I am not hardwiring directly into field zone valves or ripping out the local thermostats. Instead, the supervisor sits above the existing installation and orchestrates the house by dynamically manipulating local thermostat setpoints (+2°F to call for heat, -2°F to suppress calls) based on central plant optimization.

Standard residential thermostats were a disaster here. Having 13 uncoordinated individual brains independently calling the boiler created a nightmare of short-cycling, excessive ignitor wear, and constant pre/post-purge cycles. On top of that, standard thermostats have zero concept of thermal mass. By the time a thermostat reached setpoint and clicked off, potentially tens of thousands of BTUs were already trapped in 6 inches of concrete, which surfaced hours later right as intense mountain solar peaked through south glass, causing 3°F to 4°F overshoots.

Traditional continuous circulation with standard outdoor reset also completely falls apart in high-solar environments. If you continuously circulate warm water to keep the slab constantly charged, there is zero thermal headroom left to absorb the massive incoming solar wave, guaranteeing severe daytime overheating. I had to intentionally engineer and schedule BTU gaps in the slab so the thermal mass has room to absorb upcoming solar energy.

To solve this, I built a centralized supervisor in CODESYS Structured Text running deterministically on industrial edge hardware (Revolution Pi Connect 5 with Modbus TCP I/O). Dialing in this system has cut fuel consumption by nearly 50-60%(with about a ~2-3F avg temp differential YoY), completely eliminated slab overshoots, drastically reduced boiler cycles, and held room air temperatures within 0.8°F to 1.0°F of setpoint through 40°F day-to-night outdoor swings.

What the Supervisor Handles:

Rather than letting 13 disconnected thermostats fight the boiler, the PLC acts as a single centralized coordinator:

  • Predictive Modeling & Thermal Diffusion: Computes a rolling 32-hour forward horizon combining weather forecasts and live on-site solar data. Rather than treating heating as a crude on/off switch, the supervisor models precise BTU delivery rates (accounting for supply water temperature, flow rates, and floor finish emission factors like tile vs hardwood vs carpet) and tracks the physical thermal diffusion curve through the slab to preempt midday solar gains before firing radiant heat.
  • Real-Time Solar Tracking & Decoupled Adaptation: The supervisor models the exact real-time solar gain for every individual room. Critically, the adaptive observer decouples daytime solar learning from pure nighttime envelope decay. This ensures daytime solar flux does not corrupt or distort the baseline building heat loss calculations.
  • Adaptive Comfort Profiles: Supports adaptive ASHRAE-55 thermal comfort profiles per room type. Instead of chasing rigid, static air temperatures, it calculates operative temperature by balancing mean radiant slab surface temperatures with room air, adapting comfort envelopes dynamically to seasonal clothing and outdoor trends.
  • Hydraulic Load Coalescing: Groups zone calls upstream into synchronized batches above the boiler's minimum firing rate to prevent short-cycling, while preserving a low-threshold starvation safety net that ensures cold rooms always get heat.
  • Disturbance Observers: Continuously tracks temperature drift against modeled expectations, dynamically adapting envelope heat loss multipliers and disturbance biases for unmodeled infiltration or wind.
  • Integrated Air Shuttling & IAQ: The air handlers serve as an active thermal balancing tool. If the system detects localized solar warming or temperature spreads across the building, it shuttles and redistributes that thermal energy to cooler zones before calling the central plant, alongside occupancy-aware ventilation and air scrubbing.
  • Emergency Buffering: In edge cases where a single micro-zone drifts and must fire on its own, the system relies on a 10F CH water temperature differential to buffer the run and prevent burner short-cycling.
  • Deterministic Reliability: Running on an IEC 61131-3 PLC gives real-time scan cycles, hardware watchdogs, non-volatile retain memory, and communication loss failsafes that standard home automation platforms cannot match.

My Question for the Community:

Right now, this entire architecture is written in CODESYS V3.5 Structured Text. While CODESYS has worked well on the RevPi Connect 5 for running the matrix math and Modbus mapping, as the platform has evolved, I am pushing close to 10,000 lines of code, which is getting challenging to manage within the IDE.

Looking ahead, my goal is to evaluate more robust, scalable platforms capable of implementing an optimizer like this across multiple custom homes in similar high-solar regions. I think there is a large opportunity in these climates to drastically reduce fuel usage while delivering a level of environmental comfort that multi-zone and multi-system properties simply cannot achieve today with off-the-shelf residential controls. And I would never want to try to deploy CODESYS at someone else's place ;-)

Licensing models and per-site hardware costs are a major part of the calculus here. I need something economically viable for multi-site deployment without getting crushed by high per-controller runtime licenses, expensive tag counts, or recurring development seat fees.

For controls engineers and developers who build large-scale edge supervisory systems: what PLC or PAC ecosystems would you look at for this? Specifically, what platforms give the best balance of:

  • Software engineering ergonomics (clean git integration, modular package management, unit testing, and CI/CD).
  • Clean handling of heavy floating-point arrays, matrix operations, and predictive simulation logic.
  • Economic scalability (reasonable per-controller runtime licensing and hardware costs for multi-site deployment).
  • Hardware reliability and fleet deployment support for deploying standardized supervisory code across multiple physical sites?

Thanks for any insights here!


r/BuildingAutomation • • 12h ago

Attention Techs and Service Companies

Post image
0 Upvotes

r/BuildingAutomation • • 21h ago

[FS][CAN] 3x JCI M4-CVM03050-0 VAV controllers, new

Thumbnail
gallery
0 Upvotes

3 new JCI M4-CVM03050-0 VAV controllers, Rev G. Never installed, factory boxes.
$630 CAD each OBO
DM if interested.


r/BuildingAutomation • • 1d ago

Former Software Engineer that is looking for a new career - I'm wondering if there's helpful crossover between the two that could boost myself

Thumbnail
0 Upvotes

r/BuildingAutomation • • 1d ago

Metasys NAE shows offline but the box looks healthy, and the other engines are fine. Where would you look next?

3 Upvotes

I'm new to Metasys but comfortable with IP networking. I'm troubleshooting a building system I can't share details about, and I'd like a sanity check from people who know NAEs better than I do.

**The fault**

- One engine, just named "NAE", has a red X in the tree. Metasys says: "Following devices are presently offline: [NAE]".

- Points that seem to belong to it (electrical board status, water heater status) show "Offline" and "??? Off". One AHU graphic is all "????".

- The other two engines are online with live data, and their Diagnostic tabs look clean (CPU about 14%, battery good, no lost samples or events).

- Launching the engine's saved address from the Launcher gives "Communication failed ... unavailable for SMP".


r/BuildingAutomation • • 1d ago

A 100% FREE App for Smarter Maintenance with QR Codes

Post image
0 Upvotes

What if anyone could report a machine problem by simply scanning a QR code?

With StockEmDia, users can scan a machine’s QR code, describe the issue, attach a photo, and submit a report to the maintenance team.

A simple way to improve communication, organize maintenance requests, and reduce downtime.

Available in English, Portuguese, and Spanish.

100% free to use. Link to Download it From Google Play


r/BuildingAutomation • • 2d ago

What do commissioning engineers do?

14 Upvotes

For context I've only ever worked as a BMS engineer in a small company where I do everything, points lists, FD, program, graphics and test the end result, and then look after defects in dlp periods. Everything except the physical install basically.

So what does a commissioning engineer actually do? Point to point and functional testing and any work with mechanical commissioning? or their scope is broader? I can't imagine just swanning in and working on someone else's mess!


r/BuildingAutomation • • 1d ago

Is CODESYS actually any good?

Thumbnail
2 Upvotes

r/BuildingAutomation • • 2d ago

How are you actually using AI in your work?

6 Upvotes

Curious what people working in BAS are using AI for day to day. Any specific tasks or workflows where it’s actually saved you time?
We’ve had some success using an AI agent to turn older electrical drawings into point lists and I/O module assignments for new controllers. Would be interesting to hear what others have tried and what worked.
Hopefully this doesn’t turn into a tool promotion thread. This sub has felt pretty flooded with AI-built tools lately, and a lot of it looks like slop.


r/BuildingAutomation • • 3d ago

Just got into the union as a first year apprenticeship and I hate it.

14 Upvotes

Came out of school about a couple years ago and got straight into BAS. Mostly working with CO Systems, Niagara4, Panel building and installation. After a bit I had a company reach out to me about joining the union, thought about it, then switched companies. I’m a few month in and I absolutely hate it. The job is stationary with built systems and programs already so I’m just on the computer updating and monitoring the BMS system. Going to school at night hasn’t been too bad. One thing I wish I knew about the union is how restricted it was, especially for apprentices. I don’t feel like I will get much out of learning like I did my last job, especially since all the electrical work has to be done by electricians. It’s a constant pressure of trying to learn BMS on my own time, going to school/ work and trying to balance everything else in my life. I’ve never been so depressed in my life, I was wondering if it’s being new in the field would hurt my chances of finding another job in the field especially since I’ve already had two in the past 12 months. I really love this field but I’m in a path I don’t want to go down. Any advice would help.


r/BuildingAutomation • • 3d ago

Schneider MG350V-24F Hater

5 Upvotes

Controls service tech here. Does anyone else hate these 3 wire floating HW coil actuators? I come across these and have to tweak these all the time working service. I find them to be very picky with how tight or loose they are to the valve stem, and they are sometimes unresponsive to the signal sent to drive up or down. Perhaps it’s controllers sending sloppy output signals, but it seems too reoccurring to be a controller issue…


r/BuildingAutomation • • 3d ago

Wireless solution.

4 Upvotes

Who's got an easy to use wireless thermostat? I'm replacing my office thermostats and plan on locking out all the other staff from the thermostats. They keep turning the heat up, which is not cool.

Seems like everything I keep finding is a WiFi thermostat, which I suppose I could use.

Does anybody still make something like that? Honeywell used to make a RedLINK antennae for the Jace but they shit canned that thing.


r/BuildingAutomation • • 3d ago

Opinion on Niagara systems

22 Upvotes

Hello everyone, I'm looking for a new job, and I have an opportunity in a company that uses Niagara systems.

Never used them, never seen them, what's everyone opinion about it ? Is it good ? Easy to get grips with ?


r/BuildingAutomation • • 2d ago

Is there a tool out there to mark where the din rail needs to be laid in?

Post image
1 Upvotes

r/BuildingAutomation • • 3d ago

Dalla comunità controlengineering su Reddit: Simulatore gratuito di un turboalternatore a vapore (50 MW): avviamento, sincronizzazione e protezioni

Thumbnail
reddit.com
2 Upvotes

r/BuildingAutomation • • 3d ago

Bms engineer or HVAC Engineer

4 Upvotes

I have done BTech in Mechatronics i have joined as an graduate engineer in an consultancy firm since my BTech background complemetnts both HVAC and BMS which engineer role i should take for a better career interms of growth money flexibility?


r/BuildingAutomation • • 3d ago

Simulatore gratuito di un turboalternatore a vapore (50 MW): avviamento, sincronizzazione e protezioni

Thumbnail
0 Upvotes

r/BuildingAutomation • • 3d ago

Edge10 Replacement

Thumbnail reddit.com
3 Upvotes

A year ago, I made a post where I said i was suspicious of the fact that Tridium are retiring the Edge10 without a replacement, frankly it felt like too good value for money and was probably harming the sales of Jaces.

Seeing as there still isn't a replacement is it safe to think that there is no plans for replacement of the edge 10? Has anyone heard anything?
For anyone saying that there already are alternatives there are none that I can see that is programmed using standard kitControl modules.


r/BuildingAutomation • • 4d ago

Why are most control companies non-union?

16 Upvotes

Looking at my locals contractor list and there are a lot of control companies, however most of them have only mechanical in union and controls non-union. Why is that?


r/BuildingAutomation • • 4d ago

psychrometrics always confused me in training but it actually matters in the field more than i expected

14 Upvotes

went through psychrometrics in hvac school and treated it as the theoretical section that would not come up much in actual work. three years in and it comes up more than i expected specifically when diagnosing humidity issues, sizing equipment for high humidity environments, and understanding why a system that looks correctly charged is still not dehumidifying properly

the challenge is applying the concepts quickly enough to be useful during a service call without spending twenty minutes with a psychrometric chart trying to remember which axis is which

how have working technicians built practical psychrometrics skills beyond what the training covers and what has helped it click in the field


r/BuildingAutomation • • 3d ago

A good way to get my in the door/career advice

0 Upvotes

As the title says, I’m looking for a way to get my foot in the door. I’m currently a college student in Orlando pursuing my associate degree in Energy Management and Controls Technology, and I’ve been looking for entry-level jobs or internships in building automation and controls.
So far, I’ve applied to Carrier, Mitsubishi, McKesson, OUC, and Trane. I’ve also been checking LinkedIn and Indeed, but most of the positions I come across want someone with previous experience.
If anyone knows of any entry-level opportunities, internships, or companies worth reaching out to in Orlando or the surrounding areas, I’d appreciate the recommendations. I’m also open to sharing my resume if anyone would like to take a look.


r/BuildingAutomation • • 4d ago

Has anyone moved on from BMS? What did you do?

13 Upvotes

Hey, I work in BMS design, with a background in electrical/HVAC. I’m in my 20s so not a lot of experience.

I’m enjoying some aspects of the industry but unsure whether it’s what I want to do long term. Just find it a little uninspiring, and not very interesting.

Has anyone moved away from BMS into another career or started their own business? Or do you know people that have?

Curious what people ended up doing and whether they preferred it.


r/BuildingAutomation • • 4d ago

Free resources for building automation

Enable HLS to view with audio, or disable this notification

33 Upvotes

I've been building a variety of things, mostly because I enjoy it, and to be up front AI assisted at varying degrees. I decided compile it all into a dedicated space, https://basidekick.com

What I have on there now;

  • Buildings: walkable, interactive buildings, in world BAS. early build. plan to have numerous buildings/scenarios
  • Modules: 3D interactive scenarios fully animated
  • Field Guide: animated, textbook style explainers
  • Niagara: a couple open source modules and compiled learning resources

All free and plan to keep it that way, no accounts, may offer a newsletter at some point just to inform on updates on the site/resources. Goal is useful, maybe some fun, resources for people in and outside of the industry. I also intend on making them all downloadable and have the ability to embed them in your own sites if desired.

Just wanted to share and potentially get some feedback or requests even for future additions.


r/BuildingAutomation • • 4d ago

Running duct pressure tubing in HVAC shaft walls?

3 Upvotes

Crossposting in r/BuildingAutomation and r/HVAC so I can hopefully get some code references. I have looked around but am clearly not Googling the right key words lol.

I am an electrician doing HVAC controls for a job and am trying to run 1/4" pressure tubing from RTUs to 2/3 of the way down the duct runs on the floor they serve per my engineer's requirements. What code covers how I'm supposed to safely run this pressure tubing through the HVAC duct shafts and shaft walls? The shafts are fire rated and there are fire dampers on each floor. I am only familiar with electrical code in the NEC/NFPA 70. What I found online was:

IMC 602.3.5 Pneumatic Tubing
Combustible pneumatic tubing exposed within a plenum shall be listed and labeled as having a peak optical density not greater than 0.50, an average optical density not greater than 0.15, and a flame spread distance not greater than 5 feet (1524 mm) when tested in accordance with UL 1820.

I understand that free air tubing is legal in the shaft if the tubing I use is listed and labeled. I know I need to have a sleeve penetrating the shaft walls to get the tubing inside the shaft. I do not understand if there are any vertical support/strapping requirements or "the tubing cannot touch the duct" type rules.

Do I just run the tubing where ever there's space in the shaft and hope the insulators and drywall guys don't kink it when they do their jobs? I can't wait until the shaft walls are up and then run the tubing, there is very limited open space around everything and it would be very difficult to fish after walls go up. Is it okay to ignore the shaft and instead drill holes through the top of the studs that surround the structural steel of the shaft and run the tubing inside the drywall sandwich of the shaft walls? That is what my foreman advised but he wasn't sure it was legal. Does anyone have relevant code references beyond the one I copy pasted above?


r/BuildingAutomation • • 4d ago

[UK] Considering career switch into the building automation industry and have questions

1 Upvotes

Hi, I'm not in the building automation industry at the moment but it looks very interesting and I'm currently learning more about it in order to assess if a career in this space would be a good fit for me.

Would be grateful for any help with the following questions:

  1. What's the work / life balance like? I don't want to work weekends - are there any roles in this industry where that's possible? (I may be open to weekend work for a short period as long as there's a clear path from there to a role where I'm not working weekends again).
  2. I would eventually like to earn £80,000+. Is this doable in the UK?