Skip to content

Identifying non-zero initial conditions and setting those to zero. #948

@john-harrold

Description

@john-harrold

I have a model where I have nonzero initial conditions for some of the states and I want to either remove the initial condition assignment or set them to zero programmatically. What is the best way to do this? I could loop through all the states in mod$props and just assign them to zero. But I figure there is probably a better way to do that.

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