Skip to content

Noct taualpha#1233

Merged
mjprilliman merged 11 commits into
developfrom
noct-taualpha
Nov 4, 2024
Merged

Noct taualpha#1233
mjprilliman merged 11 commits into
developfrom
noct-taualpha

Conversation

@mjprilliman

Copy link
Copy Markdown
Collaborator

-Use Geff_total in NOCT model rather than G_total, remove irradiance scaling of tau*alpha product
-Update tests
-Fixes #917

@mjprilliman mjprilliman added bug pv photovoltaic, pvsam, pvwatts labels Oct 30, 2024
@mjprilliman mjprilliman added this to the SAM Fall 2024 Release milestone Oct 30, 2024
@mjprilliman mjprilliman self-assigned this Oct 30, 2024
@mjprilliman

Copy link
Copy Markdown
Collaborator Author

Need to discuss with @sjanzou how to update remaining tests, but otherwise should be good to review as is.

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

Looks good!

@@ -1,5 +1,5 @@
{
"solar_resource_file" : "C:/Projects/Github/NREL/working/SAM/deploy/solar_resource/phoenix_az_33.450495_-111.983688_psmv3_60_tmy.csv",
"solar_resource_file" : "C:/Users/mprillim/sam_dev/SAM/deploy/solar_resource/phoenix_az_33.450495_-111.983688_psmv3_60_tmy.csv",

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.

It looks like this line was specific to Steve's computer before, and is now specific to yours, but flagging in case it should be set to a common file... but I don't think there's an easy way to use environment variables in JSON, is there @sjanzou ? I don't require this to be fixed before merging though.

@sjanzou sjanzou Nov 4, 2024

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.

It looks like this line was specific to Steve's computer before, and is now specific to yours, but flagging in case it should be set to a common file... but I don't think there's an easy way to use environment variables in JSON, is there @sjanzou ? I don't require this to be fixed before merging though.

@janinefreeman , thanks for flagging this - the JSON generated always has the specific test machine path... However, in the test body, the weather file is updated to use
image

the "Test" function, where the weather file is set based on the SSCDIR/test/input_cases/general_data folder as
image

@@ -1,5 +1,5 @@
{
"solar_resource_file" : "C:/Projects/Github/NREL/working/SAM/deploy/solar_resource/phoenix_az_33.450495_-111.983688_psmv3_60_tmy.csv",
"solar_resource_file" : "C:/Users/mprillim/sam_dev/SAM/deploy/solar_resource/phoenix_az_33.450495_-111.983688_psmv3_60_tmy.csv",

@janinefreeman janinefreeman Nov 3, 2024

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.

same comment as the other JSON file (and so on for all the JSONs)

@mjprilliman

Copy link
Copy Markdown
Collaborator Author

@sjanzou @brtietz is there known variance for ResidentialDCBatteryModelPriceSignalDispatch test across operating systems. I show this test as passing on Windows and Linux but failing on Mac for these temperature model changes. The battery capacity percent variable change on Mac, which I suppose is possible for different values in gen but I'm confused why it wouldn't show up across operating systems.
image

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.

Check NOCT model implementation

4 participants