필터 지우기
필터 지우기

variable cost function MPC toolbox

조회 수: 1 (최근 30일)
Muhammad
Muhammad 2012년 5월 27일
Hi All, I have a MIMO syste, which I have developed in Simulink and I have also worked out the Model predictive control for it. Now I have a manipulated variable which I want to be used during night and remained turned off during day. I have tried but could not figure out how to do this in simulink Model Predictive Control Toolbox?
Any Ideas and help will be really appreciated..
Thanks in advance.
Regards Waseem

답변 (2개)

Kaustubha Govind
Kaustubha Govind 2012년 5월 29일
Your question is not entirely clear to me: "manipulated variable which I want to be used during night and remained turned off during day". What does it mean for a variable to be turned off? But I will start by recommending that you look into Conditional Subsystems.
  댓글 수: 2
Muhammad
Muhammad 2012년 5월 30일
Hi Kaustubha,
I mean that in my MPC controller I have an input which I want to turn ON during some part of the simulation. Let me explain you; That variable is electric energy, I want to turn that heater on during night as the tariffs are low and during day the controller should try to use solar energy and if the solar energy is not enough than it can turn on the electric heater. Hope this makes sense.
Looking forward to hearing from you.
Regards
Muhammad
Kaustubha Govind
Kaustubha Govind 2012년 5월 31일
Yes, I think you should look into conditional subsystems in that case.

댓글을 달려면 로그인하십시오.


Arkadiy Turevskiy
Arkadiy Turevskiy 2012년 6월 5일
MPC Controller block can be set with optional input/output limits.So you could enable those limits and have some logic in the rest of your model setting the limit to zero during the day and raising the limit to some very high value during the night.
Arkadiy

카테고리

Help CenterFile Exchange에서 Model Predictive Control Toolbox에 대해 자세히 알아보기

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by