Samsung ASHP schedu...
 
Notifications
Clear all

Samsung ASHP scheduling help

232 Posts
24 Users
27 Reactions
37.2 K Views
cathodeRay
(@cathoderay)
Famed Member Moderator
9909 kWhs
Joined: 3 years ago
Posts: 1994
 

Posted by: @iancalderbank

I am now able (via modbus , from HA) to control the target LWT directly

As I think you know, I am planning to do something similar (control via modbus, using python plus minimalmodbus) with my Midea heat pump. Just a thought: I was going to directly set the LWT as well, but it then occurred to me the internal Midea controls may constantly over-ride my set LWT, perhaps better, if you can, to set the weather compensation curve end points, just as if you had done it manually, then the heat pump internals will just operate as if you had set it manually, and set an appropriate LWT.     

Midea 14kW (for now...) ASHP heating both building and DHW


   
ReplyQuote
(@iancalderbank)
Noble Member Contributor
3665 kWhs
Joined: 2 years ago
Posts: 643
 

@cathoderay yeah good idea, but samsung doesn't have modbus registers for the WC points (yes I know derek will say "ah thats just because they are undocumented") but... I have no idea what they would be if they did exist!

also, I've noticed that with my physical setup the HP's OAT sensor is very sensitive to whether the HP is on or not. It seems to picks up a bit of draught no matter which way I align it. so I lose up to 1C of "OAT as viewed by the HP" when the HP is running. which of course you'd expect to alter the WC temp calculated by the HP itself. So I may calculate an average OAT over the last X mins using an external sensor or three rather than relying wholly on the samsung outdoor unit's OAT.

FYI I will probably start writing my (shoddy, because I'm not a s/w engineer) attempt at a control system in NodeRed. HA's native automation scripts, I freely admit, are not the easiest to work with.

My octopus signup link https://share.octopus.energy/ebony-deer-230
210m2 house, Samsung 16kw Gen6 ASHP Self installed: Single circulation loop , PWM modulating pump.
My public ASHP stats: https://heatpumpmonitor.org/system/view?id=45
11.9kWp of PV
41kWh of Battery storage (3x Powerwall 2)
2x BEVs


   
ReplyQuote
cathodeRay
(@cathoderay)
Famed Member Moderator
9909 kWhs
Joined: 3 years ago
Posts: 1994
 

Posted by: @iancalderbank

samsung doesn't have modbus registers for the WC points

That's a pity. Luckily the Midea manual does document the registers to set (and get) the weather comp curve endpoints (complete with typos), and a quick test earlier in the year confirmed modbus could be used to set them. @derek-m may have a point (when he does chip in and say it is there but undocumented on the Samsung because Homely can be used to control a Samsung, and I suspect it will do it by changing the WCC set points). You could also try to find the addresses empirically, if you know what the WCC is set to from the Samsung controller, then look for an address that contains that value, change it manually and check again. A quick and dirty python loop could do the 'gets' (for a in 0 to 100 get address(a) sort of thing).

Posted by: @iancalderbank

HP's OAT sensor is very sensitive to whether the HP is on or not.

Isn't this a general effect, the ambient air around a heat pump is cooler when it is running? I'm considering, but haven't yet implemented, and third party OAT sensor placed away from the heat pump for just the same reason.

Posted by: @iancalderbank

HA's native automation scripts, I freely admit, are not the easiest to work with.

Maybe time to watch out for a knock on the door from the HA Inquisition. They don't suffer heretics gladly, as I know only too well...

 

     

Midea 14kW (for now...) ASHP heating both building and DHW


   
ReplyQuote



(@derek-m)
Illustrious Member Member
15283 kWhs
Veteran Expert
Joined: 4 years ago
Posts: 4429
 

Posted by: @iancalderbank

@cathoderay yeah good idea, but samsung doesn't have modbus registers for the WC points (yes I know derek will say "ah thats just because they are undocumented") but... I have no idea what they would be if they did exist!

also, I've noticed that with my physical setup the HP's OAT sensor is very sensitive to whether the HP is on or not. It seems to picks up a bit of draught no matter which way I align it. so I lose up to 1C of "OAT as viewed by the HP" when the HP is running. which of course you'd expect to alter the WC temp calculated by the HP itself. So I may calculate an average OAT over the last X mins using an external sensor or three rather than relying wholly on the samsung outdoor unit's OAT.

FYI I will probably start writing my (shoddy, because I'm not a s/w engineer) attempt at a control system in NodeRed. HA's native automation scripts, I freely admit, are not the easiest to work with.

Well done Ian.

If you can actually write to the Target LWT register, and it retains the setting, then this would probably be easier than modifying the WC curve settings.

What is the resolution of the register, does it only accept integers or can you set a decimal place or two?

If you need any help in developing suitable control equations I may be able to assist.

 


   
ReplyQuote
cathodeRay
(@cathoderay)
Famed Member Moderator
9909 kWhs
Joined: 3 years ago
Posts: 1994
 

Posted by: @derek-m

and it retains the setting

I think that is going to be the problem - won't the internal Samsung control circuits constantly set the LWT to what it thinks it should be, and so over-ride any other externally set setting? In practice, it should be easy enough to see whether this happens, set the LWT over modbus yo something different enough to be obvious, and see whether it stays the same, or changes. 

Midea 14kW (for now...) ASHP heating both building and DHW


   
ReplyQuote
(@derek-m)
Illustrious Member Member
15283 kWhs
Veteran Expert
Joined: 4 years ago
Posts: 4429
 

Posted by: @cathoderay

Posted by: @derek-m

and it retains the setting

I think that is going to be the problem - won't the internal Samsung control circuits constantly set the LWT to what it thinks it should be, and so over-ride any other externally set setting? In practice, it should be easy enough to see whether this happens, set the LWT over modbus yo something different enough to be obvious, and see whether it stays the same, or changes. 

Also try the same test with the controller in fixed LWT mode.

 


   
ReplyQuote
(@iancalderbank)
Noble Member Contributor
3665 kWhs
Joined: 2 years ago
Posts: 643
 

@cathoderay @derek-m  thats exactly what I did already - that is in fact the only way this works. you change the configuration of the HP so that it is in fixed LWT mode - i.e. turn off WC, then it retains the LWT setting that you write by modbus. the target LWT is exactly what I tell it to be. tested this afternoon. not sure about the resolution yet.

My octopus signup link https://share.octopus.energy/ebony-deer-230
210m2 house, Samsung 16kw Gen6 ASHP Self installed: Single circulation loop , PWM modulating pump.
My public ASHP stats: https://heatpumpmonitor.org/system/view?id=45
11.9kWp of PV
41kWh of Battery storage (3x Powerwall 2)
2x BEVs


   
ReplyQuote
cathodeRay
(@cathoderay)
Famed Member Moderator
9909 kWhs
Joined: 3 years ago
Posts: 1994
 

Posted by: @iancalderbank

it is in fixed LWT mode - i.e. turn off WC, then it retains the LWT setting that you write by modbus. the target LWT is exactly what I tell it to be

That makes sense, and then you set up your own adaptive WCC. It will be very interesting to have feedback on how you get on.

Midea 14kW (for now...) ASHP heating both building and DHW


   
ReplyQuote
(@iancalderbank)
Noble Member Contributor
3665 kWhs
Joined: 2 years ago
Posts: 643
 

 I'm expecting adding simple WCC to this to be mathematically trivial - its should just a case of calculate the value of a point on a straight line, then send that value to the target LWT. The "adaptive" part will be the interesting bit!

the first thing I am tempted to have a go at is an anti-short(ish)-cycling control. having just put the heating on last week, I now have several runs with low LWT (33C) in mild weather (12C), its clear that the system cycles because the min output of the HP (about 3kw) is higher than the emitter output at this LWT  (2 - 2.5 kw), so the actual LWT inevitably goes higher than the target LWT, and so the compressor switches off, waits long enough for the actual LWT to cool down, then comes on again. I'm seeing cycles with an 8-10 min periodicity.

image

my thought was to do this

- when the compressor OFF period starts  (detected by electrical load drops to the standby level) decrease the target LWT by N degrees C (intended effect is that the OFF period lasts longer because it waits longer - for an additional N degrees of cooldown - to come back on)

-after the initial 2 mins of the compressor ON period (that seems to be how long the compressor startup electrical load takes to drop off), increase the target LWT by N degrees C (intended effect is that the ON period lasts longer)

with the objective being to make the more efficient behaviour seen in the first 40 minutes , be present in the subsequent cycles. N is unknown at this point of course, that'll be the experiment. note that during all this period heat demand = ON as measured by target vs actual IAT, we're not going to be using that as a means to control cycling as its changing very slowly.

 

The other thing I want to try is a "slow run up" at DHW. when the system goes into the factory DHW mode it sets the target LWT immediately very high and runs the compressor flat out with high electrical power, as we all know.  I want to try 1) move the 3 way valve to DHW but not put the system in DHW mode , still in CH mode but the flow is going to the DHW 2) increase target LWT from the low level (32C say) slowly, perhaps 1C every minute , until after 25 mins we're at 55C ish target LWT - and see what the difference is

thoughts?

My octopus signup link https://share.octopus.energy/ebony-deer-230
210m2 house, Samsung 16kw Gen6 ASHP Self installed: Single circulation loop , PWM modulating pump.
My public ASHP stats: https://heatpumpmonitor.org/system/view?id=45
11.9kWp of PV
41kWh of Battery storage (3x Powerwall 2)
2x BEVs


   
ReplyQuote



(@derek-m)
Illustrious Member Member
15283 kWhs
Veteran Expert
Joined: 4 years ago
Posts: 4429
 

@iancalderbank

You are indeed correct, calculating the required LWT from the OAT reading is a simple mathematical formula. I would suggest that you incorporate the WCC settings as individual variables within operating program, so that it will be an easy process to vary the underlying curve.

I would recommend using a Proportional Action (P) and Integral Action (I) solution for adaptive control, details of which I have posted previously, but can do so again if required.

Your idea to reduce cycling frequency sounds similar to my suggestion of using a basic thermostat to start and stop the heat pump. Rather than using a thermostat, you should be able to use the IAT reading from your sensor and set operating limits around the desired indoor temperature setting. Something along the lines of:-

If the IAT is 0.5C below the desired temperature setting, set the required LWT at the value required to run the heat pump at constant minimum output.

If the IAT is 0.5C above the desired temperature setting, set the required LWT at a value that will ensure the compressor does not run.

Obviously it will be necessary to try different values of LWT to obtain the optimum running parameters.


   
ReplyQuote
(@redzer_irl)
Trusted Member Member
561 kWhs
Joined: 2 years ago
Posts: 37
 

Posted by: @iancalderbank

The other thing I want to try is a "slow run up" at DHW. when the system goes into the factory DHW mode it sets the target LWT immediately very high and runs the compressor flat out with high electrical power, as we all know.  I want to try 1) move the 3 way valve to DHW but not put the system in DHW mode , still in CH mode but the flow is going to the DHW 2) increase target LWT from the low level (32C say) slowly, perhaps 1C every minute , until after 25 mins we're at 55C ish target LWT - and see what the difference is

Are you on a variable rate electricity tarrif? I have 3 hours of cheap overnight electricity (2am -5am) and during this period I want to:

  • Heat the underfloor area of my home to a higher than normal temperature (22-23°C)
  • Heat the DHW to a higher than normal temperature (55°C)

I have set the heat pump to run a DHW cycle for maximum of 60 minutes which leaves 2 hours for underfloor (and during very cold periods, downstairs radiators). 

In my situation, I think the optimised DHW heating cycle would be useful during the day, but during the cheap window, I would possibly still want the DHW cycle to run flat out, especially when it is cold outside.


   
ReplyQuote
(@iancalderbank)
Noble Member Contributor
3665 kWhs
Joined: 2 years ago
Posts: 643
 

@redzer_irl yes on Intelligent Octopus. so 6 hrs cheap. I run the DHW during this period in the winter. I'm just interested to see how the DHW cycle behaves if the target LWT is slowly wound up rather than set to max from the go i.e. to answer the questions is the cop better or worse? overall energy use? reheat time?

My octopus signup link https://share.octopus.energy/ebony-deer-230
210m2 house, Samsung 16kw Gen6 ASHP Self installed: Single circulation loop , PWM modulating pump.
My public ASHP stats: https://heatpumpmonitor.org/system/view?id=45
11.9kWp of PV
41kWh of Battery storage (3x Powerwall 2)
2x BEVs


   
ReplyQuote
Page 15 / 20
Share:

Join Us!

Heat Pump Dramas?

Thinking about installing a heat pump but unsure where to start? Already have one but it’s not performing as expected? Or are you locked in a frustrating dispute with an installer or manufacturer? We’re here to help.

Pre-Installation Planning
Post-Installation Troubleshooting
Performance Optimisation
✅ Complaint Support (Manufacturer & Installer)

👉 Book a one-to-one consultation now.

Latest Posts

x  Powerful Protection for WordPress, from Shield Security
This Site Is Protected By
Shield Security