Skip to content

inputs lost when composing systems? #3943

@vyudu

Description

@vyudu

Describe the bug 🐞

On 10.23 it seems like composing two systems causes the inputs to be lost. I'm not sure whether this is actually a bug or intended, but I'd expect the input to be carried over to the larger system

Minimal Reproducible Example 👇

@variables x(t) y(t) [input=true]
@named sys = System([D(x) ~ y * x], t)
inputs(sys) # y(t)
csys = compose(System(Equation[], t; name = :outer), sys)
inputs(csys) # Symbolics.BasicSymbolic{Real}[]

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions