PID simulation for heating with heat pump
19 views (last 30 days)
Show older comments
How can I simulate the operation of the heating system? I also have data from the influxDb database for the setpoint temperature and the current temperature measured in the room. I also have the output from the PID regulator from 0 to 1 entered in the database, which is now set to some arbitrary values.
What is the best way to simulate the system and find the most appropriate PID parameters?
0 Comments
Answers (1)
Sam Chak
on 23 Nov 2023
Hi @Branko
What is the best way to simulate the system and ...
If you are a newbie, I'd recommend modeling the system in Simulink because it allows you to monitor the signal at each output of the block.
... find the most appropriate PID parameters?
Simulation assumes that you need to describe the system using a mathematical model. Whether it accurately represents the real physical phenomena or not is a different story. However, if the mathematical model is fairly accurate and the predicted result is acceptable to the design engineers and stakeholders, then you can apply some control design tools, as taught in the textbooks, to analytically determine the P, I, D parameters that satisfy the performance requirements.
Alternatively, you can use the PID Autotuner to adjust the PID gains for you. If the results are unsatisfactory, you can tweak some tuning parameters and then run the tuning process again.
3 Comments
Sam Chak
on 24 Nov 2023
Hi @Branko
These are just general advice and guidance based on what you originally asked. Currently, @William Rose is providing guidance to a forum user on how to apply the system identification technique to obtain the transfer function of the plant, which is also a thermal system. The link is given below:
Consider closing this question and then posting a new question with specific details, or editing your question for more details on the thermal system with heat pump.
See Also
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!