Skip to content

end_date

Syntax

end_date = <date>

Description

This property is used in the simulation block to set the end date of a simulation.

A date in FRED is formatted as YYYY-MM-DD; that is, 4-digit year, 2-digit month, 2-digit day, separated by dashes. YYYY-MMM-DD format is also accepted, where the month (MMM) can be specified as a 3-letter month name, as in 2020-Jan-01 or 2025-Nov-25.

It is an error to specify both an end date and a number of simulation days. For example:

simulation {
    start_date = 2020-Jan-01

    # These conflict!
    end_date = 2020-Jan-10
    days = 3

    locations = none
    default_model = none
}

Examples

The following sets the end date of a simulation to Dec 31st, 2020:

simulation {
    locations = Pittsburgh_PA
    state_date = 2020-Jan-01
    end_date = 2020-12-31
}

See Also