How can I resolve an electrical/Solver Configuration' error

53 ビュー (過去 30 日間)
Arthur Haynes
Arthur Haynes 2021 年 4 月 11 日
コメント済み: Arthur Haynes 2021 年 5 月 18 日
Hello,
This model has been tested in parts and runs until I add the signal to the input of the PID. I get the following errors.
Due to some optimizations, Simulink may not be able to highlight the section of the loop containing 'electrical/PID Controller (2DOF)/D Gain/Internal Parameters'. [6 similar]
Component:Simulink | Category:Block warning 'electrical/Solver Configuration' or the model referenced by it contains a block that updates persistent or state variables while computing outputs and is not supported in an algebraic loop. It is in an algebraic loop with the following blocks.
Component:Simulink | Category:Model error Input ports (1, 2) of 'electrical/Solver Configuration' are involved in the loop.
Component:Simulink | Category:Model error Input ports (2) of 'electrical/PID Controller (2DOF)/Sum3' are involved in the loop.
Component:Simulink | Category:Model error Input ports (1) of 'electrical/PID Controller (2DOF)/D Gain/Internal Parameters/Derivative Gain' are involved in the loop.
Component:Simulink | Category:Model error Input ports (1) of 'electrical/PID Controller (2DOF)/Filter/Cont. Filter/SumD' are involved in the loop.
Component:Simulink | Category:Model error Input ports (1) of 'electrical/PID Controller (2DOF)/N Gain/Internal Parameters/Filter Coefficient' are involved in the loop.
Component:Simulink | Category:Model error Input ports (2) of 'electrical/PID Controller (2DOF)/Sum1' are involved in the loop.
Component:Simulink | Category:Model error Input ports (1) of 'electrical/PID Controller (2DOF)/Parallel P Gain/Internal Parameters/Proportional Gain' are involved in the loop.
Component:Simulink | Category:Model error Input ports (1, 3) of 'electrical/PID Controller (2DOF)/Sum/Sum_PID/Sum' are involved in the loop.
Component:Simulink | Category:Model error Input ports (1) of 'electrical/Solver Configuration' are involved in the loop.
  4 件のコメント
Alex Alex
Alex Alex 2021 年 5 月 14 日
Sorry, i was sleep. Use electrical sensor for transmite to PS block
Arthur Haynes
Arthur Haynes 2021 年 5 月 18 日
Hello Alex - I see two Electrical Sensors.
Thank you that solved the problem

サインインしてコメントする。

回答 (0 件)

製品


リリース

R2020b

Community Treasure Hunt

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

Start Hunting!

Translated by