DC Opportunity Loads With Remote PLC - System Architecture Suggestions

Hi,

I’m working on an off grid system for a cabin. I have a 10KW solar array connected via a RS 450|200. I have a Cerbo running Node Red.

The cabin has hydronic heat with a buffer tank housing six 48V DC, 2,000W heating elements. I’d like to run these using the opportunity loads feature, staging them on in steps. Obviously, I have more heating elements than solar/charger power, so for now I’ll only have four in play. The other two are spares if I ever expand the solar (unlikely).

The heating system is controlled by a custom control panel that has DC solid state relays to control the heating elements . This is operated by a PLC that itself has a Node Red module (Automation Direct CLICK). It also controls the balance of the heating system (backup mod-con propane boiler, circulators, zone valves, outdoor reset, etc.)

What would be the best / most reliable system architecture to bring this all together and pass data between the Cerbo and PLC? Modbus, MQQT, other? My understanding is that the Cerbo is resource limited, so perhaps offloading processing to the PLCs dedicated Node Red module makes sense?

I could add current measurement hardware to the PLC to measure the heater output, but being DC, I assume reporting by simple ohms law calculation would be close enough? I was not planning on modulating the heater SSRs, I was just going to turn on each element 100%, giving me 0, 2KW, 4KW, 6KW and 8KW steps.

Thoughts?

Thank you!

The new generation GX’s aren’t resource limited. Far from it.
You don’t need current measurements if the load is constant and predictable, you can just send static values.
As for comms, anything nodered accepts is fine, take your pick. It will all just be inputs to virtual device nodes.

Hi Nick,

Hmmm, I always read the Cerbos had significant limitations running Node Red. Digging a little deeper, I see they recently released the MK3 version, I was not aware of that. I thought only the Ekrano had the new processors.

My Cerbo is from mid 2023 as I’m upgrading an existing system. Perhaps I should get a new one.

Mk1/2 are the same architecture, just can port changes. Mk3 is a different beast. Had one of the first, it is chalk and cheese. Faster memory as well.

I do something similar but on the AC side of a off-grid for preheating water in a boiler before it goes into the oil-central-heating-boiler. I use the battery charge current and SOC as primary data for the heating logic. I set the battery to charge at 20A using victrons built in DVCC. Once I go over 16A i count up an integrator number from 0-100 every second. Once i go under 16A i count it down. I do the same with 18A on a second integrator number. I also scale my SOC into two numbers. Number 1 is 80-100% soc scaled into 0-100% and the second one is 90%-100% soc into 0-100%. I take the biggest number from the 16A intergator and 80-100%soc and use it to control the boiler triac electronic i built myself. I do the same with the 18A and 90-100% scaled number. The highest number controls a second triac for extra IR heating in the house. This way i use the “extra” solar and put it in both hot water and hot air. The difference in numbers creates the priority. I guess you can do something similar but instead of 100 triac steps you can use 4 comperators to digitally control your heating elements. Look at what communiction protocols are possible between your PLC and Node-Red . I used MQTT. Offcourse i also implemented some extra logic in the form of thermostatic behavior and multiplus-overloading prevention and some more.

Thank you Gerd, very helpful.

I considered controlling the heater SSRs using PWM to vary the output power. My concern is that having a 2,000W DC load controlled by PWM might create some serious electrical noise. I figured four steps would be granular enough.

My PLC will be controlling hydronic loop temperature with a modulating mixing valve based on outdoor temperature and the building being occupied or unoccupied (just warm enough for freeze protection). By separating the loop temperature from the tank temperature, I can run the tank all the way to around 190°F to store the most energy possible when I have surplus power during the day.

That is why i don’t pwm modulate but i modulate trough zero phase crossing. So I detect/count half wave crossings using an interrupt in my microcontroller using an optocoupler chip. No net polution that way. Works like a breeze. I did design the PCB from a schematic from a work collegue. And wrote the firmware myself. Nothing available on the market that does the same thing that i am aware of. In your case nothing stops you from using your 4 elements and work in 4 25% steps. Because you work on the DC side of things you can’t use my system anyway.

I just realized that the 48VDC elements that I’m using are also available in 600W and 1000W versions. I think I’ll swap out two 2,000W elements for a 600W and 1,000W. Those, along with the four 2,000W elements will give me nineteen possible steps:

0, 600, 1,000, 1,600, 2,000, 2,600, 3,000, 3,600, 4,000, 4,600, 5,000, 5,600, 6,000, 6,600, 7,000, 7,600, 8,000, 8,600, 9,000 and 9,600 watts.

That will be far better.

Because of the big 600W steps you need to put a very slow software based low pass filter on the battery charge measurement for your regulating part of the software otherwise things might start to oscillate. Have you considdered 2x600W in a switching configuration so that you can put the elements in series, single and parralel? That way you would have 300W steps. So 300 600 1000 1300 1600… I believe expecting 10KW leftover power from a 10KW system is quite unrealistic. Also calculate what power you maximum need to heat your water to the desired 65°C in a timespan of 5 hours. It would be a mistake to oversize too much.

The SSRs controlling the heaters would not allow for series/parrallel switching.

I don’t currently expect to be able to use the full 9,600W, but I have space to expand the array and provisions for adding a second buffer tank. If I do, I don’t want to rebuild the controls.

That being said, they are bifacial panels on a ground array where temperatures drop to -20F, so on a cold sunny day the production should be pretty high. My base load when unoccupied is only a few hundred watts.