MHKiT-Software / MHKiT-Python

MHKiT-Python provides the marine renewable energy (MRE) community tools for data processing, visualization, quality control, resource assessment, and device performance.
https://mhkit-software.github.io/MHKiT/
BSD 3-Clause "New" or "Revised" License
47 stars 45 forks source link

Tidal power performance #236

Closed jmcvey3 closed 10 months ago

jmcvey3 commented 1 year ago

Tidal power performance capabilities specified in IEC/TS 6200-200.

TODOs left:

I would appreciate a second set of eyes and would be happy to discuss interpretation of the standards. The mathematical section is not well written, and I was relying on information conveyed in the text and plots in the appendix to figure out what was being asked. (My TS copy is heavily loaded with comments and corrections to keep track of things).

Also includes bugfixes, docstring clarifications, and useability edits for the Tidal module in general that I came across from a users standpoint. Changelog as follows:

jmcvey3 commented 1 year ago

@ssolson This should be ready for review

Also, the tests are failing because of something I thought it an error in river.performance.py capture area functions: the area of a circle is 1/4 pi d^2, not sure if the original 4 pi d^2 is an error or not

jmcvey3 commented 1 year ago

@ssolson I just remembered there are some changes in the dolfyn PR (namely to the function/shortcut dolfyn.velocity.U_dir) that will affect this one. I'll try to wrap the dolfyn PR soon here so we can merge these back to back.

jmcvey3 commented 11 months ago

@ssolson This one should also be good to merge in if you want to give it one more review

ssolson commented 11 months ago

@jmcvey3 merging #232 created a conflict with the adcp example.

I created PR https://github.com/jmcvey3/MHKiT-Python/pull/5 on your branch which resolves the issue.

jmcvey3 commented 11 months ago

Thanks @ssolson - made some last fixes to the notebooks

ssolson commented 10 months ago

All tests pass excluding hindcast. Hindcast functionality was not changed in this PR. image