Temporary constant shocks
temporary_constant applies one value from start_year through end_year, including both boundary years, and zero elsewhere.
A one-year shock
layers:
- id: one_year_target
name: One-year inflation-target increase
data_file_name: one_year_target.csv
event_year: 2026
description: Increase the USA inflation target for one year
shocks:
- variable_prefix: INFX
selectors:
- dimension: regions
members: [USA]
value_path:
type: temporary_constant
start_year: 2026
end_year: 2026
value: 1.0
units: percentage points
| Year | 2026 | 2027 | 2028 | 2029 |
|---|---|---|---|---|
| Value | 1.0 | 0 | 0 | 0 |
A three-year shock
value_path:
type: temporary_constant
start_year: 2027
end_year: 2029
value: 2.0
units: per cent of GDP
| Year | 2026 | 2027 | 2028 | 2029 | 2030 |
|---|---|---|---|---|---|
| Value | 0 | 2.0 | 2.0 | 2.0 | 0 |
A temporary reduction in several regions
value_path:
type: temporary_constant
start_year: 2026
end_year: 2028
value: -0.5
units: percentage points
| Year | 2026 | 2027 | 2028 | 2029 |
|---|---|---|---|---|
| Value | -0.5 | -0.5 | -0.5 | 0 |
This path can sit below a selector with members: [USA, CHN] to generate the same projection for both regions.
end_year earlier than start_year, or either year outside the layer period, is invalid.
G-Cubed