Skip to content
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

Length parameters incorrectly declared as distance #526

Closed
modelica-trac-importer opened this issue Jan 14, 2017 · 3 comments
Closed

Length parameters incorrectly declared as distance #526

modelica-trac-importer opened this issue Jan 14, 2017 · 3 comments
Assignees
Labels
bug Critical/severe issue duplicate Duplicate issue L: Mechanics.Translational Issue addresses Modelica.Mechanics.Translational
Milestone

Comments

@modelica-trac-importer
Copy link

Reported by jriel on 11 Apr 2011 19:10 UTC
The partial models

Modelica.Mechanics.Translational.Interfaces.PartialCompliantWithRelativeStates
Modelica.Mechanics.Translational.Interfaces.PartialCompliant

incorrectly declare the variable

SI.Distance s_rel(start=0) "relative distance (= flange_b.s - flange_a.s)";

This should be declared as SI.Length. The Distance type specifies a minimum value of 0, which is not relevant for this variable (the spring equations are valid regardless whether the spring is compressed past the 0 length).


Migrated-From: https://trac.modelica.org/Modelica/ticket/526

@modelica-trac-importer modelica-trac-importer added bug Critical/severe issue L: Mechanics.Translational Issue addresses Modelica.Mechanics.Translational labels Jan 14, 2017
@modelica-trac-importer
Copy link
Author

Modified by dietmarw on 12 Apr 2011 06:07 UTC

@modelica-trac-importer
Copy link
Author

Comment by anonymous on 12 Apr 2011 10:00 UTC
Duplicate of #446

@modelica-trac-importer
Copy link
Author

Modified by dietmarw on 12 Apr 2011 10:31 UTC

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Critical/severe issue duplicate Duplicate issue L: Mechanics.Translational Issue addresses Modelica.Mechanics.Translational
Projects
None yet
Development

No branches or pull requests

2 participants