modelica / ModelicaStandardLibrary

Free (standard conforming) library to model mechanical (1D/3D), electrical (analog, digital, machines), magnetic, thermal, fluid, control systems and hierarchical state machines. Also numerical functions and functions for strings, files and streams are included.
https://doc.modelica.org
BSD 3-Clause "New" or "Revised" License
453 stars 165 forks source link

Simplify ComplexRampPhasor #4239

Closed HansOlsson closed 7 months ago

HansOlsson commented 7 months ago

Based on comments in #4156 just remove eps. The problem with eps is that it is a relative precision, so max(duration, eps) doesn't work well, but we don't have a good time-scale so eps*abs(startTime) will also fail.

I found it clearer to have two different PRs to chose from.