Skip to content

Implement a check for the results of the initialization #958

@lenaploetzke

Description

@lenaploetzke

Motivation / Current Behaviour

Currently, especially when initializing with the force-of-infection method, the condition S(0)<N is sometimes not satisfied and compartments are initialized with negative numbers. In these cases, at least a warning/error should be displayed.

Enhancement description

Implement a check in the IDE model to see if the initialization produces valid results.

Additional context

No response

Checklist

  • Attached labels, especially loc:: or model:: labels.
  • Linked to project

Metadata

Metadata

Assignees

Labels

class::improvementCleanup that doesn't affect functionalityloc::backendThis issue concerns the C++ backend implementation.model::ideThis issue concerns any kind of integro differential equations-based model.prio::moderateThe priority of this task is moderate.status::in reviewThis issues is in review.

Type

No type

Projects

Status

Done (Total)

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions