Skip to content

Fix issues with some models failing to find steady state. - #1356

Merged
luciansmith merged 6 commits into
developfrom
issue-1350
Sep 5, 2026
Merged

Fix issues with some models failing to find steady state.#1356
luciansmith merged 6 commits into
developfrom
issue-1350

Conversation

@luciansmith

@luciansmith luciansmith commented Sep 4, 2026

Copy link
Copy Markdown

Fix for #1350, roadrunner failing to find the steady state for BioModel 64. Turned out to have two parts: some species were 'constant' but not 'boundary', and ended up in the 'floating species' section, making parts of the stoichiometry matrix all zeroes. Also, since there were assignment rules, roadrunner didn't want to find conserved moieties, so the NAD+NADH conserved cycle created other problems in the Jacobian. Once we relaxed that restriction, it turned out that assignment rules affecting species levels wasn't being propagated. Fixing that finally made everything work!

Made some changes, but need to make sure they don't break things elsewhere.
We were dropping all rule-defined species from the conserved moiety test, but those with rate rules needed to not be dropped, and instead not look for conserved moieties.
Tracked down the problem to conflicted AssignmentRules when we suddenly allowed species with assignment rules to participate in conserved moiety analysis runs.
Remove DIAG bits; remove print-only tests and make the rest actually test things.
@luciansmith luciansmith changed the title First pass at fixing some issues failing to find steady state. Fix issues with some models failing to find steady state. Sep 5, 2026
@luciansmith
luciansmith merged commit 8ff82b0 into develop Sep 5, 2026
9 checks passed
@luciansmith
luciansmith deleted the issue-1350 branch September 5, 2026 03:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant