WECCCOMP – Forums › WECCCOMP forum › Restoring force is shifted up? › Reply To: Restoring force is shifted up?
Paolo,
That is correct, in WEC-Sim the equations of motion for each body (either hydrodynamic or non-hydrodynamic) are defined about the center of gravity of each body. The origin of the model is at the still water line above the float center of buoyancy and all bodies, constraints, and ptos are defined from that origin. the The center of gravity of the float can be obtained from “body(1).cg” after loading the .h5 file which is [0.0511 m, 0 m, 0.0533 m]. The location of Point A can be found from “constraint(2).loc” which is [-0.438 m, 0 m, 0.302 m]. Therefore the vector from Point A to the center of gravity of the float would be [0.4891 m, 0 m, 0.2487 m]. Please let us know if you have any other questions or need more clarification on model parameters.
Cheers,
Nathan Tom
National Renewable Energy Laboratory