SciML / SciML/DiffEqCallbacks.jl
Feature request: a callback detecting whether certain conditions have been satisfied for a given duration
Nobody has claimed this yet.
- Dominant language
- Julia
- Stars
- 100
- Forks
- 54
- Avg merge
- 3h 29m
- Merged PRs (30d)
- 8
Description
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.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
No source file, test, or entry point is named in the issue. Start by locating the exported callback implementations and their tests, then determine how a condition and its required duration should be represented for simulation termination. Done means the callback is exported, handles the stated duration condition, and has coverage for the scalar-state example.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- julia
- Domain
- backend
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100