Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
LoneMeertens committed Dec 3, 2024
2 parents 7a6cb08 + 63da23d commit 9d6bc11
Show file tree
Hide file tree
Showing 60 changed files with 786 additions and 33,579 deletions.
15 changes: 14 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,21 @@ our [project board](https://github.com/users/wouterpeere/projects/2) on GitHub.

The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/).

## [2.3.0] - unpublished
## [2.3.1] - unpublished

## Added

- __repr__ for every class (issue #310).

## Fixed

- Problem with optimise energy profile (issue #306).

## [2.3.0] - 2024-11-05

## Added

- Added the Separatus probe.
- Extra validation based on the work of Ahmadfard & Bernier (issue #243).
- Added the option to exclude DHW from the peak heating load (issue #252).
- Added vfr to Fluid Class (issue #262).
Expand Down Expand Up @@ -353,6 +364,8 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/).

- fixed bug in interpolation

[2.3.0]: https://github.com/wouterpeere/GHEtool/compare/v2.2.2...v2.3.0

[2.2.2]: https://github.com/wouterpeere/GHEtool/compare/v2.2.1...v2.2.2

[2.2.1]: https://github.com/wouterpeere/GHEtool/compare/v2.2.0...v2.2.1
Expand Down
11 changes: 11 additions & 0 deletions GHEtool/Borefield.py
Original file line number Diff line number Diff line change
Expand Up @@ -2007,3 +2007,14 @@ def calculate_quadrant(self) -> int:
# limited by minimum temperature
return 3
return 2

def __repr__(self):
return f'Maximum average fluid temperature [°C]: {self.Tf_max}\n' \
f'Minimum average fluid temperature [°C]: {self.Tf_min}\n' \
f'Average buried depth [m]: {self.D}\n' \
f'Average borehole depth [m]: {self.H}\n' \
f'Borehole diameter [mm]: {self.r_b * 2000:.0f}\n' \
f'Number of boreholes [-]: {self.number_of_boreholes}\n' \
f'{self.ground_data.__repr__()}\n' \
f'{self.borehole.__repr__()}\n' \
f'{self.load.__repr__()}'
2 changes: 1 addition & 1 deletion GHEtool/Examples/combined_active_and_passive_cooling.py
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ def default_cooling_in_summer():
# set variables
load.eer = eer
borefield.load = load

print(borefield)
borefield.print_temperature_profile(plot_hourly=True)

# get active cooling data
Expand Down
Loading

0 comments on commit 9d6bc11

Please sign in to comment.