Skip to content

Commit

Permalink
update development (#59)
Browse files Browse the repository at this point in the history
* Reworking of the standoff calculations

overall major reworking of the standoff calculations. Too many things to list.

* standard updates

* Update weather.py

Just added in a print statement to indicate the humidity was finished calculating.

* updates to the standoff calculation

Just a bunch of updates to make it into the tool I want.

* Update xeff_demo.csv

I updated it to have a theoretical measured set of module data.

* Update standards.py

Just small formating issues here.

* Create xeff_demo.xlsx

* Adding calculations to the file

Major revision underway. I have most of the program working but the last few sections are still needing a bit of work.

* Update 4 - Standards.py

Lots of reworking on the code to get it to have more methods for calculations. there is still a lot to be done.

* Update weather.py

Put in defaults in get_NSRDB

* Update standards.py

just working on it

* Update weather.py

Put in code to start a get_satellite function

* Update weather.py

typos fixed

* Update weather.py

fixed now.

* Update weather.py

Hopefully now it is patched correctly.

* Update weather.py

now it could work.

* Update weather.py

* Update weather.py

fixed import nsrdbx as f

* Update weather.py

updated

* Update 4 - Standards.ipynb

update

* standards

* Update xeff_demo.csv

Updated the demo module data to be calculated from the cell temperature instead of the module surface temperature.

* Update xeff_demo.xlsx

* Update xeff_demo.csv

Updated the manufactured module data.

* Update xeff_demo.xlsx

Incldues the modeled POA data from Python and an updated module temperature calculation.

* Update utilities.py

I changed it to instead of just having 180 degrees south be the default azimuth, it will point north or 0 degrees by default in the southern hemisphere.

* Massive changes and a stopping point

It's a complete overhaul. I'm going to merge it now, but I would like it put in the main as is and to have it's name changed to "Standoff.ipynb"

* Update spectral.py

Making the default azimuth be equatorial facing instead of always south. No northern-centric bias here. ;)

* Update temperature.py

I fixed the cell temperature calculation to default to a wind speed factor of 1.7 instead of 1 and to allow that to be passed in. My guess is that this change will cause problems elsewhere.

* Update standards.py

Massive changes here but for the most part it is all about the standoff calculation which is working. One change to be aware of is that the prior calculations were using the module surface temperature for the standoff calculation but now it is using the cell temperature calculation.

* improvement on temperature windspeedfactor fix

* dding pytest coverage instructions

* Wind height added

Added in a field for wind height data to the demonstration weather data.

* Update weather.py

Added in some if/then statements to put in a field for the wind speed measurement height. For the NSRDB it is set for 2m, for PVGIS it is set for 10m.

* Update weather.py

Made it so it would delete the message indicating that Rh was being calculated once it is completed.

* Update standards.py

Created a print statement method to output the results of the standoff calculation.

* Update temperature.py

Changed it to do a wind speed factor calculation based on the wind height in the meta data and the supplied power factor using appropriate defaults.

* Update temperature.py

Got it to correctly use the wind speed exponent.

* Update standards.py

Got it to correctly use the wind speed exponent.

* Update 4 - Standards.ipynb

Got it to correctly use the wind speed exponent.

* Update temperature.py

Fixing wind speed stuff

* Update 4 - Standards.ipynb

Fixing wind speed stuff

* Update fatigue.py

Modified the fatigue calculator to work with the new wind speed exponent method.

* Update test_fatigue.py

Fixed this procedure to call the module temperature function correctly.

* Update humidity.py

It now uses the desired power factor for wind speed height adjustment.

* Update h5_pytest.h5

It now uses the desired power factor for wind speed height adjustment.

* Update meta.json

It now has a field for the wind speed height.

* Update test_humidity.py

It now uses the desired power factor for wind speed height adjustment.

* Update test_standards.py

It now uses the desired power factor for wind speed height adjustment.

* Update test_temperature.py

It now uses the desired power factor for wind speed height adjustment.

* Update standards.py

It now uses the desired power factor for wind speed height adjustment.

I found an error in the standoff calculation. It was previously using the module surface temperature and it should be using the module cell temperature. It makes the required standoff calculations a bit higher.

* Update standards.py

Fixed some documentation for wind speed dependence and made it so the T98 calculation will default to equatorial facing, open rack and latitude tilt.

* Update weather.py

fixed the improper importing NSRDBX as f and did some documentation work.

* Update standards.py

Fixed the functions with capitals issue.

* Update 4 - Standards.ipynb

Fixed the functions with capitals issue.

