days
Simulation property for setting the number of days for a simulation.
Synopsis
days = <number>
Description
This probably defines the length of the simulation in days. If this property is \(0\) or
not defined, then an end_date
setting is required to define the last day of the simulation.
This property can only appear in a simulation
block.
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 Dec 31st, 2020. The end_date
is
used since the value of days
is zero.
simulation {
locations = Pittsburgh_PA
state_date = 2020-Jan-01
end_date = 2020-Dec-31
days = 0
}
In this example, days
is set to a positive value (\(10\)) so the end_date
is
ignored and the simulation runs for 10 days, until January 11, 2020.
simulation {
locations = Pittsburgh_PA
state_date = 2020-Jan-01
end_date = 2020-Dec-31
days = 10
}