octave-bug-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Octave-bug-tracker] [bug #59063] Event Handling different between Ode-S


From: anonymous
Subject: [Octave-bug-tracker] [bug #59063] Event Handling different between Ode-Solvers (especially ode15s)
Date: Mon, 7 Sep 2020 04:59:04 -0400 (EDT)
User-agent: Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:80.0) Gecko/20100101 Firefox/80.0

Follow-up Comment #2, bug #59063 (project octave):

Thanks for your quick response,
please find below a short (maybe physical meaningless) example of an
oscillator with 2 events.
The first event is a state event (oscillator hits the ground-rebounding) and
the second event is a time event (every second change in velocity).

The state event is no problem for all solvers, the only "bad" thing  is the
change of index count (which is not documentated).
The time event isn't captured by ode15s, if the output step size is exactly an
integer of the event time (here 1 s and 1.0e-2 s), here only ode23/ode45
works. Only if I change from 1.0e-2 s to 1.0001e-2 s ode15s gets the time
events).

I think, that I read something about availability of ode23s in version 6.1. Is
there an equal behaviour present?

Please find below a file with the requested example.

(file #49752)
    _______________________________________________________

Additional Item Attachment:

File name: ODEwithEvents.m                Size:2 KB
    <https://file.savannah.gnu.org/file/ODEwithEvents.m?file_id=49752>



    _______________________________________________________

Reply to this item at:

  <https://savannah.gnu.org/bugs/?59063>

_______________________________________________
  Message sent via Savannah
  https://savannah.gnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]