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

WDRT parity - continued #147

Merged
merged 2 commits into from
Dec 31, 2024
Merged

WDRT parity - continued #147

merged 2 commits into from
Dec 31, 2024

Conversation

hivanov-nrel
Copy link
Contributor

@hivanov-nrel hivanov-nrel commented Nov 26, 2024

code:

  • add copula methods to environmental contours

examples:

  • update environmental contours example to show different copula methods

@hivanov-nrel hivanov-nrel self-assigned this Nov 26, 2024
@hivanov-nrel hivanov-nrel linked an issue Nov 26, 2024 that may be closed by this pull request
3 tasks
@hivanov-nrel
Copy link
Contributor Author

I wont be able to get to the remaining items in Issue #146 and some of them require compatibility with higher version of MHKiT-Python anyways so we'll have to leave that one open.

Also, see my comment on Issue #109 and why I think that one should be closed as well.

Otherwise this should be ready for review.

options.max_x1 = py.None;
options.max_x2 = py.None;
options.PCA = py.None;
options.PCA_bin_size = 250;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think this is a valid strategy to set these values but we will need to ensure that these don't diverge from the default values set in MHKiT-Python

Copy link
Contributor

@simmsa simmsa left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@hivanov-nrel this looks good to me, nice work!

I added one note about setting default values in MATLAB vs Python. I'm not sure what is a good long term strategy for this type of default setting, but it would be ideal to use the default values in MHKiT-Python. In this situation I don't think there is much of a choice without refactoring a significant portion of the MHKiT-Python environmental contours code. Your solution here works and keeps us moving forward.

@simmsa
Copy link
Contributor

simmsa commented Dec 31, 2024

@hivanov-nrel, I will fix the merge conflict shortly and then I think we can merge this safely...

@simmsa simmsa merged commit 149b61b into MHKiT-Software:develop Dec 31, 2024
68 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants