Explicit shocks with a constant tail

explicit_with_constant_tail uses named values, zero before or between undeclared early years, and the final declared value after its year.

One value followed by a permanent tail

layers:
  - id: delayed_adjustment
    name: Delayed permanent adjustment
    data_file_name: delayed_adjustment.csv
    event_year: 2026
    description: Begin a permanent adjustment in 2028
    shocks:
      - variable_prefix: INFX
        selectors:
          - dimension: regions
            members: [USA]
        value_path:
          type: explicit_with_constant_tail
          values:
            2028: 1.0
          units: percentage points
Year 2026 2027 2028 2029 2030
Value 0 0 1.0 1.0 1.0

Several early values

value_path:
  type: explicit_with_constant_tail
  values:
    2026: 0.25
    2027: 0.5
    2028: 1.0
  units: percentage points
Year 2026 2027 2028 2029 2030
Value 0.25 0.5 1.0 1.0 1.0

A negative tail with a gap

value_path:
  type: explicit_with_constant_tail
  values:
    2026: -0.25
    2028: -0.75
  units: percentage points
Year 2026 2027 2028 2029 2030
Value -0.25 0 -0.75 -0.75 -0.75

Use plain explicit when undeclared years after the final entry should return to zero. An empty values mapping is invalid.

Linear phase-in shocks


This site uses Just the Docs, a documentation theme for Jekyll.