You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi, I am learning ACADO. I wrote a simple code to simulate a thermostat control. The problem si basically minimize the cost of running a heater subject to two reference temperatures (xl and xu), i.e., a lower and upper desired setting. I have a cost of utilizing the heater, inequality constraints on the control, external temperature, initial conditions on the temperature and control and a simple model for the dynamics of heat transfer. The time horizon is 24.
I'll appreciate if you can give some tips how and where to improve the performance of the code
The same code in scipy optimize works great but in ACADO is taking an impressively huge amount to time to finish. So definitely the way I am coding it must be bogus (although it compiles and seems to be optimizing).
The text was updated successfully, but these errors were encountered:
Hi, I am learning ACADO. I wrote a simple code to simulate a thermostat control. The problem si basically minimize the cost of running a heater subject to two reference temperatures (xl and xu), i.e., a lower and upper desired setting. I have a cost of utilizing the heater, inequality constraints on the control, external temperature, initial conditions on the temperature and control and a simple model for the dynamics of heat transfer. The time horizon is 24.
I'll appreciate if you can give some tips how and where to improve the performance of the code
This is the code:
The same code in scipy optimize works great but in ACADO is taking an impressively huge amount to time to finish. So definitely the way I am coding it must be bogus (although it compiles and seems to be optimizing).
The text was updated successfully, but these errors were encountered: