Skip to content
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

Kempe gap calc #87

Merged
merged 9 commits into from
May 6, 2024
Merged

Kempe gap calc #87

merged 9 commits into from
May 6, 2024

Conversation

MDKempe
Copy link
Collaborator

@MDKempe MDKempe commented May 4, 2024

I got the Xeff calculation to work and fixed a few other issues. However, I was working on the standoff Jupyter notebook which probably needs to replace the 63126 tool.

Fixed a metadata variable name to a proper "wind_height" and "module_temperature"
Fixed some of the output statements to be clearer. Changed the poa_min default to b 400 W/m2 as opposed to 100 W/m2.

Lots of work to streamline the calculator for Xeff.  Removed superfluous passing of variables. Put in better default control over tilt to use latitude if none is provided. Also put in checks to make sure the tilt and azimuth are provided in the *.csv file.
Fixed a problem with the generic *.csv importer I wrote. There was a problem with the index timezone (thanks Silvana)., and a problem with importing variables as strings instead of floats in the meta data.
Fixed some of the textual output. Simplified and streamlined the calculations for Xeff. Removed some lines to import weather data directly using PVlib because this would cause variable formatting issues. It now properly uses weather.read.
I added in another way to fix timezone. This was causing a problem on a pytest with LETID.
The meta data did not have the proper name for the time zone. So I added in the maping function.
@codecov-commenter
Copy link

Codecov Report

Attention: Patch coverage is 55.49598% with 166 lines in your changes are missing coverage. Please review.

Project coverage is 62.54%. Comparing base (afe636e) to head (ebdf490).
Report is 1 commits behind head on main.

Files Patch % Lines
pvdeg/weather.py 20.21% 75 Missing ⚠️
pvdeg/standards.py 8.69% 42 Missing ⚠️
pvdeg/geospatial.py 7.40% 25 Missing ⚠️
pvdeg/utilities.py 20.68% 23 Missing ⚠️
pvdeg/humidity.py 0.00% 1 Missing ⚠️
Additional details and impacted files
@@             Coverage Diff             @@
##             main      #87       +/-   ##
===========================================
+ Coverage   47.72%   62.54%   +14.82%     
===========================================
  Files          28       29        +1     
  Lines        1800     2096      +296     
===========================================
+ Hits          859     1311      +452     
+ Misses        941      785      -156     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@martin-springer martin-springer changed the base branch from main to development May 4, 2024 21:18
@martin-springer martin-springer merged commit a4ffcb8 into development May 6, 2024
5 checks passed
@martin-springer martin-springer deleted the Kempe_Gap_Calc branch May 6, 2024 16:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants