Step Input in "par" port in LPV block
조회 수: 1 (최근 30일)
이전 댓글 표시
Hello,
I am designing a wind turbine controller in simulink. I am using the "Adaptive MPC" block. To adjust the internal MPC model, I am using a LPV block that has several SS models of the wind turbine.
These models correspond to several wind speed values, so the LPV input port "par" is the wind speed.
This setup works very well with "normal" (i.e. varying) wind speed inputs. However, I need to test my controller with a step wind input. When I use a step input in "par", the LPV block is not adjusting the MPC internal model.
I am using simulink and matlab version 2024b. I saw this in matlab site: "The LPV System block now ignores singleton dimension and constant parameters in the sampling grid of the input model array. Therefore, you must not feed the parameters, that is, the fields of the SamplingGrid structure with constant values to the par port of the block. Use only the varying fields with this port." Since I have a step, the input to par changes (is not always constant). I don't understand why it is not working and I find it weird that the LPV block does not work with step inputs. I already tried filtering the step input or adding noise to it. I also tried using ramp inputs to par instead of the step, but none of this works.
Can someone give me any ideas in how to tackle this problem?
Thanks a lot!
Best regards,
Joana
댓글 수: 1
Swastik Sarkar
2024년 10월 24일
Is it possible to share the model to help with a better understanding of the problem?
답변 (0개)
참고 항목
카테고리
Help Center 및 File Exchange에서 Adaptive MPC Design에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!