You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
ltm: dominant periods flicker every step on data-driven models #670
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.
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
Activity
[-]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[/+]