Archived OpenModelica forums. Posting is disabled.

Alternative forums include GitHub discussions or StackOverflow (make sure to read the Stack Overflow rules; you need to have well-formed questions)


Forgot password? | Forgot username? | Register

[SOLVED] Derivatives of CombiTable output

[SOLVED] Derivatives of CombiTable output

The derivative that any CombiTable is providing is far from being accurate.
Even by imposing a Continuous Derivative, the output is the following.

Any issue that I made?

Here the image (the OpenModelica Forum Attachment is broken)
https://ibb.co/HFXkj4w

Edited by: DarioMangoni - May-12-20 09:07:15

Re: [SOLVED] Derivatives of CombiTable output

If the function goes from 0 to 1 in 0.25, the average derivative is 4. If the function is a sinus, the maximum derivative will be 2*pi, because the function displayed would be  y[1]=sin(2*pi*time), so the result seems not so bad.

Re: [SOLVED] Derivatives of CombiTable output

Oh stupid me.
Really sorry.

I have been misleaded by the strange shape at the peak. However, it's just an artifact that comes from the quickly changing function that deceives the derivative evaluation.

Thanks a lot

Re: [SOLVED] Derivatives of CombiTable output

Do not worry, this type of problems happen to all of us from time to time. At the beginnings I was also surprised by the result.

Regards

Carlos

There are 0 guests and 0 other users also viewing this topic
You are here: