Skip to content

Commit

Permalink
Ready to publish v1.5.6
Browse files Browse the repository at this point in the history
  • Loading branch information
aaghamohammadi committed Dec 29, 2023
1 parent 8452a24 commit f8c733b
Show file tree
Hide file tree
Showing 3 changed files with 23 additions and 2 deletions.
20 changes: 20 additions & 0 deletions docs/changelog.rst
Original file line number Diff line number Diff line change
@@ -1,6 +1,26 @@
Changelog
=========

Version 1.5.6
-------------

Release date: 2023-12-29


Fixed
^^^^^
- Introduced a new exception class ``InvalidObserverLatitudeError`` in ``exceptions.py`` for better error handling of invalid observer latitude values.
- Updated ``IrradiationCalculator`` in ``numerical_integration.py`` to handle cases where the ``irradiance_components`` dictionary is empty, providing a meaningful return value based on observer latitude.
- Fixed ``Observer`` class validation in ``observer.py`` to include a check for the observer's latitude being within the valid range.


Testing
^^^^^^^
- Added test case ``test_calculate_sunrise_sunset_invalid_latitude`` to ensure exceptions are properly raised for invalid latitude inputs.
- Added missing tests for invalid observer latitude in ``test_observer.py``.



Version 1.5.5
-------------

Expand Down
3 changes: 2 additions & 1 deletion paper/paper.md
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,8 @@ The energy collected by a solar panel can be calculated using the formula in Equ
E(n,\phi) = \frac{I(n)}{\Omega} \int_{\omega_s}^{\omega_t}\cos(\theta) \times H(\cos(\theta)) \times \tau_b~d\omega
\end{equation}


# Acknowledgements
Amir Aghamohammadi would like to acknowledge the research council of the Alzahra University for the financial support.


# References
2 changes: 1 addition & 1 deletion setup.cfg
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[metadata]
name = pysolorie
version = 1.5.5
version = 1.5.6
description = Orientation Analysis of Solar Panel
long_description = file: README.md
long_description_content_type = text/markdown
Expand Down

0 comments on commit f8c733b

Please sign in to comment.