Coder Social home page Coder Social logo

mingwu-li / ddae_constructor Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 204 KB

COCO constructors for delay-differential-algebraic equations

MATLAB 99.83% M 0.17%
delay-differential-equations differential-algebraic-equations collocation-method parameter-continuation

ddae_constructor's Introduction

Collocation toolbox for delay differential equations (DDEs) and differential-algebraic equations (DAEs) and their adjoints

Unified formulation

By rewriting DDEs (delay differential equations) as DAEs (differential-algebraic equations) with piecewise continuous algebraic equations, we obtain a unified framework for the formulation of DDEs/DAEs and DDAEs (delay differential-algebraic equations).

Collocation approximation

Under the unified framework, we have semi-explicit differential equations with algebraic equations. Lagrange interpolation with different orders is applied to differential and algebraic variables. Specifically, the order of differential variables is higher than the one of algebraic variables by one. Then the differential equations and algebraic conditions are collocated at collcation nodes. The discretization is consistent with the case of ordinary differential equation presented in [1].

Automatic adjoint construction

The adjoint of the above differential and algebraic equations is constructed as well. Such construction fits well the staged construction paradigm discussed in [2].

Future work

The current implementation does not support adaptive mesh. Users have to adjust the mesh manually. The analytical Jacobian of adjoints are not avaliable currently.

Questions?

If you have any questions about the toolbox, including how to use it, and bug report, please reach me at [email protected]. If you have interest in further development of the toolbox and implementation details of the toolbox, I would like to share you formulations and other details.

References

[1] Dankowicz, H., & Schilder, F. (2013). Recipes for continuation (Vol. 11). SIAM.

[2] Li, M., & Dankowicz, H. (2018). Staged Construction of Adjoints for Constrained Optimization of Integro-Differential Boundary-Value Problems. SIAM Journal on Applied Dynamical Systems, 17(2), 1117-1151.

ddae_constructor's People

Contributors

mingwu-li avatar

Watchers

 avatar

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.