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

Stability computation #730

Closed
wants to merge 12 commits into from
Closed

Stability computation #730

wants to merge 12 commits into from

Conversation

TorkelE
Copy link
Member

@TorkelE TorkelE commented Nov 18, 2023

No docs and tests, and internal needs to be improved to handle vector of values (not maps) input prettier, but functionality works. Enables computation of stability o steady states. Conservation laws should be accounted for (not tested yet).

Simple example:

using Catalyst
import HomotopyContinuation

rs = @reaction_network begin
    (v/10.0 + hill(X, v, K, n), d), 0 <--> X
end
p = [:v => 2.0, :K => 1.0, :n => 3, :d => 1.0]
steady_states = hc_steady_states(rs, p)

steady_state_stability(steady_states[1], rs, p) # true
steady_state_stability(steady_states[2], rs, p) # false
steady_state_stability(steady_states[3], rs, p) # true

steady_state_stability(steady_states, rs, p) # [1, 0, 1]

ss_jac = steady_state_jac(rs) # [1, 0, 1]
steady_state_stability(steady_states, rs, p; ss_jac=ss_jac) # [1, 0, 1]

@TorkelE
Copy link
Member Author

TorkelE commented Nov 18, 2023

No documentation, but internals and tests are there.

@TorkelE
Copy link
Member Author

TorkelE commented Nov 19, 2023

If checks everything passes, this should be ready for merging.

@isaacsas
Copy link
Member

OK, I'll let you know once I've given it a review.

@TorkelE TorkelE force-pushed the master branch 2 times, most recently from f20d62a to f624106 Compare November 22, 2023 21:16
@TorkelE
Copy link
Member Author

TorkelE commented Dec 4, 2023

superseeded by #739

@TorkelE TorkelE closed this Dec 4, 2023
@TorkelE TorkelE deleted the stability_computation branch June 8, 2024 18:30
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.

None yet

2 participants