Solving an algebraic loop with state port
    8 visualizaciones (últimos 30 días)
  
       Mostrar comentarios más antiguos
    
    Christoph Klingspor
 el 12 de En. de 2016
  
    
    
    
    
    Respondida: Pavithra Ashok Kumar
    
 el 22 de En. de 2016
            I do have some problems regarding an algebraic loop caused by an integrator. The following picture displays the loop.

As you can see, theres an algebraic loop containing "Funktion Sv", "DGL Gierwinkelbeschleunigung" an "Integrator 2". The initial condition of the integrator is "0". The reset port is triggered, as soon as the variable v hits zero, so after that the output of the integrator should be and remain zero. This loop doesnt seem to cause any problems now, but i want to find a solution to avoid problems later on.
Does anyone has an good idea, how to solve my problem?
0 comentarios
Respuestas (1)
  Pavithra Ashok Kumar
    
 el 22 de En. de 2016
        I understand that you want to remove the algebraic loops in your model. THis can be removed either in many ways. Some of them are 1. Add a delay block depending on your model constraints. 2. Add memory blocks. For more information, refer here
0 comentarios
Ver también
Categorías
				Más información sobre Loops and Conditional Statements en Help Center y File Exchange.
			
	Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!

