Solving the SLOUGH in the model
The example concerns the use of the Algebraic Constraint block (AlgebraicConstraint) and its application to solving systems of linear algebraic equations.
In the example, we solve the equation:
To solve this equation using a model, you need to represent it as follows:
In [ ]:
engee.open("$(@__DIR__)/SolveALinearSystemOfAlgebraicEquationsExample.engee");
data = engee.run("SolveALinearSystemOfAlgebraicEquationsExample")
Out[0]:
Conclusion
The Algebraic Constraint block receives signals of the following type:
The block is configured to find conditions for compliance with the restriction . Search for a system solution to achieve the condition provides a solution and .