Skip to content

days

Syntax

days = <number>

Description

Used in the simulation block.

This property defines the length of the simulation in days. This property can only appear in a simulation block. This can be used as an alternative for specifying an end_date.

The value for days should be a non-negative number representing the number of days in the simulation.

Examples

The following sets the end date of a simulation to January 2nd, 2020.

simulation {
    locations = Pittsburgh_PA
    state_date = 2020-Jan-01
    days = 1
}

See Also