WARNING: THIS SITE IS A MIRROR OF GITHUB.COM / IT CANNOT LOGIN OR REGISTER ACCOUNTS / THE CONTENTS ARE PROVIDED AS-IS / THIS SITE ASSUMES NO RESPONSIBILITY FOR ANY DISPLAYED CONTENT OR LINKS / IF YOU FOUND SOMETHING MAY NOT GOOD FOR EVERYONE, CONTACT ADMIN AT ilovescratch@foxmail.com
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