-
Notifications
You must be signed in to change notification settings - Fork 165
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
Near-zero coordinates in graphical annotations #4072
Comments
@DagBruck Does Dymola also have the ability to correct those near-zero coordinates? If yes then it would be an easy fix and you could provide a PR for this. |
Probably a good idea, but note that "weird" numbers such as 1e-10 may occur naturally as parameters. At least the risk that Dymola adds the garbage has been reduced. |
DagBruck
pushed a commit
that referenced
this issue
Mar 29, 2023
DagBruck
pushed a commit
that referenced
this issue
Mar 29, 2023
TManikantan
pushed a commit
that referenced
this issue
May 25, 2023
TManikantan
pushed a commit
that referenced
this issue
May 25, 2023
TManikantan
added a commit
that referenced
this issue
Jun 1, 2023
* Resolved issue #4072 (for Modelica/Electrical) * Resolved issue #4072 (for rest of Modelica) * Squash doubled point {0,-50.5} * Delete doubled connection's coordinate * Delete doubled connection's coordinate * Delete doubled connection's coordinate * Delete doubled connection's coordinate * Delete doubled connection's coordinate * Delete doubled connection's coordinate * Delete doubled connection's coordinate * Fix near-zero coordinate in connection's annotation * Merge branch 'DagBruck_01' of https://github.com/modelica/ModelicaStandardLibrary into DagBruck_01 --------- Co-authored-by: Dag Brück <dag.brueck@3ds.com> Co-authored-by: tobolar <tobolar@users.noreply.github.com> Co-authored-by: tobolar <jakub.tobolar@dlr.de>
beutlich
pushed a commit
to beutlich/ModelicaStandardLibrary
that referenced
this issue
Jun 2, 2023
# Conflicts: # Modelica/Electrical/Machines/Examples/SynchronousMachines/SMPM_NoLoad.mo
beutlich
pushed a commit
to beutlich/ModelicaStandardLibrary
that referenced
this issue
Jun 2, 2023
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Many models in MSL contain near-zero coordinates in graphical annotations, for example
annotation (Line(points={{5.55112e-16,-49},{0,-42}}, color={0,0,127}));
The most likely historical cause for these coordinates is a rounding-bug in Dymola. Anticipating the planned MSL-cleanup project, I have search for likely candidates that should be replaced by
0
, see attached list: nearzero.txtThe text was updated successfully, but these errors were encountered: