+4 votes
61 views
by Dimitrije Jelic (19 points)

I have a simple model consisting of an Integrator and Comparator components, as presented in the Figure below:

However, when I try to compile the model, I get the following error:

Validation was not completed successfully!

Algebraic loop detected:

1) Integrator

2) Comparator

1 Answer

+1 vote
by Dimitrije Jelić (82 points)
selected by Dimitrije Jelić
 
Best answer

Greetings,

As explained in the documentation, an Algebraic loop is a set of components that form a loop where an output of each component is connected to a direct feedthrough input of the next one. In the case of the model in the figure you attached, the Integrator and comparator ports are both direct feedthrough and, as such, form an algebraic loop.

To fix this, a simple Unit delay component should be added between the Integrator and the comparator.

Welcome to the Typhoon HIL user forum. Please check self-service support resources before posting a question.

HIL Specialist 2.0 courses
Documentation
Knowledgebase
Video support on demand
Youtube tutorials

For subscription-based support visit Typhoon HIL Support Center
...