Skip to content

DELAY FIXED fails with zero delay time #147

@ToddFincannon

Description

@ToddFincannon

The Vensim docs don't say how a zero delay time for DELAY FIXED should be interpreted. For instance:

delay time = 0 ~~|
init value = 0 ~~|
a = DELAY FIXED(input, delay time, init value) ~~|

Experimentation shows that the output for a zero delay is the same as a delay of one time step. Instead, in SDEverywhere the output is always the init value.

Metadata

Metadata

Assignees

Labels

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions