how can I overcome on algebraic loop in simulink

조회 수: 38 (최근 30일)
Rashed HD
Rashed HD 2020년 3월 26일
댓글: Komal 2024년 2월 4일
I faced error in simulink when I use PV-block that located in renewable library which developed by mathworks team- with inverter (power electronic) with powergui block (discrete mode time =1e-6) and the PWM in the inverter (5Khz)
I tried to install memory block and unit delay block around the error area which is in ( PV Array/Diode Rsh/Product5 ) but it doesn't work still the same problem
I tried to minimize the sampling time in powergui from 1e-6 to 1e-8 , it works but it takes very very long time even if the simulation stop time is 0.1 unit time
if anybody can helps me .... please i'm trouble
  댓글 수: 2
Divya Yerraguntla
Divya Yerraguntla 2020년 3월 30일
Is the issue resolved with the provided solution?
Rashed HD
Rashed HD 2020년 3월 30일
yes the algebraic loop resolved but another error poped up which is the following
(
An error occurred while running the simulation and the simulation was terminated
Caused by:
  • Derivative of state '1' in block 'xxxxxx/PV three phase inverter/Mean/Model/integrator' at time 1.0 is not finite. The simulation will be stopped. There may be a singularity in the solution. If not, try reducing the step size (either by reducing the fixed step size or by tightening the error tolerances) )

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

채택된 답변

Pemendra Kumar Pardhi
Pemendra Kumar Pardhi 2020년 3월 29일
Dear,
Rashed,
Basialy algebric loop error occure in simulink model whenever zero is come in denomenator part of any function.
To ovecome the algebric loop error in simulink model due to -: PV Array/Diode Rsh/Product5.
follow two steps;
  1. Double click to PV array > advanced > check to check box in break algebric loop in internal model
  2. Go on the model configuration parameter model> zero crosing options > Zero-crossing control: Disable all
In this way your problem will be solved.
Thanks
Pemendra Kumar Pardhi
  댓글 수: 2
Rashed HD
Rashed HD 2020년 3월 30일
thanks for your help Mr.Pemendra Kumar Pardhi algebraic loop error has resolved
but i'm concern if that method will affect the model results quality ?
also, there is another error has poped up which is the following
(
An error occurred while running the simulation and the simulation was terminated
Caused by:
  • Derivative of state '1' in block 'xxxxxx/PV three phase inverter/Mean/Model/integrator' at time 1.0 is not finite. The simulation will be stopped. There may be a singularity in the solution. If not, try reducing the step size (either by reducing the fixed step size or by tightening the error tolerances) )
please if you can help
Komal
Komal 2024년 2월 4일
try changing the powergui to continous

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

추가 답변 (1개)

Divya Yerraguntla
Divya Yerraguntla 2020년 3월 31일
Hi Rashed,
  1. This issue might occur when you are using the integrator block with 0 initial condition, try changing the initial condition to 0.0000001 instead.
  2. Else, you could also try changing the Solver to ODE15s (stiff/NDF) under the Type : Variable Step in the Model Configuration Parameters/Solver/Solver Options
Hope it helps!
  댓글 수: 2
Rashed HD
Rashed HD 2020년 3월 31일
Dear Mr. Divya Yerraguntla
thank you so much for your help, interest and patiance
but i tried this methoed many time and i tried to change solver types but it does not work also i tried to play with sampling time when i puted 1e-3 or lesser like 1e-4,1e-6 it gave the same pervious error (integerator ..... etc) while when i puted the sampling time greater than 1e-3 like 0.1 , 0.5 or 1 the simulation has worked for time 0.017 and it freezed without any progess i wait for more than 30 minutes but still the simulation time 0.017 no progress and no errors
what do yo suggest to solve ..... if you can help this will be highly appreciated
for contacts :rashed_rhm@hotmail.com
ATHIRA E R
ATHIRA E R 2020년 6월 13일
Hi Sir,
I also followed the above steps and Im getting tha same error menioned above by RASHED MD. Can you help me to fix that error?

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

커뮤니티

더 많은 답변 보기:  Power Electronics Community

카테고리

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

Community Treasure Hunt

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

Start Hunting!

Translated by