Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Inquiry about RAFT Result Output #66

Open
hymdrj opened this issue Oct 31, 2024 · 4 comments
Open

Inquiry about RAFT Result Output #66

hymdrj opened this issue Oct 31, 2024 · 4 comments

Comments

@hymdrj
Copy link

hymdrj commented Oct 31, 2024

Hello,

I have a question regarding the output values in RAFT. Could you explain the difference between raft.max_nac_accel and raft.stats_AxRNA? There seems to be a significant discrepancy between the two values. Additionally, is there any documentation available that organizes the various output results that can be extracted from RAFT?

@lucas-carmo
Copy link
Contributor

Hi @hymdrj

I only found max_nac_accel and stats_AxRNA in the code related to OMDAO, which I'm not familiar with. @dzalkind and @mattEhall could you help with that?

Unfortunately, our current documentation doesn't explain the outputs yet. For now, you can get the results directly from a model class object. For instance, considering the example from examples/example_from_yaml.py:

  • you can get the mean offsets from model.results['mean_offsets']
  • you can get a list of available dynamic responses from model.results['case_metrics'][iCase][iFOWT].keys(), where iCase is the index of the case you want to check (from the list of cases in examples/VolturnUS-S_example.yaml) and iFOWT is the index of the floating wind turbine in the array (this example has only one turbine, so iCase=0). For example, you can get the maximum surge with model.results['case_metrics'][0][0]['surge_max'] (a scalar value) or the power spectral density of surge with model.results['case_metrics'][0][0]['surge_PSD'] (a 1D array with the number of elements equal to the number of frequencies specified by the user)

Hope that helps 😀

@dzalkind
Copy link
Contributor

dzalkind commented Nov 4, 2024

max_nac_accel should be the maximum over all the cases and stats_AxRNA_max should be the max for each case.

There appears to be a typo, and the standard deviation is used by mistake:

outputs['max_nac_accel'] = outputs['stats_AxRNA_std'][case_mask].max()

The stats_* outputs should collect all the results that Lucas described.

@hymdrj
Copy link
Author

hymdrj commented Nov 8, 2024

First of all, thank you for your valuable comments. I solved the nac. acc. issue thanks to all.

Also, i have other question about ballast modeling

I’m observing changes by adjusting the ballast grid, but the ballast amount doesn’t change. So, is the ballast amount solely determined by submerged volume and mass? In that case, what is the purpose of defining ballast properties?

Another point I’m curious about is that, based on the code, it seems like the ballast amount is determined based on the input values of the ballast grid.

Lastly, why does the ballast value come out as negative? Could this be due to a mistake in my modeling?

Thank you for reading.

@lucas-carmo
Copy link
Contributor

lucas-carmo commented Nov 13, 2024

Ballast properties are computed based on how much of a member is ballasted (specified by l_fill within each member) and on ballast density (rho_fill). I'm not sure what 'ballast grid' is, could you please clarify?

Are you running your case using a .yaml input file? If so, could you please upload your input file here? I can check whether there's something off in your model.

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

No branches or pull requests

3 participants