Breaker operation error in parallel solar system

조회 수: 2 (최근 30일)
jaehan Kim
jaehan Kim 2023년 8월 26일
편집: jaehan Kim 2023년 8월 26일
Five solar panels as shown in the following image are connected in parallel, and we designed a circuit on the right that receives the results of the logic circuits as input from the ideal switch and blocks them when overvoltage and overcurrent. It works well in normal situations where there is no cut-off, but an error occurs when a cut-off is made assuming an overcurrent or overvoltage condition.
May I know what the problem is?
An error occurred while running the simulation and the simulation was terminated
Caused by:
Component:Simulink | Category:Block error
The part of the element marked in blue in the error message.

채택된 답변

Daniel
Daniel 2023년 8월 26일
I woud guess that Rsh_array5pc is, at some point during the simulation, dropping to a value very near zero, such that the value of IRsh_5% approaches infinity. If you have an infinity term going into the sum, you'll have infinity leaving the sum, the input to your transfer function will be infinite, and you'll get that error.
The relevant concept here is that continuous state (such as the state in continuous transfer functions) is an integral, so the inputs to state can be viewed as derivatives. Thus, "Derivative of state '1'" can be read as "Input to internal state '1'", which is presumably also the input to the block. So you can read it as "Input to block <linked> is not finite" and then trace back.
You can probably solve the problem by putting a saturation block on the output of the divider, such that IRsh_5% is constrained to be between some appropriately large values, or by updating Rsh_array5pc so it never goes to 0. If Rsh_array5pc always carries the same sign you can do this with a Saturation block. Otherwise you can pull the sign out, saturate the magnitude, and put the sign back manually.
  댓글 수: 1
jaehan Kim
jaehan Kim 2023년 8월 26일
편집: jaehan Kim 2023년 8월 26일
It works normally after using a saturation block. Thank you for your help.

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

추가 답변 (0개)

카테고리

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

태그

Community Treasure Hunt

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

Start Hunting!

Translated by