Skip to content

Pass a minimum time step argument to tagDifferentiable #441

Description

@lukelowry

Summary

Pass a minimum time step argument to tagDifferentiable so models can conditionally set algebraic or differential based on their parameters and minimum promised time step

Rationale

If we ever allow a minimum time step to be set for IDA or use a fixed-time-step mode, we could run into stability issues with some models.

Description

If we ever allow the user to set a minimum or fixed time step, we want to be able to change a variable from differential to algebraic as Power World does for many models.

Related to #332

See #439 for the model that Power world conditionally sets algebraic based on the parameter and min time step

Additional information

PowerWorld does this, and it's common for many models with time constants

Metadata

Metadata

Assignees

No one assigned

    Labels

    questionFurther information is requested

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions