Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Hysteresis 0 - Heating not stopped #105

Closed
Imaginous opened this issue Dec 9, 2024 · 17 comments
Closed

Hysteresis 0 - Heating not stopped #105

Imaginous opened this issue Dec 9, 2024 · 17 comments
Labels
question Further information is requested Stale

Comments

@Imaginous
Copy link

Imaginous commented Dec 9, 2024

My Intergas Xtreme 30 heater slowly goes into a "thermal runaway" because it's running at modulation level 0% but still producing too much heat.

However the thermostat was set to 19.5 degrees and the current room temperature is also at 19.5 degrees.
I set the hysteresis degrees to 0, I was expecting that when the desired temperature was reached it would stop heating.
But it doesn't.

My possible solutions:

  1. If hysteresis is set to 0, directly stop heating when set temperature is reached.
  2. If the desired temperature is reached but the current temperature is (slowly) "running away" from the setpoint temperature (or more then 1 degree off) then stop heating.

I wonder what your point of view is on this "feature".

Running the latest V1.50 build.

@Laxilef
Copy link
Owner

Laxilef commented Dec 9, 2024

Hi,

For hysteresis to work you must set the value to be greater than 0.
0 = disabled

@Imaginous
Copy link
Author

I don't want any hysteresis, set it to 0.
I expect that the OTGateway will stop heating as soon as it hits the set temperature.

This doesn't happen.

@Laxilef
Copy link
Owner

Laxilef commented Dec 9, 2024

It doesn't work like that.

@Laxilef
Copy link
Owner

Laxilef commented Dec 9, 2024

You must correctly adjust the coefficients for pid/equitherm (which is used). Hysteresis should not be used instead.

@Laxilef Laxilef added the question Further information is requested label Dec 10, 2024
@Imaginous
Copy link
Author

I will do some more tuning.

When does the system decide to stop heating, when the Equitherm or PID setpoint is below the minimum temperature of the heater?

@Laxilef
Copy link
Owner

Laxilef commented Dec 10, 2024

The boiler will automatically switch off the burner when the heat carrier temperature is above the setpoint.

The regulators do not stop the heating, they calculate the temperature of the heat carrier.

Hysteresis is needed to stop heating when exposed to external factors, such as solar heating, etc.

@Imaginous
Copy link
Author

I'm still missing something. I'm using Equitherm and PID.
If I understand correctly when the Equitherm is at the desired setpoint the PID will creep to it's low value. In my case -5 degrees.
To excaggerate the situation I have put the positive value on +15.

When the Equitherm is balanced out the PID still adds the +15 instead of creeping to -5.

How can I determine the PID in this case?

pid

@DallasJWilm
Copy link

DallasJWilm commented Dec 14, 2024

I just upgraded to 1.5.0, so I could be wrong, but if it is anything like the previous versions, the setpoint is WATER setpoint, NOT room setpoint. So probably what is happening is the boiler sees the call for heat (b/c Heat = enable), but is trying to limit the water temp (which it can't because in your case air temp = water temp). For my Rinnai boiler, it turns the burner off and just cycles on to ~0% mod, to off and back and forth when that happens. Apparently your boiler throttles to minimum modulation but keeps running.

For my case, heating concrete in a garage, I wanted to limit the cycling of the burner turning on and off. So I had Home Assistant set water temp to + 30 deg F from room temp, then command flame = on/ Heat = enable for heat, and then command flame = off/ Heat =disable to turn off heat. This way I do not have constant burner on/off cycling. This was working, but for some reason lately I am having wi-fi reliability issues, so Home Assistant cannot get its commands to the ESP32 to tell it heating = enable/ heating = disable.

I believe OP's question/issue is related to a feature request of mine (and I think the same or similar to what you are asking for, OP): Have the ability to tie Heating Enable to the indoor room temperature. ESP32 thermostat is then a room temperature thermostat. In my case, water temp would be a constant and heating = enable is based on room temperature. This way, I would not be at the mercy of the wi-fi connection with home assistant to control the room temperature.

For your PID question, i'd say you should reduce how aggressive integral is, most likely. (I don't recall whether that is a larger number or smaller number). Better yet, eliminate integral first, proportional only, ensure you dont have cycling issues, and then slowly started to add a small amount of integral. It sounds like your integral is "wound up." You can confirm this by seeing if when room temp > water temp, the water temp setpoint eventually lowers over time.

@Laxilef
Copy link
Owner

Laxilef commented Dec 15, 2024

@Imaginous, when using Equitherm + PID, Equitherm simply calculates the heat carrier temperature based on the outdoor temperature. PID additionally adjusts the heat carrier temperature until the indoor temperature is equal to the setpoint. The influence of the PID on the heat carrier temperature is limited by the minimum and maximum PID temperature settings.
Accordingly, when the indoor temperature is higher than the setpoint, the PID will decrease the temperature of the heat carrier. And increase it when the indoor temperature is lower than the setpoint.

@Laxilef
Copy link
Owner

Laxilef commented Dec 15, 2024

@DallasJWilm, enable and configure Equitherm or PID to regulate indoor temperature.

@DallasJWilm
Copy link

Hi Laxilef,

Thanks, I do realize that equitherm and pid will regulate temperature. I’d just like the ability to have heat enable be able to be set true/false based on indoor temperature. I think this may help the OP also. In any case, this is great software that gave me great insights to my boiler and I appreciate your hard work!

@Laxilef
Copy link
Owner

Laxilef commented Dec 15, 2024

Hi @DallasJWilm,
Well, you can create automation in your home assistant that will turn on/off the heating depending on the indoor temperature

@DallasJWilm
Copy link

Thanks, I did do that. It was working well until a couple weeks ago when wi-fi started dropping out and then HA couldn't reach it. Signal is only about 55% or so, so that could be the problem. I also tried upgrading to 1.5 to see if that has any effect.

@Laxilef
Copy link
Owner

Laxilef commented Dec 15, 2024

Is this a normal signal level, maybe the problem is something else? Try using static IP instead of DHCP

@DallasJWilm
Copy link

Yes, that is about normal. I already had a DHCP reservation, but I will try static.

Copy link
Contributor

This issue is stale because it has been open 15 days with no activity. Remove stale label or comment or this will be closed in 5 days.

@github-actions github-actions bot added the Stale label Dec 31, 2024
Copy link
Contributor

github-actions bot commented Jan 5, 2025

This issue was closed because it has been stalled for 5 days with no activity.

@github-actions github-actions bot closed this as not planned Won't fix, can't repro, duplicate, stale Jan 5, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested Stale
Projects
None yet
Development

No branches or pull requests

3 participants