Menu

Piecewise functions

Help
2018-03-18
2018-03-18
  • Bruno Cayres

    Bruno Cayres - 2018-03-18

    Dear all,

    Is it possible to analyse a dynamical system with a piecewise function friction model?
    I did not see any example or something about it.

    Another question is: What is MX point?

    Thanks in advance,

    Bruno.

     
    • Evgenij Gr.

      Evgenij Gr. - 2018-03-18

      Hello!

      1. It seems that forced_spring.py has an example of a piecewise oscillator system. It also shows how to set up a proper hybrid model for such problems. Probably it has what you need.
      2. Documentation says: The point type MX is associated with some type of computational difficulty. It usually represents non-convergence based on our tolerances, but for many different reasons (e.g. initial point is too far from the requested curve type, too close to a homoclinic (large period), ...). As far I understand that's the point where numerics struggle or fail.
       
  • Bruno Cayres

    Bruno Cayres - 2018-03-18

    Hi, Evgenij,

    Thank you very much.
    I'll try to implement a piecewise function based on your tip.

    =D

     

Log in to post a comment.