Skip to content

What to do with empty systems with non-empty observed equations #650

@YingboMa

Description

@YingboMa

Simulating an empty system leads to an error, so one has to do something like

julia> sys = structural_simplify(mediumModel)
Model mediumModel with 0 equations
States (0):
Parameters (0):
Incidence matrix:


julia> prob = ODEProblem(sys, nothing, (0, 10.0));

julia> prob.f.observed(medium.P, rand(100), rand(100), 0.0)
101325.0

Would be nice if we can "solve" an empty system.

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