Skip to content

Feature request: a callback detecting whether certain conditions have been satisfied for a given duration #100

@JinraeKim

Description

@JinraeKim

Hi,
simulation sometimes requires the detection of whether a certain event has occured for a given duration.

For example, I would like to terminate simulation if a condition whether a scalar state (namely, u) is negative has been satisfied for 5 seconds.

It would be useful if such functionality is provided as an exported callback.

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