-
Notifications
You must be signed in to change notification settings - Fork 41
Dove modifications #387
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
base: devel
Are you sure you want to change the base?
Dove modifications #387
Conversation
531c675 to
84bc649
Compare
8e89003 to
860876c
Compare
1552aaa to
731c206
Compare
731c206 to
bb1707c
Compare
PaulTalbot-INL
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Initial surface review, very few comments. I did not comment on many commented lines that might be removed; I'll save that for a future review.
| ## All InputSpecs for Interactions are defined within the DOVE.src.Interactions. | ||
| ## If a new VP node needs to be added, find someway to add a fixed-value version | ||
| ## to DOVE first! Then modify it in here. This will keep feature parity with DOVE. | ||
| ## YOU HAVE BEEN WARNED! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
bravo
| sub.addSub(new_sub) | ||
|
|
||
| # We have to iterate a level deeper to get to CashFlow nodes | ||
| for sub in input_specs.subs: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
can this be merged with the loop above by keeping the econ "if" as the first if? Probably not necessary or even very impactful but may save a little computational effort
| # when recreating the ValuedParam version of <reference_price>. Otherwise it gets deleted and is no | ||
| # longer seen as an available input option. We should find a way to dynamically add child subs by perhaps | ||
| # adding a key to `econ_subs_to_modify` dictionary like "add_subs". For now we add a conditional checking | ||
| # if we are modifying <reference_price> and then directly add <levelized_cost> to the new input definition. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
10 laps for you. I agree, we need a cleaner way to do this at some point.
src/Components.py
Outdated
| @ Out, None | ||
| """ | ||
| Interaction.__init__(self, **kwargs) | ||
| HeronInteraction.__init__(self, **kwargs) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
do we not need __init__ from DoveProducer here as well?
6403be3 to
691cca3
Compare
691cca3 to
08b3b4d
Compare
Pull Request Description
What issue does this change request address?
#386
What are the significant changes in functionality due to this change request?
Ideally, no changes in functionality but everything will be different.
For Change Control Board: Change Request Review
The following review must be completed by an authorized member of the Change Control Board.