Skip to content

add ts_hour to ac wiring loss line#879

Merged
brtietz merged 1 commit into
developfrom
sam_1082_fix_loss_diagram_subhourly
Sep 30, 2022
Merged

add ts_hour to ac wiring loss line#879
brtietz merged 1 commit into
developfrom
sam_1082_fix_loss_diagram_subhourly

Conversation

@brtietz

@brtietz brtietz commented Sep 29, 2022

Copy link
Copy Markdown
Collaborator

To test:

  • Run a subhourly simulation
  • Confirm that the AC wiring losses match the input (1% is default)

Unchecking the "save all output variables over lifetime" option is recommended if testing with a one minute weather file.

Fixes NatLabRockies/SAM#1082

@brtietz brtietz added bug pv photovoltaic, pvsam, pvwatts labels Sep 29, 2022
@brtietz brtietz requested a review from sjanzou September 29, 2022 21:32
@brtietz brtietz added this to the SAM Fall 2022 Release milestone Sep 29, 2022
@brtietz

brtietz commented Sep 29, 2022

Copy link
Copy Markdown
Collaborator Author

Push build on ubuntu failed due to error connecting to cmake. We can either re-run the tests or trust the results of the mac push and pull request builds.

@brtietz brtietz self-assigned this Sep 29, 2022
@sjanzou

sjanzou commented Sep 30, 2022

Copy link
Copy Markdown
Collaborator

Push build on ubuntu failed due to error connecting to cmake. We can either re-run the tests or trust the results of the mac push and pull request builds.

All tests seem to be passing now!

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

Much better for subhourly models! AC wiring loss no longer multiplies with ts_hour!
All tests now passing.

@brtietz brtietz merged commit e904f72 into develop Sep 30, 2022
@brtietz brtietz deleted the sam_1082_fix_loss_diagram_subhourly branch November 18, 2022 16:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

added to release notes bug pv photovoltaic, pvsam, pvwatts

Projects

None yet

Development

Successfully merging this pull request may close these issues.

AC wiring loss is 60x too high in 1min simulation

3 participants