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

Major upgrades #120

Merged
merged 236 commits into from
Sep 13, 2024
Merged

Major upgrades #120

merged 236 commits into from
Sep 13, 2024

Conversation

martin-springer
Copy link
Collaborator

Describe your changes

See details of changes in release notes for v0.4.0, v0.4.1, v0.4.2.

if two unique instances are created in the same notebook (i suspect current working dir as well)
they will use the same saved information and not be able to have unique data
for ex:
create foo and add job "A" in the pipline,
create bar and add job "B" in the pipline
foo.pipeline = bar.pipeline
=> A = B
the pipelines will be shared between class instances.
only current soltution is to not declare more than one class in the same file (/directory?!?)
resets scenario.

This is useful because the Scenario object stores its data in local files outside of the python script.
        This causes issues when two unique scenario instances are created in the same directory, they appear to be seperate instances to python but share the same data. Changes made to one are reflected in both.
potential: conflict between taking file path vs dataframe in func args.
martin-springer and others added 26 commits August 19, 2024 13:19
I got this to work to calculate oxygen ingress through an edge seal.
This is a work in progress tool for modeling oxygen ingress.
I added the diffusion.py file to this.
This will now do the calculation for oxygen ingress into a module through an edge seal and into an encapsulant. This is a 1-D calculation. More to come, but this is a stopping point.
This is a tool to run the 1-D oxygen ingress calculation.
Just fixed a small formatting issue.
This is a Json file for acetic acid permeation parameters.
Just some updates to the background xcel file used to create the Json files.
Creation of an H2O permeation Json file.
I'm deleting this because the oxygen ingress parameters are now in an Oxygen ingress parameter Json file. Just some more organization here.
Improvements and additions in the oxygen ingress parameter Json file.
fixed some formatting.
Fixed a capitalization error.
added pytest for the Xmin and added it on the the test_T98. Removed the PPVGIS dependency.
Added a test for Xmin in `test_standards.py` and removed dependency on pvgis.
@codecov-commenter
Copy link

Codecov Report

Attention: Patch coverage is 58.84265% with 633 lines in your changes missing coverage. Please review.

Project coverage is 66.51%. Comparing base (e6c316a) to head (cd52739).

Files with missing lines Patch % Lines
pvdeg/scenario.py 31.27% 345 Missing ⚠️
pvdeg/geospatial.py 21.89% 132 Missing ⚠️
pvdeg/utilities.py 34.13% 110 Missing ⚠️
pvdeg/weather.py 21.42% 22 Missing ⚠️
pvdeg/diffusion.py 88.65% 11 Missing ⚠️
pvdeg/symbolic.py 84.78% 7 Missing ⚠️
pvdeg/standards.py 84.61% 2 Missing ⚠️
pvdeg/temperature.py 97.01% 2 Missing ⚠️
pvdeg/degradation.py 95.23% 1 Missing ⚠️
tests/test_geospatial.py 98.11% 1 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main     #120      +/-   ##
==========================================
+ Coverage   63.40%   66.51%   +3.11%     
==========================================
  Files          29       36       +7     
  Lines        2077     3396    +1319     
==========================================
+ Hits         1317     2259     +942     
- Misses        760     1137     +377     

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

@martin-springer martin-springer merged commit 14476c1 into main Sep 13, 2024
10 checks passed
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.

5 participants