Model predictive controller (Time domain)?
조회 수: 3 (최근 30일)
이전 댓글 표시
jana nassereddine
2023년 5월 15일
답변: Emmanouil Tzorakoleftherakis
2023년 5월 23일
Hello everyone,
So I have a state space representation, with 2 inputs and 2 states= 2 ouputs; and one disturbance ( Pgeneration - Pdemand) acting on the model, now these disturbances are given by the hour (as shown in the pic above), but the model predictive controller in simulink uses time in second by defaut,
so what should I do?
1) should I make the time of MPC in simulink and the signal in matlab in hour unit? if yes, how? and if not is there another method?
just keep in mind that I need to have all the information on the picture, so what I mean by that is that I need to include all these data, all these fluctuations, so the signals must be given in Matlab in hour unit not seconds,
댓글 수: 0
채택된 답변
Emmanouil Tzorakoleftherakis
2023년 5월 23일
Why don't you just use a larger sample time as you say? You can set it as long as you need it to be in seconds
댓글 수: 0
추가 답변 (0개)
참고 항목
카테고리
Help Center 및 File Exchange에서 Model Predictive Control Toolbox에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!