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

enhancement: energy_loss update #11

Merged
merged 24 commits into from
Dec 20, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
24 commits
Select commit Hold shift + click to select a range
68368dc
energy_loss update
dmulash Sep 9, 2024
12ac8ec
fix line lengths, typos, typing, and add input.
RHammond2 Sep 9, 2024
e47a4fe
environmental_loss_ratio, detailed wake_losses, eliminate with_losses
dmulash Sep 11, 2024
a616467
add missing docstring and run pre-commit
RHammond2 Sep 16, 2024
c51bfa0
fix error message
RHammond2 Sep 16, 2024
ae8322a
fix verbose bool check
RHammond2 Sep 16, 2024
ebb07ec
fix typo in cable naming
RHammond2 Sep 16, 2024
45aff5f
update for ORBIT v1.1 compatibility
RHammond2 Sep 16, 2024
a036a08
fix missing turbine potential bug in timeseries
RHammond2 Sep 16, 2024
f9fca8a
apply intended changes and bug fixes to wake_losses
RHammond2 Sep 17, 2024
601824a
fix remaining floris energy potential/production method issues
RHammond2 Sep 17, 2024
9335406
update error message
RHammond2 Sep 17, 2024
9fe3306
Addressed feedback from RHammond2: energy_losses = potential * total_…
dmulash Sep 20, 2024
31acc7d
udpate pre-commit configuration
RHammond2 Dec 2, 2024
450e7e7
shorten argument and run pre-commit
RHammond2 Dec 2, 2024
cb02d4b
remove redundancies and fix small calculation issues
RHammond2 Dec 3, 2024
6de6f33
fix small computation and aggregation bugs
RHammond2 Dec 3, 2024
07f60b6
update wake losses for potential
RHammond2 Dec 3, 2024
1545ed9
update technical losses for unavailable land option
RHammond2 Dec 3, 2024
afe05b7
update changelog
RHammond2 Dec 3, 2024
7d5b6d7
add input validation and common floris energy capture method
RHammond2 Dec 6, 2024
0b3a65c
update remaining metrics with validator decorator
RHammond2 Dec 6, 2024
69f2018
update changelog
RHammond2 Dec 6, 2024
b05be82
Merge pull request #1 from RHammond2/enhancement/losses
dmulash Dec 10, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,14 +6,14 @@ repos:
hooks:
- id: isort
name: isort
stages: [commit]
stages: [pre-commit]

- repo: https://github.com/psf/black
rev: 23.11.0
hooks:
- id: black
name: black
stages: [commit]
stages: [pre-commit]

- repo: https://github.com/pre-commit/mirrors-mypy
rev: 'v1.7.0' # Use the sha / tag you want to point at
Expand Down
21 changes: 21 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,26 @@
# CHANGELOG

## Unreleased (TBD)

- A series of bugs in the FLORIS time series method have been fixed to ensure energy potential
and production calculations add up as expected.
- `loss_ratio` has been replaced with `environmental_loss_ratio` to account for the only loss
category that cannot be modeled in WAVES.
- `turbine_type` input has been added to indicate if a project is land-based (coming soon), or
fixed or floating offshore wind
- Energy losses are now available through:
- `Project._get_floris_energy()` to aggregate the FLORIS energy potential and waked energy
production to the correct level in place using the same methodology in multiple methods.
- `Project.energy_losses()` for calculating total energy losses across varying granularities
- `Project.loss_ratio()` with an ability to provide categorical breakdowns
- `Project.technical_loss_ratio()` to calculate the ORCA technical losses.
- `Project.electrical_loss_ratio()` to calculate the ORCA technical losses.
- `Project.energy_potential()` now forms the basis of all energy production and loss methods to
ensure consistent computation.
- A new series of validators have been added for commonly used parameterizations alongside a
decorator `@validate_common_inputs(which=...)` to apply the validations automatically before the
main methodology is run.

## 0.5.3 (7 May 2024)

- A bug was fixed where the array system installation costs were nearly doubled when compared
Expand Down
Loading