ReactionNetworkImporters.jl
ReactionNetworkImporters.jl copied to clipboard
ODE, SDE, and Discrete Problem dispatches for `ParsedReactionNetwork`
Since these contain initial conditions and parameter values, would it make sense to create dispatches to e.g. do
using ReactionNetworkImporters
BCR = loadrxnetwork(BNGNetwork(), "BCR.net")
tspan = (0.0,1000.0)
oprob = ODEProblem(BCR, tspan)
The generated ReactionSystem has u0 and p added as defaults via metadata. See the README. You shouldn’t need to pass them in.
You mean using
oprob = ODEProblem(rn, Float64[], (0.0, tf), Float64[])
I thought this was slightly different, as I do not give the actual ParsedReactionNetwork, and utilise the default values in its contained ReactionSystem?