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

조회 수: 2 (최근 30일)
Manasseh Shitta
Manasseh Shitta 2023년 6월 27일
댓글: Boris 2025년 5월 27일
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
Nikhil
Nikhil 2023년 6월 27일
Can you share the model to reproduce the issue?
Manasseh Shitta
Manasseh Shitta 2023년 6월 30일
@Nikhil See the model as requested for kind assistance

댓글을 달려면 로그인하십시오.

채택된 답변

Nikhil
Nikhil 2023년 7월 5일
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
Manasseh Shitta
Manasseh Shitta 2023년 7월 5일
I appreciate it Nikhil, I would try it out and give you feedback. Thank you
Boris
Boris 2025년 5월 27일
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.

댓글을 달려면 로그인하십시오.

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Sources에 대해 자세히 알아보기

태그

제품

Community Treasure Hunt

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

Start Hunting!

Translated by