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

Add "state space" / dynamical systems examples #27

Open
sjdaines opened this issue Nov 24, 2023 · 0 comments
Open

Add "state space" / dynamical systems examples #27

sjdaines opened this issue Nov 24, 2023 · 0 comments

Comments

@sjdaines
Copy link
Member

Add examples to illustrate use of PALEO in more general situations than just solving an ODE and calculating a time series.

The closest relevant example at the moment is https://paleotoolkit.github.io/PALEOtutorials.jl/dev/collated_examples/solvers/README/#Naive-first-order-explicit-Euler-'by-hand' which shows how to calculate a time derivative and update state variables to step through a solution.

Need to add examples that start by demonstrating the general approach:

  1. set state variables
  2. call PB.do_deriv(modeldata.dispatchlists_all) to update all model variables for this state (these are held in the modeldata object)
  3. read out whatever quantities are of interest using eg PALEOmodel.get_array(modeldata, "ocean.P_norm").values
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

No branches or pull requests

1 participant