Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Detailed balance #965

Merged
merged 33 commits into from
Nov 6, 2024
Merged

Detailed balance #965

merged 33 commits into from
Nov 6, 2024

Conversation

vyudu
Copy link
Collaborator

@vyudu vyudu commented Jul 3, 2024

Code and tests for testing whether a reaction networks with a given set of rate parameters is detailed balanced.

@isaacsas
Copy link
Member

This needs to be updated to master.

@isaacsas
Copy link
Member

@vyudu when you have a chance can you update to master? (No rush though as I’m traveling this week as we discussed.)

@isaacsas
Copy link
Member

isaacsas commented Aug 5, 2024

bump

@vyudu
Copy link
Collaborator Author

vyudu commented Aug 6, 2024

Sorry about the delay - will be active again in a week or so

@vyudu
Copy link
Collaborator Author

vyudu commented Nov 4, 2024

This one should be ready for review @isaacsas

src/network_analysis.jl Outdated Show resolved Hide resolved
if deficiency(rs) > 0
rxn_idxs = [edgeindex(D, Graphs.src(e), Graphs.dst(e)) for e in spanning_forest]
S_F = netstoichmat(rs)[:, rxn_idxs]
sols = nullspace(S_F)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should this use ModelingToolkit's integer nullspace?

src/network_analysis.jl Outdated Show resolved Hide resolved
@isaacsas isaacsas merged commit f1c3789 into SciML:master Nov 6, 2024
13 checks passed
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.

2 participants