Opened 7 years ago
Last modified 3 years ago
#4471 assigned defect
Support IdealizedContact Library
Reported by: | Oliver Lenord | Owned by: | Adrian Pop |
---|---|---|---|
Priority: | high | Milestone: | |
Component: | Third-Party Libraries | Version: | v1.11.0 |
Keywords: | IdealizedContact, library coverage | Cc: |
Description
Simulating IdealizedContact.Examples.Example1 throws the following error message below.
The IdealizedContact library is not listed under libray coverage.
Are there any plans to support the idealized contact library in the future?
[3] 13:49:45 Übersetzung Fehler
[IdealizedContact: 16883:5-16919:11]: Class specialization violation: .Modelica.Icons.TypeString is a type, not a connector.
[4] 13:49:45 Übersetzung Fehler
Error occurred while flattening model IdealizedContact.Examples.Example1
Change History (13)
comment:1 by , 7 years ago
comment:2 by , 7 years ago
Milestone: | Future → 1.12.0 |
---|---|
Status: | new → accepted |
comment:3 by , 7 years ago
Some problems fixed with 564c405. Seems to be backend issues due to modifications on outer elements in the library though. I'll see what the coverage suite says after these changes.
comment:4 by , 7 years ago
Milestone: | 1.12.0 → 1.13.0 |
---|
Milestone moved to 1.13.0 due to 1.12.0 already being released.
follow-up: 6 comment:5 by , 7 years ago
1.12.0 and the master pass the frontend, but most examples fail in the backend: https://libraries.openmodelica.org/branches/master/IdealizedContact/IdealizedContact.html
comment:6 by , 7 years ago
Replying to sjoelund.se:
1.12.0 and the master pass the frontend, but most examples fail in the backend: https://libraries.openmodelica.org/branches/master/IdealizedContact/IdealizedContact.html
just an information, are you going to fix this problem in the next release?
thank you
follow-up: 8 comment:7 by , 7 years ago
Owner: | changed from | to
---|---|
Status: | accepted → assigned |
@adrpo: Will we fix this? It seems related to equalityConstraint / overconstrained connectors which I don't understand at all.
comment:8 by , 7 years ago
Replying to sjoelund.se:
@adrpo: Will we fix this? It seems related to equalityConstraint / overconstrained connectors which I don't understand at all.
It seems to me that in the class IdealizedContact.ContactSurfaces.SphericalContactSurface there is an unnecessary connection:
connect(shape.frame_a, contact_a.frame) annotation (Line(
points={{-10,22},{-10,8},{100,8}},
color={95,95,95},
pattern=LinePattern.None,
thickness=0.5,
smooth=Smooth.None));
If commented, the problem of an overdetermined system seems to be fixed (at least for example 1, where only spherical contacts are involved) and the simulation starts. Also in other classes of IdealizedContact.ContactSurfaces there is this problem. However, the simulation of the examples with other types of surface does not work because OMEdit can not handle "replaceable" keyword in the declaration in the class IdealizedContact.ContactBlock.Contact.
comment:10 by , 5 years ago
Milestone: | 1.14.0 → 1.16.0 |
---|
Releasing 1.14.0 which is stable and has many improvements w.r.t. 1.13.2. This issue is rescheduled to 1.16.0
comment:12 by , 4 years ago
Milestone: | 1.17.0 → 1.18.0 |
---|
Retargeted to 1.18.0 because of 1.17.0 timed release.
I added the library to the coverage suite. I guess the fix needed would be to allow:
(And to check the restrictions on connectors elsewhere?)