Skip to content

Updated loss factor calculations for lifetime, subhourly options;#878

Merged
mjprilliman merged 12 commits into
developfrom
loss_factor_updates
Oct 20, 2022
Merged

Updated loss factor calculations for lifetime, subhourly options;#878
mjprilliman merged 12 commits into
developfrom
loss_factor_updates

Conversation

@mjprilliman

Copy link
Copy Markdown
Collaborator

-See matching PR in SAM NatLabRockies/SAM#1164
-Update calculations in loss factor setup for 7 different lifetime array options (single value, annual, monthly, weekly, daily, hourly, subhourly)
-Test in pvsamv1 for now

TODO:
-Apply to other relevant cmods

Test file included in NatLabRockies/SAM#1164

@sjanzou

sjanzou commented Oct 15, 2022

Copy link
Copy Markdown
Collaborator

@mjprilliman. since 1164 has conflicts that need to be resolved, I am not sure how to test this for single year models. Can you please provide a few ssc tests for the 7 different lifetime array options for maybe pvsamv1 and solar water heating or empirical trough so we can see results for both lifetime and single year models?

@mjprilliman

mjprilliman commented Oct 17, 2022

Copy link
Copy Markdown
Collaborator Author

@mjprilliman. since 1164 has conflicts that need to be resolved, I am not sure how to test this for single year models. Can you please provide a few ssc tests for the 7 different lifetime array options for maybe pvsamv1 and solar water heating or empirical trough so we can see results for both lifetime and single year models?

Added tests for lifetime and non-lifetime application of losses. Also fixed merge conflicts in 1164.

@sjanzou sjanzou 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.

Please review Geothermal Single Owner case with SAM pull request 1164.
Electricity Net Generation does not reflect the annual losses posted in the widget.
image

with results
image

Test file
geothermal_annual_loss.zip

@mjprilliman mjprilliman requested a review from sjanzou October 19, 2022 19:01
@mjprilliman

Copy link
Copy Markdown
Collaborator Author

Please review Geothermal Single Owner case with SAM pull request 1164. Electricity Net Generation does not reflect the annual losses posted in the widget. image

with results image

Test file geothermal_annual_loss.zip

This should be fixed in most recent commits

@sjanzou

sjanzou commented Oct 20, 2022

Copy link
Copy Markdown
Collaborator

Please review Geothermal Single Owner case with SAM pull request 1164. Electricity Net Generation does not reflect the annual losses posted in the widget. image
with results image
Test file geothermal_annual_loss.zip

This should be fixed in most recent commits

Working well in last commit
image

@sjanzou sjanzou 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.

Tested geothermal and empirical trough all modes with test file.
emp_trough_subhourly.zip

Seems good for lock down! Great work!

@mjprilliman mjprilliman merged commit 34b79e7 into develop Oct 20, 2022
@mjprilliman mjprilliman deleted the loss_factor_updates branch October 20, 2022 15:13
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