Git Product home page Git Product logo

Comments (2)

andreadelprete avatar andreadelprete commented on July 20, 2024

In the test shown above the matrix exponential was used for the prediction, but not really for the integration (actually it was used also for the integration, but with such a small time step 0.1ms that it hardly played a role). In the next test, I should instead use the exponential for integrating with a large time step, to see whether the overall state integration is accurate. If it's not (as I expect, given my previous tests reported in the issue #9 ) then it means that some of the other terms in the dynamics are changing too fast for the time step used. Once I've identified which terms are causing this problem, I could consider having intermediate steps in which I only update these terms, without recomputing the matrix exponential.

from consim.

andreadelprete avatar andreadelprete commented on July 20, 2024

Here another few examples of nontrivial force predictions using the matrix exponential. All force predictions are over an horizon of 5 ms, whereas the ground truth is computed with a time step of 0.1 ms. In these examples we can appreciate how the matrix exponential is able to predict complex force trajectories that have varying trends (e.g., first increase and then decrease).

This one is very nice and corresponds to the beginning of the simulation, where we start with zero contact force and the matrix exponential predicts correctly the sudden rise of the contact forces. I think this is encouraging for the use of exponential integrators in case of impacts:
consim_nontrivial_force_pred_ex2

In this example the force first decreases rapidly, then it increases slowly, and then in decreases again, but slowly, so we have 3 trends in only 5 ms. The force prediction matches quite well the first two trends, but then fails to predict the last decrease.
consim_nontrivial_force_pred_ex3

from consim.

Related Issues (20)

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.