Skip to content

Use one function in linearization #199

@1-Bart-1

Description

@1-Bart-1

Combining the functions f_x!, f_u! and f_d! into one function f_xud! before linearization would reduce the number of function calls needed for linearization, and thus increase performance. This would give one big jacobian, which can be split up into the A, Bu and Bd matrixes.

https://github.com/JuliaControl/ModelPredictiveControl.jl/blob/9e800029610c43f27a9ad915d3ca21797abcbadf/src/model/linearization.jl#L33C1-L35C87

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions