AnyMath 文档
Notebook

求解模型中的SLOUGH

该示例涉及代数约束块(AlgebraicConstraint)的使用及其在求解线性代数方程组中的应用。

在示例中,我们求解方程:

要使用模型求解此方程,您需要将其表示如下:

In [ ]:
engee.open("$(@__DIR__)/SolveALinearSystemOfAlgebraicEquationsExample.engee");
data = engee.run("SolveALinearSystemOfAlgebraicEquationsExample")
Out[0]:
SimulationResult(
    run_id => 5,
    "z" => WorkspaceArray{Vector{Float64}}("SolveALinearSystemOfAlgebraicEquationsExample/z")

)
image.png

结论

代数约束块接收以下类型的信号:

块配置为查找符合所述限制的条件 . 搜索实现条件的系统解决方案 提供解决方案 .