We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
SteadyStateProblem
MWE:
using ModelingToolkit using ModelingToolkit: t_nounits as t, D_nounits as D # Prepare equations. @parameters p d @variables X(t) alg_eqs = [0 ~ p - d*X] diff_eqs = [D(X) ~ p - d*X] # Create systems @mtkbuild osys = ODESystem(diff_eqs, t) @mtkbuild nsys = NonlinearSystem(alg_eqs) # Create problems. u0 = [X => 1.0] ps = [p => 1.0, d => 0.2] oprob = ODEProblem(osys, u0, 1.0, ps) nprob = NonlinearProblem(nsys, u0, ps) ssprob = SteadyStateProblem(osys, u0, ps) deepcopy(oprob) # Works deepcopy(nprob) # Works deepcopy(ssprob) # ERROR: deepcopy of Modules not supported
The text was updated successfully, but these errors were encountered:
AayushSabharwal
Successfully merging a pull request may close this issue.
MWE:
The text was updated successfully, but these errors were encountered: