Skip to content

OSWEC Tutorial Moment of Inertia tensor inconsistency #890

@hresing

Description

@hresing

In the OSWEC tutorial documentation, the moment of inertia is written as
image
I would think that this moment of inertia should be about the y axis given that the y axis is the pitch axis in WEC-Sim.
In addition, in the tutorial wecSimInput File, the moment of inertia is written as
body(1).inertia = [1.85e6 1.85e6 1.85e6]; % Moment of Inertia [kg-m^2]
with all three of the directions as equal.

Is this intentional, or is this a typo in both places as it seems to be?

Also, has there been a change in the notation of moment of inertia of a body in the code? I have been using my downloaded version (and downloaded tutorial input file) with body(i).momOfInertia, but the documentation I am looking at now simply uses body(i).inertia.

Personal project context
I am trying to model a similar OSWEC and thought that the tutorial could be a good point of reference.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Documentationrelated to docsSupportQuestions that need answering but do not require code changes

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions