Skip to content

Excel sheet results extraction#18

Merged
lsirkis merged 5 commits intoFloatingArrayDesign:mainfrom
Yuksel-Rudy:main
May 1, 2025
Merged

Excel sheet results extraction#18
lsirkis merged 5 commits intoFloatingArrayDesign:mainfrom
Yuksel-Rudy:main

Conversation

@Yuksel-Rudy
Copy link
Collaborator

After identifying your raft cases and running them (For example:

# Generate load cases
model.design = {}
model.design['cases'] = {}
model.design['cases']['keys'] = ['wind_speed', 'wind_heading', 'turbulence', 'turbine_status', 'yaw_misalign', 'wave_spectrum', 'wave_period', 'wave_height', 'wave_heading', 'current_speed', 'current_heading']
model.design['cases']['data'] = [
    [10.59, domWindDir_deg, 'IIB_NTM', 'operating', 0, 'JONSWAP', 16.17, 8.62, domWindDir_deg, 0.79, domWindDir_deg],  # DLC1.6-aligned-domWind
    [10.59, vulnerableDir_deg, 'IIB_NTM', 'operating', 0, 'JONSWAP', 16.17, 8.62, vulnerableDir_deg, 0.79, vulnerableDir_deg],  # DLC1.6-aligned-vulnerable
    [43.1, domWindDir_deg, 'IIB_ETM', 'parked', 0, 'JONSWAP', 16.9, 9.8, domWindDir_deg, 1.07, domWindDir_deg],  # DLC6.1-aligned-domWind
    [43.1, vulnerableDir_deg, 'IIB_ETM', 'parked', 0, 'JONSWAP', 16.9, 9.8, vulnerableDir_deg, 1.07, vulnerableDir_deg],  # DLC6.1-aligned-vulnerable
    ]

for fowt in model.fowtList:
    for rot in fowt.rotorList:
        rot.aeroServoMod = 2
        
model.analyzeCases(display=1)

)

You can run proj.mapRAFTResults() to map RAFT results to the FAModel output. Then, call proj.generateSheets(outputFile) to generate excel sheet the describes the results and general information about the cases run, the platform setup and their results, and the mooring lines and their results. mooring lines will be highlighted red if safety factors go below 2 and will be yellow if there is a slack condition.

Screenshot 2025-04-25 at 4 33 50 PM Screenshot 2025-04-25 at 4 34 26 PM Screenshot 2025-04-25 at 4 34 41 PM

1) FAModel can map RAFT results into the different objects in the project class for better and faster analysis.
2) safety factors of mooring lines are updated based on RAFT analysis and the fid. level is reported along with it.
3) FAModel can now geeerate excel sheets that describe the various components of the array along with certain results reported with it.
@lsirkis lsirkis merged commit 3b00198 into FloatingArrayDesign:main May 1, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants