Effacer les filtres
Effacer les filtres

Breaker operation error in parallel solar system

3 vues (au cours des 30 derniers jours)
jaehan Kim
jaehan Kim le 26 Août 2023
Modifié(e) : jaehan Kim le 26 Août 2023
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.

Réponse acceptée

Daniel
Daniel le 26 Août 2023
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 commentaire
jaehan Kim
jaehan Kim le 26 Août 2023
Modifié(e) : jaehan Kim le 26 Août 2023
It works normally after using a saturation block. Thank you for your help.

Connectez-vous pour commenter.

Plus de réponses (0)

Catégories

En savoir plus sur Nonlinear Operators dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by