Skip to content

Commit

Permalink
Fixed mass and xCG_RNA of the IEA15MW in the example and the tests
Browse files Browse the repository at this point in the history
The total mass and the x coordinate of the center of gravity of the RNA were wrong in `examples/VolturnUS-S_example.yaml`, `tests/test_data/IEA15MW.yaml`, `tests/test_data/VolturnUS-S.yaml` and `tests/test_data/VolturnUS-S_farm.yaml`.

Updated the true values of the corresponding tests.
  • Loading branch information
lucas-carmo committed Dec 30, 2024
1 parent 69b8695 commit cb14509
Show file tree
Hide file tree
Showing 8 changed files with 66 additions and 66 deletions.
4 changes: 2 additions & 2 deletions examples/VolturnUS-S_example.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -27,10 +27,10 @@ cases:

turbine:

mRNA : 991000 # [kg] RNA mass
mRNA : 1001505.907 # [kg] RNA mass: m_blades = 3*68076.969 = 204230.907 kg (from ED.sum), m_yawbearing = 100000 kg, m_hub = 190000 kg, m_nacelle = 507275 kg
IxRNA : 0 # [kg-m2] RNA moment of inertia about local x axis (assumed to be identical to rotor axis for now, as approx) [kg-m^2]
IrRNA : 0 # [kg-m2] RNA moment of inertia about local y or z axes [kg-m^2]
xCG_RNA : 0 # [m] x location of RNA center of mass [m] (Actual is ~= -0.27 m)
xCG_RNA : -7.27 # [m] x location of RNA center of mass [m]: xg_blades = -13.0 m, xg_hub = -11.0 m, xg_nac = -4.99 m, xg_yaw = 0.0 m
hHub : 150.0 # [m] hub height above water line [m]
#rRNA : [0,0, 148.742] # [m] Can use the position of the RNA reference point (which the RNA yaws about) with respect to the FOWT reference point. If also providing hHub, the z coord be overwritten.
Fthrust : 1500.0E3 # [N] temporary thrust force to use
Expand Down
4 changes: 2 additions & 2 deletions tests/test_data/IEA15MW.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,10 @@ site:
shearExp : 0.12 # shear exponent

turbine:
mRNA : 991000 # [kg] RNA mass
mRNA : 1001505.907 # [kg] RNA mass: m_blades = 3*68076.969 = 204230.907 kg (from ED.sum), m_yawbearing = 100000 kg, m_hub = 190000 kg, m_nacelle = 507275 kg
IxRNA : 0 # [kg-m2] RNA moment of inertia about local x axis (assumed to be identical to rotor axis for now, as approx) [kg-m^2]
IrRNA : 0 # [kg-m2] RNA moment of inertia about local y or z axes [kg-m^2]
xCG_RNA : 0 # [m] x location of RNA center of mass [m] (Actual is ~= -0.27 m)
xCG_RNA : -7.27 # [m] x location of RNA center of mass [m]: xg_blades = -13.0 m, xg_hub = -11.0 m, xg_nac = -4.99 m, xg_yaw = 0.0 m
hHub : 150.0 # [m] hub height above water line [m]
Fthrust : 1500.0E3 # [N] temporary thrust force to use

Expand Down
4 changes: 2 additions & 2 deletions tests/test_data/VolturnUS-S.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -25,10 +25,10 @@ cases:

turbine:

mRNA : 991000 # [kg] RNA mass
mRNA : 1001505.907 # [kg] RNA mass: m_blades = 3*68076.969 = 204230.907 kg (from ED.sum), m_yawbearing = 100000 kg, m_hub = 190000 kg, m_nacelle = 507275 kg
IxRNA : 0 # [kg-m2] RNA moment of inertia about local x axis (assumed to be identical to rotor axis for now, as approx) [kg-m^2]
IrRNA : 0 # [kg-m2] RNA moment of inertia about local y or z axes [kg-m^2]
xCG_RNA : 0 # [m] x location of RNA center of mass [m] (Actual is ~= -0.27 m)
xCG_RNA : -7.27 # [m] x location of RNA center of mass [m]: xg_blades = -13.0 m, xg_hub = -11.0 m, xg_nac = -4.99 m, xg_yaw = 0.0 m
hHub : 150.0 # [m] hub height above water line [m]
Fthrust : 1500.0E3 # [N] temporary thrust force to use

Expand Down
4 changes: 2 additions & 2 deletions tests/test_data/VolturnUS-S_farm.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -42,10 +42,10 @@ array_mooring: # option for array-level mooring system

turbine:

mRNA : 991000 # [kg] RNA mass
mRNA : 1001505.907 # [kg] RNA mass: m_blades = 3*68076.969 = 204230.907 kg (from ED.sum), m_yawbearing = 100000 kg, m_hub = 190000 kg, m_nacelle = 507275 kg
IxRNA : 0 # [kg-m2] RNA moment of inertia about local x axis (assumed to be identical to rotor axis for now, as approx) [kg-m^2]
IrRNA : 0 # [kg-m2] RNA moment of inertia about local y or z axes [kg-m^2]
xCG_RNA : 0 # [m] x location of RNA center of mass [m] (Actual is ~= -0.27 m)
xCG_RNA : -7.27 # [m] x location of RNA center of mass [m]: xg_blades = -13.0 m, xg_hub = -11.0 m, xg_nac = -4.99 m, xg_yaw = 0.0 m
hHub : 150.0 # [m] hub height above water line [m]
Fthrust : 1500.0E3 # [N] temporary thrust force to use

