Skip to content

ltm: dominant periods flicker every step on data-driven models #670

Open

Description

@bpowers

Dominant periods are chosen independently at each saved timestep from the relative loop scores at that step.
On models driven by data, the dominant loop flips whenever the input data jumps, so the output is a long list of one-step periods instead of a readable story of dominance shifts.

Example

C-LEARN produces about 110 dominant periods, most of them one year long.
The flips line up with yearly steps in the historical emissions data and with the slope changes at the half-decade points of the projection tables.
The scores themselves are correct; the dominance really does change at those points.

Why it matters

Data-calibrated policy models are a main audience for loop dominance analysis, and on them the default period list is close to useless.
This is a presentation problem, not wrong numbers.

The LTM reference defines dominance over "the selected time period" (section 2.1) without saying how periods should be chosen or smoothed.
Its "delayed averaging" (section 13.3) is about the loop inclusion threshold for simplified CLDs, not dominant periods, so there is no paper convention to copy.

Fix

Add an optional minimum period length: a period shorter than N saved steps is merged into its neighbor.
Keep the per-step behavior as the default, or make the default a small N; either way say which in the docs.

There are two copies of this algorithm: the engine's calculate_dominant_periods (used by discovery results and MCP) and pysimlin's Run._calculate_dominant_periods.
Add the option in the engine and have pysimlin use the same code, rather than changing both.

Pointers

  • src/simlin-engine/src/ltm_dominance.rs (calculate_dominant_periods)
  • src/pysimlin/simlin/run.py (_calculate_dominant_periods, _dominant_periods_for_group)
  • docs/reference/ltm--loops-that-matter.md sections 2.1 and 13.3
  • Seen in notebooks/clearn_ltm_experience.ipynb.

Activity

  1. added
    ltm
    on Jun 2, 2026
  2. added
    enhancement
    on Oct 12, 2026
  3. changed the title [-]ltm-post: dominant-period flicker on data-driven models (instantaneous shares inherit input-data noise)[/-] [+]ltm: dominant periods flicker every step on data-driven models[/+] on Oct 12, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementltm

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions