How do I address issue with width and dimension of PI i simulink

2 views (last 30 days)
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'.

Accepted Answer

Nikhil
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.
Additionally refer to this article for information on PLL(3ph) block.
  2 Comments
Manasseh Shitta
Manasseh Shitta on 5 Jul 2023
I appreciate it Nikhil, I would try it out and give you feedback. Thank you
Boris
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.

Sign in to comment.

More Answers (0)

Tags

Products

Community Treasure Hunt

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

Start Hunting!