Skip to content

Conversation

mstargardt
Copy link
Collaborator

Added function to scale given OffshoreCapex regarding, wind speed, water depth and distance to the nearest coastline.
Test are included

@mstargardt mstargardt requested a review from phil-fzj July 11, 2025 13:59
Copy link
Collaborator

@phil-fzj phil-fzj left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I added some comments @mstargardt
Also we need the pipeline running for RESKit on Github before we can merge anything @julian-belina

Comment on lines 191 to 196
# Combine all costs
totalOffshoreCapex = (
newTurbineCost + newFoundationCost + newCableCost + overheadCostBase
)

return totalOffshoreCapex
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

also this function would profit from having the respective unit next to the variables

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The pipeline is up and running on the dev branch

Copy link
Collaborator

@chrisjwin chrisjwin left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Very, very nice addition to the RESkit body, thanks @mstargardt !! Only one general question left, also to @phil-fzj - would we discontinue the "offshore_turbine_capex" function and related functions in offshore_cost_model.py then? They are very nice, but helplessly outdated and cannot be updated without a new, consistent datasource as far as I understand @mstargardt ?

Copy link
Collaborator

@chrisjwin chrisjwin left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

some tests are failing, please ensure that the test pipeline works at least locally until the github version is adapted

Copy link
Collaborator

@chrisjwin chrisjwin left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Substantial error in scaling, not the author's fault but probably wrong in source paper

@julian-belina
Copy link
Collaborator

I would propose ignoring the linting error and introducing linting in a new pull request.

@phil-fzj
Copy link
Collaborator

phil-fzj commented Oct 2, 2025

closes #156

@mstargardt
Copy link
Collaborator Author

added new commits. last test run needs to be done.
in theorie, everything should be fine.

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.

4 participants