Opened 12 years ago
Closed 12 years ago
#1876 closed defect (fixed)
Expandable connectors: wrong equations generation in Multibody
Reported by: | Bruno Scaglioni | Owned by: | Adrian Pop |
---|---|---|---|
Priority: | high | Milestone: | 1.9.0 |
Component: | Backend | Version: | trunk |
Keywords: | expandable connectors | Cc: |
Description
While testing multibody library for MSL 3.2.1 I disovered that the example systems.oneAxis don't simulate anymore (MSL 3.1 simulates) because the flattened model has more equations then variables.
Class Modelica.Mechanics.MultiBody.Examples.Systems.RobotR3.oneAxis has 445 equation(s) and 500 variable(s). 329 of these are trivial equation(s).
Exploring the flattened code from 3.1 and 3.2.1 i discovered that inside controlBus
model all the equations of the six axisControlBus
are activated nevertheless only variables of axisControlBus1
are assigned (look at PathPlanning1 model), so, referring to Modelica Specification 3.2 rev1 only equations with a matching variables should be activated.
This happens in MSL 3.2.1 because controlBus
model containing the six axisControlBus does not expand anymore an empty controlBus
model but in 3.2.1 only the controlBus within six axisControlBus exist. However the models are compliant to the 3.2 rev 1 Specific and they simulate correctly in Dymola, so this should be fixed.
Attachments (2)
Change History (6)
by , 12 years ago
Attachment: | oneAxis31flat.txt added |
---|
comment:1 by , 12 years ago
Owner: | changed from | to
---|---|
Status: | new → accepted |
comment:4 by , 12 years ago
Resolution: | → fixed |
---|---|
Status: | accepted → closed |
Flat model of MSL 3.1