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

Component defined twice in Modelica.Mechanics.Rotational.Components.Clutch #1162

Closed
modelica-trac-importer opened this issue Jan 14, 2017 · 1 comment
Assignees
Labels
enhancement New feature or enhancement L: Mechanics.Rotational Issue addresses Modelica.Mechanics.Rotational
Milestone

Comments

@modelica-trac-importer
Copy link

Reported by Frenkel on 7 Jun 2013 11:21 UTC
In the Model Modelica.Mechanics.Rotational.Components.Clutch the Component

  Modelica.SIunits.AngularAcceleration a_rel(start=0) 
    "Relative angular acceleration (= der(w_rel))";

is defined twice because the base class Modelica.Mechanics.Rotational.Interfaces.PartialCompliantWithRelativeStates already defines

  Modelica.SIunits.AngularAcceleration a_rel(start=0) 
    "Relative angular acceleration (= der(w_rel))";

Hence Modelica.Mechanics.Rotational.Components.Clutch inherit from Modelica.Mechanics.Rotational.Interfaces.PartialCompliantWithRelativeStates the second definition of a_rel is unnecessary and should be removed.


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

@modelica-trac-importer modelica-trac-importer added enhancement New feature or enhancement L: Mechanics.Rotational Issue addresses Modelica.Mechanics.Rotational labels Jan 14, 2017
@modelica-trac-importer
Copy link
Author

Comment by beutlich on 7 Jun 2013 11:42 UTC
Resolved by 6f0b68f. Thanks, Jens.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or enhancement L: Mechanics.Rotational Issue addresses Modelica.Mechanics.Rotational
Projects
None yet
Development

No branches or pull requests

2 participants