Integrals in the Equations of Motion #293
Replies: 4 comments 5 replies
-
|
opty would not know how to handle an integral in a equation of motion. opty works with daes and odes. I'm not aware of a form that would have an integral in the equation of motion. |
Beta Was this translation helpful? Give feedback.
-
|
Let me try this, if I understood correctly: I will declare a state variable W, then I add W.diff(t) = integrand of winding integral to the eoms. |
Beta Was this translation helpful? Give feedback.
-
|
I assume, you meant |
Beta Was this translation helpful? Give feedback.
-
|
It works, in that opty runs without issues. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I tried an eom of the form$W = \int_0^{tf} F((x(t), \dfrac{dx}{dt}, params) dt$ , but I got this error:

Did I do something wrong, or does opty not accept such eoms?
Thanks for any hint!
Beta Was this translation helpful? Give feedback.
All reactions