Skip to content

Set state priority from outside of component definition #2001

Open
@baggepinnen

Description

@baggepinnen

The state_priority property can be set when creating a variable, but I'm not aware of any good way to select state priorities when, e.g., linearizing a system that is composed out of MTKstdlib components. Certain applications would benefit from control over what states are selected, for example optimal control, MPC and linearization. It is also inconvenient that the states that are selected by MTK changes between releases, since the varmap that has to be supplied changes.

It would also be nice if MTK would figure out the initial conditions of some variables based on the conditions provided for other variables if possible.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions