Changelog#
All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
[0.2.6] - 2024-12-11#
Packaging#
Switched packaging from setup.cfg to pyproject.toml (see PR#58).
Use “Trusted Publishers” when publishing to PyPI (see PR#60, PR#61)
[0.2.5] - 2024-10-13#
Testing#
Added Python 3.13 to the test matrix (see PR#54).
Removed Python 3.7 and 3.8 from the test matrix (see PR#52 and PR#48)
Requirements#
Updated the documentation package requirements. Specifically, the Sphinx version was increased to 8.1.1 from 4.4.0 (see PR#53).
Changed#
twoaxistracking.__version__now correctly reports the version string instead of raisingAttributeError(see PR#45).
[0.2.4] - 2023-01-05#
Changed#
Removed Shapely installation check and added specific import of the affinity module to avoid import errors when using Shapely 2.0 (see PR#40).
Testing#
Added Python 3.11 to the test matrix (see PR#38).
[0.2.3] - 2022-11-11#
It is now possible to export the unshaded area for further analysis. A GIF was added to the main landing page, and a reference to the MethodsX article was added.
Changed#
Added
return_geometriesparameter to thetwoaxistracking.shaded_fraction(). Whenreturn_geometriesis True, the function returns both the shaded fraction and a dictionary with the geometries of the unshaded area and the shading areas (see PR#33).
Added#
Reference to the published MethodsX article describing the package (see PR#31).
[0.2.2] - 2022-09-14#
This update includes a bug fix in the calculation of the maximum shading elevation and addition of a section on validation to the documentation.
Changed#
Fixed bug in the calculation of the maximum shading elevation at high GCRs (see PR#28).
Added#
Button on the documentation website linking to GitHub (see PR#27).
Notebook on the validation of the annual shading fraction calculation (see PR#29).
Requirements#
Increased version of myst-nb and sphinx-book-theme in the
[doc]optional requirements for building the documentation (see PR#29).
[0.2.1] - 2022-03-11#
Added Pandas as a required dependency and fixed the workflow file responsible for uploading the package to PyPI.
Requirements#
Added pandas to the list of required dependencies
[0.2.0] - 2022-03-11#
The code in the second release is a complete restructure in order for the code to be made into a package and available on PyPI.
Added#
Added automatic documentation using Sphinx and autosummary
Added
__init__.pyfileDocumentation is now hosted at readthedocs
Tilted fields can now be simulated by specifying the keywords
slope_azimuthandslope_tilt(see PR#7).The code now is able to differentiate between active and total area (see PR#11).
The class
twoaxistracking.TrackerFieldhas been added, which is now the recommended way for using the package and is sufficient for most use cases.Added
twoaxistracking.layout.max_shading_elevation()for calculating the maximum elevation for which shading can occur for a specific field layout and collector geometry.Added
twoaxistracking.shading.horizon_elevation_angle()for calculating the horizon angle caused by having a sloped field.
Changed#
Divided code into modules: shading, plotting, and layout
Changed the overall file structure to become a Python package
Changed names of notebooks
Change repository name from “two_axis_tracker_shading” to “twoaxistracking”
Changed naming of
L_mintomin_tracker_spacingChanged naming of
collector_areatototal_collector_areaThe field layout parameters are now required when using the
twoaxistracking.generate_field_layout()function. The standard field layouts are only available through thetwoaxistracking.TrackerFieldclass.
Testing#
Added linting using flake8 in PR#11
Added test coverage in PR#14 and PR#16
[0.1.0] - 2022-01-25#
This was the first release, containing the main functions and notebooks.