Expand Down
Binary file modified tests/test_data/VolturnUS-S_farm_true_analyzeCases.pkl
Binary file not shown.
Binary file modified tests/test_data/VolturnUS-S_true_analyzeCases.pkl
Binary file not shown.
20 changes: 10 additions & 10 deletions tests/test_fowt.py
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
'''
# Structure related quantities
desired_rCG = [
np.array([ 2.34101810e-15, 7.81354773e-16, -2.03398326e+00]),
np.array([-3.78742736e-01, 7.80925410e-16, -1.91132267e+00]),
np.array([ 0, 0, -78.03525272 ]),
]
desired_rCG_sub = [
Expand All @@ -49,12 +49,12 @@
]

desired_M_struc = [
np.array([[ 1.91081767e+07, 0.00000000e+00, 0.00000000e+00, 0.00000000e+00, -3.88657114e+07, -1.49302650e-08],
[ 0.00000000e+00, 1.91081767e+07, 0.00000000e+00, 3.88657114e+07, 0.00000000e+00, 4.47325874e-08],
[ 0.00000000e+00, 0.00000000e+00, 1.91081767e+07, 1.49302650e-08, -4.47325874e-08, 0.00000000e+00],
[ 0.00000000e+00, 3.88657114e+07, 1.49302650e-08, 4.22011083e+10, 9.54605639e-07, 4.76371497e-07],
[-3.88657114e+07, 0.00000000e+00, -4.47325874e-08, 9.54605639e-07, 4.22011083e+10, 4.76371497e-07],
[-1.49302650e-08, 4.47325874e-08, 0.00000000e+00, 5.96046448e-07, 4.76371497e-07, 2.05595816e+10]]),
np.array([[ 1.91186826e+07, 0.00000000e+00, -7.72177272e-12, 0.00000000e+00, -3.65419714e+07, -1.49302650e-08],
[ 0.00000000e+00, 1.91186826e+07, 0.00000000e+00, 3.65419714e+07, 0.00000000e+00, -7.24106215e+06],
[ 1.30711139e-11, 0.00000000e+00, 1.91186826e+07, 1.49302650e-08, 7.24106215e+06, 0.00000000e+00],
[ 0.00000000e+00, 3.65419714e+07, 1.49302650e-08, 4.26605281e+10, 9.54605639e-07, 1.08255551e+09],
[-3.65419714e+07, 0.00000000e+00, 7.24106215e+06, 9.54605639e-07, 4.27128822e+10, 4.76371497e-07],
[-1.49302650e-08, -7.24106215e+06, 0.00000000e+00, 1.08255551e+09, 4.76371497e-07, 2.06119358e+10]]),
np.array([[ 8.08951257e+06, 0.00000000e+00, -3.63797881e-12, 0.00000000e+00, -6.31267158e+08, 0.00000000e+00],
[ 0.00000000e+00, 8.08951257e+06, 0.00000000e+00, 6.31267158e+08, 0.00000000e+00, 0.00000000e+00],
[ 3.63797881e-12, 0.00000000e+00, 8.08951257e+06, 0.00000000e+00, 3.25832739e-10, 0.00000000e+00],
Expand Down Expand Up @@ -82,8 +82,8 @@
np.array([[ 0.00000000e+00, 0.00000000e+00, 0.00000000e+00, 0.00000000e+00, 0.00000000e+00, 0.00000000e+00],
[ 0.00000000e+00, 0.00000000e+00, 0.00000000e+00, 0.00000000e+00, 0.00000000e+00, 0.00000000e+00],
[ 0.00000000e+00, 0.00000000e+00, 0.00000000e+00, 0.00000000e+00, 0.00000000e+00, 0.00000000e+00],
[ 0.00000000e+00, 0.00000000e+00, 0.00000000e+00, 3.81272628e+08, 0.00000000e+00, 0.00000000e+00],
[ 0.00000000e+00, 0.00000000e+00, 0.00000000e+00, 0.00000000e+00, 3.81272628e+08, 0.00000000e+00],
[ 0.00000000e+00, 0.00000000e+00, 0.00000000e+00, 3.58476739e+08, 0.00000000e+00, 0.00000000e+00],
[ 0.00000000e+00, 0.00000000e+00, 0.00000000e+00, 0.00000000e+00, 3.58476739e+08, 0.00000000e+00],
[ 0.00000000e+00, 0.00000000e+00, 0.00000000e+00, 0.00000000e+00, 0.00000000e+00, 0.00000000e+00]]),
np.array([[ 0.00000000e+00, 0.00000000e+00, 0.00000000e+00, 0.00000000e+00, 0.00000000e+00, 0.00000000e+00],
[ 0.00000000e+00, 0.00000000e+00, 0.00000000e+00, 0.00000000e+00, 0.00000000e+00, 0.00000000e+00],
Expand All @@ -94,7 +94,7 @@
]

desired_W_struc = [
np.array([ 0.00000000e+00, 0.00000000e+00, -1.87451213e+08, -2.38651410e-07, 3.58093530e-07, 0.00000000e+00]),
np.array([ 0.00000000e+00, 0.00000000e+00, -1.87554276e+08, -2.38651410e-07, -7.10348197e+07, 0.00000000e+00]),
np.array([ 0.00000000e+00, 0.00000000e+00, -7.93581183e+07, 0.00000000e+00, 0.00000000e+00, 0.00000000e+00]),
]

Expand Down
Loading

0 comments on commit cb14509

Please sign in to comment.