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
Summary
Pass a minimum time step argument to
tagDifferentiableso models can conditionally set algebraic or differential based on their parameters and minimum promised time stepRationale
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