Assert


Assert
provides a convinient means for specifying checks on model validity within a model. The assert-expression in an assert equation should normally evaluate to true. A failed assertion, i.e. when the expression evaluates to false, should be reported back to the user in some way that is dependent on the simulation tool.




1 Simulation of AssertTest

Here the simulation of the AssertTest is shown. The variables can then be plotted below.