Skip to content

Simplify ComplexRampPhasor#4239

Merged
christiankral merged 1 commit intomodelica:masterfrom
HansOlsson:ComplexRamp2
Dec 13, 2023
Merged

Simplify ComplexRampPhasor#4239
christiankral merged 1 commit intomodelica:masterfrom
HansOlsson:ComplexRamp2

Conversation

@HansOlsson
Copy link
Contributor

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.

@HansOlsson HansOlsson added bug Critical/severe issue L: Complex* Issue addresses Complex, Modelica.ComplexBlocks or Modelica.ComplexMath labels Dec 11, 2023
@HansOlsson HansOlsson changed the title Simplify CompelxRampPhasor Simplify ComplexRampPhasor Dec 11, 2023
Copy link
Contributor

@AHaumer AHaumer left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

as discussed in MAP-Lib monthly 2023-12-12

Copy link
Contributor

@christiankral christiankral left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good.

@christiankral christiankral merged commit 1a778b3 into modelica:master Dec 13, 2023
@HansOlsson HansOlsson deleted the ComplexRamp2 branch December 13, 2023 12:36
@beutlich beutlich added this to the MSL4.1.0 milestone Dec 13, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Critical/severe issue L: Complex* Issue addresses Complex, Modelica.ComplexBlocks or Modelica.ComplexMath

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants