Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 5 additions & 5 deletions test/turbine/test_turbine.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
from pathlib import Path
import windIO
import windIO.schemas
from windIO.converters.windIO2windIO import v1p0_to_v2p0, v2p0_to_v2p1
from windIO.converters.windIO2windIO import v1p0_to_v2p1, v2p0_to_v2p1

from jsonschema import Draft7Validator

Expand Down Expand Up @@ -74,7 +74,7 @@ def test_v1p0_2p0_converter_IEA_15_240_RWT(self):
filename_v2p0 = test_dir / "v2p0" / "IEA-15-240-RWT.yaml"
filename_v2p1 = test_dir / "IEA-15-240-RWT.yaml"

converter = v1p0_to_v2p0(filename_v1p0, filename_v2p0)
converter = v1p0_to_v2p1(filename_v1p0, filename_v2p1)
converter.convert()

converter = v2p0_to_v2p1(filename_v2p0, filename_v2p1)
Expand All @@ -89,7 +89,7 @@ def test_v1p0_2p0_converter_IEA_15_240_RWT_VolturnUS_S(self):
filename_v2p0 = test_dir / "v2p0" / "IEA-15-240-RWT_VolturnUS-S.yaml"
filename_v2p1 = test_dir / "IEA-15-240-RWT_VolturnUS-S.yaml"

converter = v1p0_to_v2p0(filename_v1p0, filename_v2p0)
converter = v1p0_to_v2p1(filename_v1p0, filename_v2p1)
converter.convert()

converter = v2p0_to_v2p1(filename_v2p0, filename_v2p1)
Expand All @@ -101,7 +101,7 @@ def test_v1p0_2p0_converter_IEA_22_280_RWT(self):
filename_v2p0 = test_dir / "v2p0" / "IEA-22-280-RWT.yaml"
filename_v2p1 = test_dir / "IEA-22-280-RWT.yaml"

converter = v1p0_to_v2p0(filename_v1p0, filename_v2p0)
converter = v1p0_to_v2p1(filename_v1p0, filename_v2p1)
converter.convert()

converter = v2p0_to_v2p1(filename_v2p0, filename_v2p1)
Expand All @@ -116,7 +116,7 @@ def test_v1p0_2p0_converter_IEA_22_280_RWT_Floater(self):
filename_v2p0 = test_dir / "v2p0" / "IEA-22-280-RWT_Floater.yaml"
filename_v2p1 = test_dir / "IEA-22-280-RWT_Floater.yaml"

converter = v1p0_to_v2p0(filename_v1p0, filename_v2p0)
converter = v1p0_to_v2p1(filename_v1p0, filename_v2p1)
converter.convert()

converter = v2p0_to_v2p1(filename_v2p0, filename_v2p1)
Expand Down
1,107 changes: 1,107 additions & 0 deletions test/turbine/v2p0/IEA-15-240-RWT.yaml

Large diffs are not rendered by default.

1,336 changes: 1,336 additions & 0 deletions test/turbine/v2p0/IEA-15-240-RWT_VolturnUS-S.yaml

Large diffs are not rendered by default.

1,515 changes: 1,515 additions & 0 deletions test/turbine/v2p0/IEA-22-280-RWT.yaml

Large diffs are not rendered by default.

1,815 changes: 1,815 additions & 0 deletions test/turbine/v2p0/IEA-22-280-RWT_Floater.yaml

Large diffs are not rendered by default.

566 changes: 312 additions & 254 deletions windIO/converters/windIO2windIO.py

Large diffs are not rendered by default.

55 changes: 22 additions & 33 deletions windIO/examples/turbine/IEA-22-280-RWT_Floater.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -736,8 +736,8 @@ components:
tower:
outer_shape:
outer_diameter:
grid: [0.0, 0.021339950396958213, 0.05508684863374078, 0.08883374687052335, 0.1225806451742466, 0.15632754341102914, 0.19007444171475243, 0.22382133995153497, 0.25756823818831753, 0.29131513649204077, 0.32506203472882333, 0.3588089330325465, 0.39255583126932914, 0.4263027295061117, 0.460049627809835, 0.4937965260466175, 0.5275434243503407, 0.5612903225871233, 0.5950372208239059, 0.6287841191276291, 0.6625310173644117, 0.6962779156011942, 0.7300248139049175, 0.7637717121417, 0.797518610445423, 0.8312655086822058, 0.8650124069189884, 0.8987593052227116, 0.9325062034594942, 0.9662531017632174, 1.0]
values: [10.0, 10.0, 10.0, 9.912094021695989, 9.798867733731491, 9.683212549424754, 9.565013152460448, 9.444143041221963, 9.32046327388989, 9.193820595794387, 9.064045585255547, 8.930949935438123, 8.7943237728865, 8.653931280153058, 8.509507328072138, 8.360748211231963, 8.207312432063077, 8.04878734454046, 7.884738119855545, 7.714515454243951, 7.5377038035774415, 7.352762941451701, 7.160611652753185, 6.954372565429866, 6.747495507438188, 6.494067002004703, 6.171403973994344, 6.000000000000001, 6.000000000000001, 6.000000000000001, 6.000000000000001]
grid: [0.0, 0.021488021026384082, 0.05546045759342254, 0.08943963338612398, 0.12341206995316241, 0.15063854163156656, 0.18461097819860506, 0.2185901539913065, 0.2525625905583449, 0.28653502712538337, 0.3205142029180848, 0.3544866394851232, 0.3884590760521617, 0.4224382518448631, 0.4564106884119015, 0.49038312497894, 0.5243623007716414, 0.5583347373386799, 0.5923071739057183, 0.6262863496984197, 0.6602587862654582, 0.6942312228324966, 0.728203659399535, 0.7621828351922364, 0.7961552717592748, 0.8301277083263132, 0.8641068841190147, 0.8980793206860531, 0.9320517572530915, 0.966030933045793, 1.0]
values: [12.0, 12.0, 12.0, 12.0, 12.0, 12.0, 12.0, 12.0, 11.973, 11.96, 11.516, 11.497, 11.048, 11.039, 10.581, 10.563, 10.104, 10.08, 9.608, 9.582, 9.093, 9.06, 8.563, 8.523, 8.02, 7.98, 7.462, 7.452, 7.08, 6.741, 6.0]
cd:
grid: [0.0, 1.0]
values: [0.5, 0.5]
Expand All @@ -746,29 +746,18 @@ components:
- name: tower_wall
material: steel
thickness:
grid: [0.0, 0.021339950396958213, 0.05508684863374078, 0.08883374687052335, 0.1225806451742466, 0.15632754341102914, 0.19007444171475243, 0.22382133995153497, 0.25756823818831753, 0.29131513649204077, 0.32506203472882333, 0.3588089330325465, 0.39255583126932914, 0.4263027295061117, 0.460049627809835, 0.4937965260466175, 0.5275434243503407, 0.5612903225871233, 0.5950372208239059, 0.6287841191276291, 0.6625310173644117, 0.6962779156011942, 0.7300248139049175, 0.7637717121417, 0.797518610445423, 0.8312655086822058, 0.8650124069189884, 0.8987593052227116, 0.9325062034594942, 0.9662531017632174, 1.0]
values: [0.06693667948991197, 0.0657205223939668, 0.06351493329530639, 0.061622565059606595, 0.06157094605240987, 0.060192055856069474, 0.06010935491737136, 0.05869787142742862, 0.05858091817360326, 0.05713335614043083, 0.05697830761612923, 0.0554904145092067, 0.05529254628422707, 0.05375904790846814, 0.05351244349797769, 0.051926653721110175, 0.051623725388870445, 0.04997689829782623, 0.04960763591844826, 0.04788769899446825, 0.047438671357998265, 0.045626745971738734, 0.04508184480811805, 0.04313680782593655, 0.04249986371535212, 0.04025991352805275, 0.04051397047416457, 0.038444152485609936, 0.0384440711088536, 0.0384440711088536, 0.0384440711088536]
elastic_properties:
stiffness_matrix:
grid: [0.0, 0.021339950396958213, 0.05508684863374078, 0.08883374687052335, 0.1225806451742466, 0.15632754341102914, 0.19007444171475243, 0.22382133995153497, 0.25756823818831753, 0.29131513649204077, 0.32506203472882333, 0.3588089330325465, 0.39255583126932914, 0.4263027295061117, 0.460049627809835, 0.4937965260466175, 0.5275434243503407, 0.5612903225871233, 0.5950372208239059, 0.6287841191276291, 0.6625310173644117, 0.6962779156011942, 0.7300248139049175, 0.7637717121417, 0.797518610445423, 0.8312655086822058, 0.8650124069189884, 0.8987593052227116, 0.9325062034594942, 0.9662531017632174, 1.0]
K44: [5106689465616.353, 5042108545477.53, 4868242065881.013, 4651956765544.676, 4441230244292.435, 4235232340100.391, 4032192572364.038, 3832204911662.1934, 3635364091299.148, 3441765834302.324, 3251507039066.2236, 3064685968304.409, 2881402322848.799, 2701757449357.6826, 2525853953527.49, 2353796496876.5527, 2185688923473.3433, 2021639993418.6104, 1861745277391.5596, 1706128483244.2153, 1554824932179.058, 1408066577167.4797, 1265519041938.851, 1128196737817.7595, 993459192347.8511, 857979804390.1047, 737832564527.5537, 662566714067.7698, 639759003540.2323, 639758671508.144, 639758671508.144]
K55: [5106689465616.353, 5042108545477.53, 4868242065881.013, 4651956765544.676, 4441230244292.435, 4235232340100.391, 4032192572364.038, 3832204911662.1934, 3635364091299.148, 3441765834302.324, 3251507039066.2236, 3064685968304.409, 2881402322848.799, 2701757449357.6826, 2525853953527.49, 2353796496876.5527, 2185688923473.3433, 2021639993418.6104, 1861745277391.5596, 1706128483244.2153, 1554824932179.058, 1408066577167.4797, 1265519041938.851, 1128196737817.7595, 993459192347.8511, 857979804390.1047, 737832564527.5537, 662566714067.7698, 639759003540.2323, 639758671508.144, 639758671508.144]
K66: [4049604746233.7676, 3998392076563.6816, 3860515958243.6426, 3689001715076.928, 3521895583723.901, 3358539245699.6104, 3197528709884.682, 3038938494948.119, 2882843724400.2246, 2729320306601.743, 2578445081979.5156, 2430295972865.3965, 2284952042019.0977, 2142493657340.642, 2003002185147.2996, 1866560622023.106, 1733251316314.3613, 1603160514780.958, 1476364004971.5066, 1352959887212.6628, 1232976171217.9932, 1116596795693.8115, 1003556600257.509, 894660013089.4833, 787813139531.8458, 680377984881.353, 585101223670.3501, 525415404255.74133, 507328889807.4042, 507328626505.9582, 507328626505.9582]
inertia_matrix:
grid: [0.0, 0.021339950396958213, 0.05508684863374078, 0.08883374687052335, 0.1225806451742466, 0.15632754341102914, 0.19007444171475243, 0.22382133995153497, 0.25756823818831753, 0.29131513649204077, 0.32506203472882333, 0.3588089330325465, 0.39255583126932914, 0.4263027295061117, 0.460049627809835, 0.4937965260466175, 0.5275434243503407, 0.5612903225871233, 0.5950372208239059, 0.6287841191276291, 0.6625310173644117, 0.6962779156011942, 0.7300248139049175, 0.7637717121417, 0.797518610445423, 0.8312655086822058, 0.8650124069189884, 0.8987593052227116, 0.9325062034594942, 0.9662531017632174, 1.0]
mass: [16249.131599475118, 16040.93058473263, 15549.377936201185, 15071.803732885608, 14705.82737948099, 14360.65985254867, 14012.129985349235, 13660.14784281365, 13304.612716256794, 12945.411810351477, 12582.418566479411, 12215.49062571488, 11844.467083568084, 11469.165401506238, 11089.376204770466, 10704.85959514309, 10315.331408084245, 9920.467933232263, 9519.847752753105, 9113.04379445577, 8699.276865190546, 8278.206755650055, 7847.543029996954, 7409.151001851857, 6951.671575768958, 6490.705330977209, 6076.938478144969, 5769.384947605469, 5652.085883639368, 5652.08291190599, 5652.08291190599]
structural_damping:
mu: [0.0, 0.0, 0.0, 0.0, 0.0, 0.0]
grid: [0.0, 0.021488021026384082, 0.05546045759342254, 0.08943963338612398, 0.12341206995316241, 0.15063854163156656, 0.18461097819860506, 0.2185901539913065, 0.2525625905583449, 0.28653502712538337, 0.3205142029180848, 0.3544866394851232, 0.3884590760521617, 0.4224382518448631, 0.4564106884119015, 0.49038312497894, 0.5243623007716414, 0.5583347373386799, 0.5923071739057183, 0.6262863496984197, 0.6602587862654582, 0.6942312228324966, 0.728203659399535, 0.7621828351922364, 0.7961552717592748, 0.8301277083263132, 0.8641068841190147, 0.8980793206860531, 0.9320517572530915, 0.966030933045793, 1.0]
values: [0.118225, 0.118225, 0.113191, 0.107086, 0.101219, 0.095529, 0.089934, 0.084557, 0.079579, 0.074789, 0.073361, 0.071914, 0.070489, 0.06902, 0.06756, 0.066073, 0.064599, 0.063076, 0.061535, 0.059966, 0.058392, 0.056728, 0.055083, 0.053392, 0.051695, 0.05008, 0.048672, 0.047376, 0.04586, 0.044524, 0.044524]
reference_axis:
x:
grid: [0.0, 0.021339950396958213, 0.05508684863374078, 0.08883374687052335, 0.1225806451742466, 0.15632754341102914, 0.19007444171475243, 0.22382133995153497, 0.25756823818831753, 0.29131513649204077, 0.32506203472882333, 0.3588089330325465, 0.39255583126932914, 0.4263027295061117, 0.460049627809835, 0.4937965260466175, 0.5275434243503407, 0.5612903225871233, 0.5950372208239059, 0.6287841191276291, 0.6625310173644117, 0.6962779156011942, 0.7300248139049175, 0.7637717121417, 0.797518610445423, 0.8312655086822058, 0.8650124069189884, 0.8987593052227116, 0.9325062034594942, 0.9662531017632174, 1.0]
values: [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0]
grid: [0.0, 1.0]
values: [0.0, 0.0]
y:
grid: [0.0, 0.021339950396958213, 0.05508684863374078, 0.08883374687052335, 0.1225806451742466, 0.15632754341102914, 0.19007444171475243, 0.22382133995153497, 0.25756823818831753, 0.29131513649204077, 0.32506203472882333, 0.3588089330325465, 0.39255583126932914, 0.4263027295061117, 0.460049627809835, 0.4937965260466175, 0.5275434243503407, 0.5612903225871233, 0.5950372208239059, 0.6287841191276291, 0.6625310173644117, 0.6962779156011942, 0.7300248139049175, 0.7637717121417, 0.797518610445423, 0.8312655086822058, 0.8650124069189884, 0.8987593052227116, 0.9325062034594942, 0.9662531017632174, 1.0]
values: [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0]
grid: [0.0, 1.0]
values: [0.0, 0.0]
z:
grid: [0.0, 0.021339950396958213, 0.05508684863374078, 0.08883374687052335, 0.1225806451742466, 0.15632754341102914, 0.19007444171475243, 0.22382133995153497, 0.25756823818831753, 0.29131513649204077, 0.32506203472882333, 0.3588089330325465, 0.39255583126932914, 0.4263027295061117, 0.460049627809835, 0.4937965260466175, 0.5275434243503407, 0.5612903225871233, 0.5950372208239059, 0.6287841191276291, 0.6625310173644117, 0.6962779156011942, 0.7300248139049175, 0.7637717121417, 0.797518610445423, 0.8312655086822058, 0.8650124069189884, 0.8987593052227116, 0.9325062034594942, 0.9662531017632174, 1.0]
values: [15.0, 18.18788983, 23.22920397, 28.27051811, 33.31183226, 38.3531464, 43.39446055, 48.43577469, 53.47708883, 58.51840298, 63.55971712, 68.60103127, 73.64234541, 78.68365955, 83.7249737, 88.76628784, 93.80760199, 98.84891613, 103.89023027, 108.93154442, 113.97285856, 119.0141727, 124.05548685, 129.09680099, 134.13811514, 139.17942928, 144.22074342, 149.26205757, 154.30337171, 159.34468586, 164.386]
grid: [0.0, 0.021488021026384082, 0.05546045759342254, 0.08943963338612398, 0.12341206995316241, 0.15063854163156656, 0.18461097819860506, 0.2185901539913065, 0.2525625905583449, 0.28653502712538337, 0.3205142029180848, 0.3544866394851232, 0.3884590760521617, 0.4224382518448631, 0.4564106884119015, 0.49038312497894, 0.5243623007716414, 0.5583347373386799, 0.5923071739057183, 0.6262863496984197, 0.6602587862654582, 0.6942312228324966, 0.728203659399535, 0.7621828351922364, 0.7961552717592748, 0.8301277083263132, 0.8641068841190147, 0.8980793206860531, 0.9320517572530915, 0.966030933045793, 1.0]
values: [15.0, 18.1885, 23.2295, 28.2715, 33.3125, 37.3525, 42.3935, 47.4355, 52.4765, 57.5175, 62.5595, 67.6005, 72.6415, 77.6835, 82.7245, 87.7655, 92.8075, 97.8485, 102.8895, 107.9315, 112.9725, 118.0135, 123.0545, 128.0965, 133.1375, 138.1785, 143.2205, 148.2615, 153.3025, 158.3445, 164.386]
floating_platform:
transition_piece_mass: 100000.0
transition_piece_cost: 100000.0
Expand All @@ -782,39 +771,39 @@ components:
transition: true
cylindrical: false
- name: col1_keel
location: [65.0, 179.99999979432002, -25.0]
location: [65.0, 180.0, -25.0]
cylindrical: true
transition: false
- name: col1_freeboard
location: [65.0, 179.99999979432002, 15.0]
location: [65.0, 180.0, 15.0]
cylindrical: true
transition: false
- name: col2_keel
location: [65.0, 60.00000279622898, -25.0]
location: [65.0, 60.0, -25.0]
cylindrical: true
transition: false
- name: col2_freeboard
location: [65.0, 59.99999706665103, 15.0]
location: [65.0, 60.0, 15.0]
cylindrical: true
transition: false
- name: col3_keel
location: [65.0, -60.00000279622898, -25.0]
location: [65.0, -60.0, -25.0]
cylindrical: true
transition: false
- name: col3_freeboard
location: [65.0, -60.00000279622898, 15.0]
location: [65.0, -60.0, 15.0]
cylindrical: true
transition: false
- name: anchor1
location: [837.8, 179.99999979432002, -200.0]
location: [837.8, 180.0, -200.0]
cylindrical: true
transition: false
- name: anchor2
location: [837.8, 60.00000279622898, -200.0]
location: [837.8, 60.0, -200.0]
cylindrical: true
transition: false
- name: anchor3
location: [837.8, -60.00000279622898, -200.0]
location: [837.8, -60.0, -200.0]
cylindrical: true
transition: false
members:
Expand Down Expand Up @@ -893,7 +882,7 @@ components:
flange_width: 0.2
web_height: 0.2
web_thickness: 0.1
spacing: 0.52359
spacing: 30.0
outfitting_factor: 1.0
ballast:
- variable_flag: true
Expand Down Expand Up @@ -1097,7 +1086,7 @@ components:
type: drag_embedment
drivetrain:
outer_shape:
uptilt: 6.000000000000001
uptilt: 6.0
distance_tt_hub: 5.614
overhang: 14.0
cd: 0.5
Expand Down Expand Up @@ -1832,7 +1821,7 @@ control:
max_gen_torque: 34305700.0
max_torque_rate: 4500000.0
fine_pitch: -4.010704565915763
optimal_tsr: 9.15
optimal_tsr: 9.1532
min_pitch_table:
wind_speed: [3.0, 3.2936, 3.5872, 3.8808, 4.1744, 4.468, 4.7616, 5.0552, 5.3488, 5.6424, 5.936, 6.2296, 6.5232, 6.8168, 7.1104, 7.404, 7.6976, 7.9912, 8.2848, 8.5785, 8.8721, 9.1657, 9.4593, 9.7529, 10.0465, 10.3401, 10.6337, 10.9273, 13.3125, 13.7621, 14.2116, 14.6611, 15.1106, 15.5601, 16.0097, 16.4592, 16.9087, 17.3582, 17.8077, 18.2572, 18.7068, 19.1563, 19.6058, 20.0553, 20.5048, 20.9543, 21.4039, 21.8534, 22.3029, 22.7524, 23.2019, 23.6514, 24.101, 24.5505, 25.0]
min_pitch: [0.5786873730821315, 0.5099324376664327, 0.43544792429942564, 0.36669298888372687, 0.2807493196141034, 0.18334649444186343, 0.08594366926962349, -0.011459155902616465, -0.11459155902616465, -0.2119943841984046, -0.31512678732195276, -0.4068000345428845, -0.492743703812508, -0.5844169510334397, -0.6760901982543714, -0.7792226013779195, -0.8766254265501595, -0.9797578296737077, -1.0771606548459478, -1.180293057969496, -1.283425461093044, -0.985487407625016, -0.3838817227376516, 0.22345354010102106, 0.813600069085769, 1.306343772898277, 1.8048170546620932, 2.3032903364259094, 3.707036934496426, 4.2456172619194, 4.767008855488449, 5.288400449057498, 5.786873730821315, 6.268158278731206, 6.743713248689789, 7.219268218648373, 7.6890936106556484, 8.16464858061423, 8.611555660816272, 9.052733163067007, 9.49391066531774, 9.940817745519782, 10.381995247770517, 10.823172750021252, 11.241431940466752, 11.66542070886356, 12.083679899309063, 12.501939089754563, 12.925927858151372, 13.349916626548183, 13.750987083139757, 14.152057539731334, 14.55312799632291, 14.954198452914486, 15.355268909506064]
Expand Down
Loading