`SampledData` no longer allows a tunable buffer · Issue #272 · SciML/ModelingToolkitStandardLibrary.jl · GitHub
Skip to content

SampledData no longer allows a tunable buffer #272

Open

Description

@AayushSabharwal

As of MTKv9, parameter values are required to match their symtype. SampledData.buffer is updated to reflect this (in #271) but since it does not have a fixed size, it is marked as Constant and not Tunable.

Changing the definition to @parameters buffer[1:length(buffer)] would solve this issue, except ModelingToolkit.get_u0 scalarizes all default values, which causes varmap_to_vars to take very long for initialization.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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