How can I resolve an electrical/Solver Configuration' error

12 views (last 30 days)
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 Comments
Alex Alex
Alex Alex on 14 May 2021
Sorry, i was sleep. Use electrical sensor for transmite to PS block

Sign in to comment.

Answers (0)

Products


Release

R2020b

Community Treasure Hunt

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

Start Hunting!