Repository navigation
Description
When a model sits in equilibrium for the whole run, every link score is zero (no stock changes, so every ratio of changes is 0), and LTM reports nothing.
Loop discovery then returns no loops, and the result looks the same as a model with no feedback at all.
The analysis should say why: the model never moved, so there was nothing to attribute.
Example
A goal-seeking stock that starts at its goal (stock = 100, inflow = (100 - stock) / 5).
The model has a balancing loop, but discovery treats an exactly-zero score as inactive, so analyze_model (and pysimlin Model.analyze() and the MCP read_model tool) should report zero loops and no analysis_error.
This follows from reading the code; it has not been run.
Starting the stock at 50, or adding a STEP to the goal, makes the loop appear.
Why it matters
Starting a model in equilibrium and then shocking it is standard SD practice, so an unshocked run is common, not a corner case.
A user who sees "no loops" will reasonably think LTM is broken or that their model has no feedback.
This is a known limitation of the method (Schoenberg, Davidsen and Eberlein 2020, section 10.2; docs/reference/ltm--loops-that-matter.md section 4.3), not a bug in the scores.
No real-model report; the behavior follows directly from the math.
Fix
In analyze_model, when the structural graph has at least one feedback loop but discovery finds no loop active at any saved step after the first, attach a plain message to the result, for example: "No loop was active during the run; the model appears to be in equilibrium. Add a STEP or PULSE, or start from non-equilibrium initial values."
Surface it through the same channel as analysis_error, but as a note rather than an error.
A softer "mostly idle" warning is optional and probably not worth it.
Pointers
src/simlin-engine/src/analysis.rs(analyze_model,ModelAnalysis)src/simlin-engine/src/ltm_finding.rs(is_active, the activity graph)src/simlin-mcp-core/src/tools/read_model.rs,src/pysimlin/simlin/analysis.py
Activity
[-]ltm: surface diagnostic when all loop scores are zero (equilibrium model)[/-][+]ltm: equilibrium run reports no loops with no explanation[/+]