"Input arguments must contain positive integers" when trying to tune a pid controller
4 次查看(过去 30 天)
显示 更早的评论
Hi
I'm trying to simulate a microgrid system in simulink which contains PV generation systems. I have designed voltage regulators for the three phase inverters connecting the PVs to the grid. Whenever I try to tune the pid controllers in the voltage regulators using the tune button in the pid interface I get an error message saying "input arguments must contain positive arguments". I don't know how or what to do with this issue. Please help. Thanks
0 个评论
回答(1 个)
Andreas Goser
2011-12-6
At least one of your blocks expects parameters or an input signal that needs to be integer and / or positive, depending on which error message you uses is correct. Typically, the error messages in Simulink or the command window point you to the path of the block. Next step is to verify the parameters and lastly the input signals.
0 个评论
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 PID Controller Tuning 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!