Skip to content

Remove fuelcell and battery outputs from cases without those systems#570

Merged
mjprilliman merged 2 commits into
patchfrom
fuelcell_batt_output_cleanup
Apr 30, 2021
Merged

Remove fuelcell and battery outputs from cases without those systems#570
mjprilliman merged 2 commits into
patchfrom
fuelcell_batt_output_cleanup

Conversation

@mjprilliman

Copy link
Copy Markdown
Collaborator

-Added assignment checks to only output fuel cell and battery OandM and replacement cost outputs when there is a fuelcell or battery, respectively
-Removed battery efficiency, AC loss, and DC loss for cases without a battery
-Closes NatLabRockies/SAM#510
-Closes NatLabRockies/SAM#448

@brtietz brtietz left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Thanks for cleaning all of this up! I had one request on the replacement options, since I consider it easier to handle zeroes than nans when comparing the "no replacements" cases to other cases. Other than that looks good!

Comment thread ssc/cmod_merchantplant.cpp Outdated
Comment thread ssc/cmod_singleowner.cpp Outdated

@cpaulgilman cpaulgilman left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Changes look good to me, and agree with Brian's suggestions.

Since this touches cmod_singleowner,cpp, could you fix the group name for issuance_of_equity in the inputs var table? It looks like someone accidentally pasted into it. It should be "Cash Flow Total and Returns" instead of "TCash Flow Total and Returnsotal Cash Flow and Return":

https://github.com/NREL/ssc/blob/158dcee9bc291dfb043c3fbfa6e90d5960703870/ssc/cmod_singleowner.cpp#L628

@mjprilliman mjprilliman merged commit a231c44 into patch Apr 30, 2021
@mjprilliman mjprilliman deleted the fuelcell_batt_output_cleanup branch April 30, 2021 21:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants