llahteinen

Results 11 comments of llahteinen

I'm glad that catsuperberg's problem was solved (ignore hysteresis at minimum and maximum temps). But I can definitely see why this feature is confusing (in the Graph curve at least,...

> "Yes", but the "steps" are not at fixed %. They are dynamically moving depending on the input. > Yeah, I think this is true. > Goal is, if you...

I made a repo for it and invited you. The HysteresisStepped class imitates your current implementation. The Hysteresis class is the new implementation. You can test both using gui-main.py or...

Yes you are right. But the same is true in the old implementation too. You will only hit the max and min temps randomly, if the previous changed happened exactly...

That's some nice graphs! You should set 0.5 * hysteresis setting for the continuous implementation for them to be comparable. In those graphs it's effective hysteresis is 2x compared to...

I will draw you a graph that explains it. But basically the reason is that the stepped one always catches right on top of the input value when a change...

![Image](https://github.com/user-attachments/assets/306c823e-e94c-44d2-831f-380163be99db) Here's the comparison, I think it should be quite clear. The stepped hysteresis is set to 6 in this plot and it's trend lags 3 behind the direct out...

I'm not sure if I'm following anymore. Those two implementations behave and respond differently, because that is the whole point. You will never get the same behavior out of them,...

Thanks for a clear and well written reply. I think we are getting on the right track now. > In the context of fancontrol, the whole premise of the hysteresis...

![Image](https://github.com/user-attachments/assets/7d83b93c-4a68-4a22-9c3b-7d8c2619f86b) The FC current and my first implementation again. The pink lines illustrate the area when my implementation has more hysteresis than the FC one, corresponds to your cumulated error...