how can I overcome on algebraic loop in simulink
    14 views (last 30 days)
  
       Show older comments
    
    Rashed HD
 on 26 Mar 2020
  
    
    
    
    
    Commented: Komal
 on 4 Feb 2024
            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 Comments
Accepted Answer
  Dr. Pemendra Kumar Pardhi
      
 on 29 Mar 2020
        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;
- Double click to PV array > advanced > check to check box in break algebric loop in internal model
- 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 Comments
More Answers (1)
  Divya Yerraguntla
    
 on 31 Mar 2020
        Hi Rashed,
- This issue might occur when you are using the integrator block with 0 initial condition, try changing the initial condition to 0.0000001 instead.
- 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 Comments
  ATHIRA E R
 on 13 Jun 2020
				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?
Communities
More Answers in the Power Electronics Control
See Also
Categories
				Find more on Power and Energy Systems in Help Center and File Exchange
			
	Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!


