%% IMPACT model file

% Release
rRelease = 1.0;

% WEC type
iWecType = 3;

% Gravity
rGRAVITY = 9.81;

% Water density
rDENSITY = 1025;

% Floater

% Centre of gravity (from mean sea surface)
rCogFloater = -0.7;
% Body masses and Volume
rFloaterMass = 727000;
rFloaterVolume = 708.774;

% Moment of Inertia
rFloaterIx = 2.1e+07;
rFloaterIy = 2.1e+07;
rFloaterIz = 3.7e+07;
arFloaterInertia = [2.1e+07 0 0;0 2.1e+07 0;0 0 3.7e+07];

% Additional damping
rAddedDampingBody1 = 0;
% Spar

% Centre of gravity (from mean sea surface)
rCogSpar = -21.3;

% Body masses and Volume
rSparMass = 903000;

rSparVolume = 881.826;

% Moment of Inertia
rSparIx = 9.4e+07;
rSparIy = 9.4e+07;
rSparIz = 2.9e+07;
arSparInertia = [9.4e+07 0 0;0 9.4e+07 0;0 0 2.9e+07];

% Additional damping
rAddedDampingBody2 = 4.3472e+05;

rTetherSpring = 0;
rTetherPretension = 0;
rTetherLength0 = 0;

% Mooring
rMooringX = 10000;
rMooringY = 10000;
rMooringZ = 0;

% Pto
s = tf('s');
tfPto = tf([ 1.000],[ 1.000]);

% Hydrodyanmics parameters
iBodyToBodyInteraction = 1;

% BEM .H5 file
stH5File = fullfile(matlabroot,'toolbox','IMPACT','demo','wec3','hydro','wec3.h5');
