-
Notifications
You must be signed in to change notification settings - Fork 176
Avoid discontinuities #4150
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
Avoid discontinuities #4150
Conversation
Co-authored-by: Henrik Tidefelt <henrikt@wolfram.com>
Co-authored-by: Henrik Tidefelt <henrikt@wolfram.com>
Co-authored-by: Henrik Tidefelt <henrikt@wolfram.com>
henrikt-ma
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Seems OK now.
I suppose it is intentional to not force continuous to be evaluated?
|
By making it continuous we mean it should be differentiable right, but even with the new flag addition and smooth function
because for both cases at start time (if its not 0) there will be discontinuity, I did the cross checking in Dymola with a Der block (Modelica.Blocks.Continuous.Der) and it failed can you please cross verify the same @henrikt-ma @HansOlsson @beutlich
|
Unfortunately not for sine and cosine. (Well, at least not with a continuous derivative.) The way to make the derivative continuous would be to modify the behavior before |
|
@MartinOtter and @AHaumer can you please give your suggestion on how to proceed with this ticket .Thankyou |
Closes #3548
The idea is that it often makes sense to have continuous input signals, and Sine, Cosine, and Sinc-blocks didn't guarantee that.
That is now possible on a flag.