Giter Site home page Giter Site logo

sciml / scimlworkshop.jl Goto Github PK

View Code? Open in Web Editor NEW
35.0 7.0 5.0 56.12 MB

Workshop materials for training in scientific computing and scientific machine learning

Home Page: https://docs.sciml.ai/SciMLWorkshop/stable/

License: MIT License

Julia 100.00%
workshop scientific-machine-learning sciml differential-equations differential-equations-solvers ode ode-solver odeint odes scientific-computing

scimlworkshop.jl's Introduction

SciMLWorkshop: Workshop Materials for Training in Scientific Computing and Scientific Machine Learning (SciML)

These exercises teach common workflows which involve SciML's tools like DifferentialEquations.jl, ModelingToolkit.jl, DiffEqFlux.jl, and the connections to parts like stochastic differential equations and Bayesian estimation.

Difficulty Levels

The designation (B) is for "Beginner", meaning that a user new to the package should feel comfortable trying this exercise. An exercise designated (I) is for "Intermediate", meaning the user may want to have some previous background in DifferentialEquations.jl or try some (B) exercises first. The additional (E) designation is for "Experienced", which are portions of exercises which may take some work.

Overview

The exercises are described as follows:

  • Exercise 1 is solving a simple stiff ordinary differential equation. This is an introductory exercise to get users acquainted with the syntax.
  • Exercise 2 takes the user through solving a stiff ordinary differential equation and using the ModelingToolkit.jl to automatically convert the function to a symbolic form to derive the analytical Jacobian to speed up the solver. The same biological system is then solved with stochasticity, utilizing EnsembleProblems to understand 95% bounds on the solution. Finally, probabilistic programming is employed to perform Bayesian parameter estimation of the parameters against data.
  • Exercise 3 takes the user through defining hybrid delay differential equation, that is a differential equation with events, and using differentiable programming techniques (automatic differentiation) to to perform gradient-based parameter estimation.
  • Exercise 4 takes the user through differential-algebraic equation (DAE) modeling, the concept of index, and using both mass-matrix and implicit ODE representations. This will require doing a bit of math, but the student will understand how to change their equations to make their DAE numerically easier for the integrators.
  • Exercise 5 has one build an acausal model, a DAE system through a component-based modeling approach. Using a tutorial model of an RC circuit (resistor and capacitor) plus some information about inductors, the user then builds new ModelingToolkit components for an inductor and generates an RLC circuit to be simulated.
  • Exercise 6 takes the user through optimizing a PDE solver, utilizing automatic sparsity pattern recognition, automatic conversion of numerical codes to symbolic codes for analytical construction of the Jacobian, preconditioned GMRES, and setting up a solver for IMEX and GPUs, and compute adjoints of PDEs.
  • Exercise 7 focuses on a chaotic orbit, utilizing parallel ensembles across supercomputers and GPUs to quickly describe phase space.
  • Exercise 8 takes the user through training a neural stochastic differential equation, using GPU-acceleration and adjoints through Flux.jl's neural network framework to build efficient training codes.
  • Exercise 9 is a deep dive into controls analysis on nonlinear models. The user starts by building an acausal model of a DC motor, which is augmented with a PI-controller that is tuned to control the actions of the motor.

This exercise worksheet is meant to be a living document leading new users through a deep dive of the SciML feature set. If you further suggestions or want to contribute new problems, please open an issue or PR at the SciMLWorkshop.jl repository.

scimlworkshop.jl's People

Contributors

arnostrouwen avatar chrisrackauckas avatar dependabot[bot] avatar pitmonticone avatar ranocha avatar visr avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

scimlworkshop.jl's Issues

TagBot trigger issue

This issue is used to trigger TagBot; feel free to unsubscribe.

If you haven't already, you should update your TagBot.yml to include issue comment triggers.
Please see this post on Discourse for instructions and more details.

If you'd like for me to do this for you, comment TagBot fix on this issue.
I'll open a PR within a few hours, please be patient!

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.