* deploy to pypi on tag release (#55)

* add pypi workflow

* Update standards.py

I fixed an error check for the case of now wind height specification in the meta data of a dataset by removing it. that error check is managed in temperature.py.

* Update 4 - Standards.ipynb

Just some documentation changes.

* Update temperature.py

just some documentation changes

* run pre-commit hooks

* revert changes in h5_pytest.h5

* update docs conf from main

* Revert "Kempe standoff" (#57)

* run updated pre-commit hooks

* add pre-commit to dependencies

---------

Co-authored-by: MDKempe <[email protected]>
Co-authored-by: Silvana Ovaitt <[email protected]>
Co-authored-by: Kempe <[email protected]>
Co-authored-by: Silvana Ovaitt <[email protected]>
  • Loading branch information
5 people authored Jan 31, 2024
1 parent bf49694 commit a4ba0c1
Show file tree
Hide file tree
Showing 15 changed files with 66 additions and 208 deletions.
25 changes: 6 additions & 19 deletions docs/sphinx/source/_autosummary/pvdeg.collection.rst
Original file line number Diff line number Diff line change
Expand Up @@ -3,30 +3,17 @@

.. automodule:: pvdeg.collection












.. rubric:: Functions

.. autosummary::

calculate_jsc_from_tau_cp
calculate_jsc_from_tau_iqe
collection_probability
generation_current













25 changes: 6 additions & 19 deletions docs/sphinx/source/_autosummary/pvdeg.degradation.rst
Original file line number Diff line number Diff line change
Expand Up @@ -3,31 +3,18 @@

.. automodule:: pvdeg.degradation












.. rubric:: Functions

.. autosummary::

IwaArrhenius
IwaVantHoff
arrhenius_deg
degradation
vantHoff_deg













23 changes: 5 additions & 18 deletions docs/sphinx/source/_autosummary/pvdeg.design.rst
Original file line number Diff line number Diff line change
Expand Up @@ -3,28 +3,15 @@

.. automodule:: pvdeg.design







.. rubric:: Functions

.. autosummary::

edge_seal_ingress_rate
edge_seal_width












.. rubric:: Functions

.. autosummary::

edge_seal_ingress_rate
edge_seal_width
21 changes: 4 additions & 17 deletions docs/sphinx/source/_autosummary/pvdeg.fatigue.rst
Original file line number Diff line number Diff line change
Expand Up @@ -3,27 +3,14 @@

.. automodule:: pvdeg.fatigue







.. rubric:: Functions

.. autosummary::

solder_fatigue












.. rubric:: Functions

.. autosummary::

solder_fatigue
25 changes: 6 additions & 19 deletions docs/sphinx/source/_autosummary/pvdeg.humidity.rst
Original file line number Diff line number Diff line change
Expand Up @@ -3,16 +3,16 @@

.. automodule:: pvdeg.humidity












.. rubric:: Functions

.. autosummary::

Ce_numba
back_encap
backsheet
Expand All @@ -22,16 +22,3 @@
module
psat
surface_outside













25 changes: 6 additions & 19 deletions docs/sphinx/source/_autosummary/pvdeg.letid.rst
Original file line number Diff line number Diff line change
Expand Up @@ -3,16 +3,16 @@

.. automodule:: pvdeg.letid












.. rubric:: Functions

.. autosummary::

calc_device_params
calc_dn
calc_energy_loss
Expand All @@ -30,16 +30,3 @@
j0_gray
k_ij
tau_now













23 changes: 5 additions & 18 deletions docs/sphinx/source/_autosummary/pvdeg.spectral.rst
Original file line number Diff line number Diff line change
Expand Up @@ -3,28 +3,15 @@

.. automodule:: pvdeg.spectral







.. rubric:: Functions

.. autosummary::

poa_irradiance
solar_position












.. rubric:: Functions

.. autosummary::

poa_irradiance
solar_position
23 changes: 5 additions & 18 deletions docs/sphinx/source/_autosummary/pvdeg.standards.rst
Original file line number Diff line number Diff line change
Expand Up @@ -3,28 +3,15 @@

.. automodule:: pvdeg.standards







.. rubric:: Functions

.. autosummary::

eff_gap
standoff












.. rubric:: Functions

.. autosummary::

eff_gap
standoff
23 changes: 5 additions & 18 deletions docs/sphinx/source/_autosummary/pvdeg.temperature.rst
Original file line number Diff line number Diff line change
Expand Up @@ -3,28 +3,15 @@

.. automodule:: pvdeg.temperature







.. rubric:: Functions

.. autosummary::

cell
module












.. rubric:: Functions

.. autosummary::

cell
module
25 changes: 6 additions & 19 deletions docs/sphinx/source/_autosummary/pvdeg.utilities.rst
Original file line number Diff line number Diff line change
Expand Up @@ -3,33 +3,20 @@

.. automodule:: pvdeg.utilities












.. rubric:: Functions

.. autosummary::

convert_tmy
get_kinetics
gid_downsampling
meta_as_dict
quantile_df
ts_gid_df
write_gids













Loading

0 comments on commit a4ba0c1

Please sign in to comment.