How do I address issue with width and dimension of PI i simulink
2 views (last 30 days)
Show older comments
I am working on validating a model for my project, the simulink built and return two (2) errors similar to each other as written below
=== Simulation (Elapsed: 6 sec) ===
Error:Error in port widths or dimensions. 'Output Port 1' of 'Emma/PLL/Model/Continuous PID/Kp6' has 3 elements. This port does not accept the dimensions (or orientation) specified by the output signal.
Error:Error in port widths or dimensions. Invalid dimension has been specified for 'Input Port 1' of 'Emma/PLL/Model/Continuous PID/Transfer Fcn'.
2 Comments
Accepted Answer
Nikhil
on 5 Jul 2023
The error occurs because PLL block accepts only one sinusoidal signal as input. To use it for the case of three phase Voltages/Currents, you can use a PLL (3ph) block.
Refer to this documentation, for more information on the PLL block. Also, look into the example attached in the article, which showcases the use of PLL and PLL(3ph) blocks.
2 Comments
Boris
on 27 May 2025
Have you been able to tackle thet issue?
I've been having the same error, but I do not use the PLL block, I feedt the loaded data into an adder, which should handle any incoming vector.
More Answers (0)
See Also
Categories
Find more on Sources in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!