Skip to content

Unit errors when calling Modelica.Mechanics.MultiBody.Frames.from_nxy #4192

@qlambert-pro

Description

@qlambert-pro

Modelica.Mechanics.MultiBody.Frames.from_nxy is expecting unit "1" inputs but in at least:
Modelica.Mechanics.MultiBody.Parts.BodyCylinder and Modelica.Mechanics.MultiBody.Parts.BodyBox it is being called with variables expressed in "m".

I see two solutions to address this issue, one would be to divide the corresponding variable by its length, and the other would be to call Modelica.Units.Conversions.to_unit1.

Which one is preferred?

Metadata

Metadata

Assignees

No one assigned

    Labels

    L: Mechanics.MultiBodyIssue addresses Modelica.Mechanics.MultiBody

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions