ajay-menon-iitkgp / OET_Sys-MoDEL

Modelica Ocean Engineering Toolbox (OET) - Symbolic simulation of a single-degree-of-freedom rigid body in unidirectional, polychromatic seas.
GNU General Public License v3.0
2 stars 2 forks source link

Incorrect SS matrices from BEMIO HDF output #16

Closed ajay-menon-iitkgp closed 2 months ago

ajay-menon-iitkgp commented 4 months ago

The HDF contains structures for matrices, A, B, C, and D. After extracting the data in heave (3,3), and stripping away blank rows/columns, all 4 SS matrices fail to match the ss_rad33 structure in BEMdata.mat.

Investigate the reasons for this conflict. Could be the choice of indices to extract.

ajay-menon-iitkgp commented 2 months ago

The A, B and C matrices have to be transposed. BEMIO uses an internal function to transform these matrices during WEC-Sim processing. This must be manually reversed in the OET. D is a zero matrix (at present) and does not need transformation.