-
Notifications
You must be signed in to change notification settings - Fork 20
Closed
Labels
class::featureA feature to be implemented for some part of the softwareA feature to be implemented for some part of the softwareclass::performancePerformance related issuesPerformance related issuesloc::backendThis issue concerns the C++ backend implementation.This issue concerns the C++ backend implementation.model::odeThis issue concerns any kind of ODE-based model.This issue concerns any kind of ODE-based model.model::sdeThis issue concerns any kind of stochastic differential equation-based model.This issue concerns any kind of stochastic differential equation-based model.
Description
Motivation / Current Behaviour
As of now SDE models have to implement checks for whether flows/derivatives result in overflows in the compartments (negative compartments or compartments greater than population size). The current implementation can also result in undefined behavior by floating point operations (see Issue #1009)
Enhancement description
Adapting the EulerCore (potentially writing a EulerMaruyamaCore) one can use vectorized functions to add those safeguards and other modifications into the core. Potential modifications are:
- Clipping compartments to the intervall [0, population_size]
- Setting compartments below some threshhold to zero
- Rescaling compartments in case clipping changed total population size
Additional context
No response
Checklist
- Attached labels, especially loc:: or model:: labels.
- Linked to project
Reactions are currently unavailable
Metadata
Metadata
Labels
class::featureA feature to be implemented for some part of the softwareA feature to be implemented for some part of the softwareclass::performancePerformance related issuesPerformance related issuesloc::backendThis issue concerns the C++ backend implementation.This issue concerns the C++ backend implementation.model::odeThis issue concerns any kind of ODE-based model.This issue concerns any kind of ODE-based model.model::sdeThis issue concerns any kind of stochastic differential equation-based model.This issue concerns any kind of stochastic differential equation-based model.
Type
Projects
Status
Done (Total)