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

Get periodic orbit for system of ODEs with fixed parameters #209

Closed
AngelicaP1998 opened this issue Mar 3, 2025 · 3 comments
Closed

Get periodic orbit for system of ODEs with fixed parameters #209

AngelicaP1998 opened this issue Mar 3, 2025 · 3 comments

Comments

@AngelicaP1998
Copy link

How can I use get_periodic_orbits and getperiod to get the periodic orbit and period of my system, given a specific set of parameters?

function F!(du, u, p, t)
    x, y = u                 
    @unpack ω1, ω2 = p         
    du[1] = ω1 * y            
    du[2] = -ω2 * x           
end

@with_kw mutable struct Params
    ω1::Float64 = 2pi
    ω2::Float64 = 2pi
end

par = Params()
u0 = [0., 1.]
@rveltz
Copy link
Member

rveltz commented Mar 3, 2025

Your linear system has an infinite number of periodic orbits. It is very singular.

@rveltz rveltz closed this as completed Mar 3, 2025
@AngelicaP1998
Copy link
Author

Thank you! In general, for a system with just one periodic orbit, what should I do?

@rveltz
Copy link
Member

rveltz commented Mar 3, 2025

it depends if it born at a hopf point (see here) or you have an estimate of the orbit (see here)

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

2 participants