Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
H
hydesign
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
TOPFARM
hydesign
Commits
bb66f258
Commit
bb66f258
authored
1 year ago
by
Hajar Habbou
Committed by
Mikkel Friis-Møller
1 year ago
Browse files
Options
Downloads
Patches
Plain Diff
I added plant area in the output
parent
eb5ab1de
No related branches found
No related tags found
1 merge request
!107
I added plant area in the output
Pipeline
#50087
passed
1 year ago
Stage: test
Changes
3
Pipelines
2
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
.gitlab-ci.yml
+3
-3
3 additions, 3 deletions
.gitlab-ci.yml
hydesign/hpp_assembly.py
+3
-0
3 additions, 0 deletions
hydesign/hpp_assembly.py
hydesign/tests/test_files/France_good_wind_design.csv
+2
-1
2 additions, 1 deletion
hydesign/tests/test_files/France_good_wind_design.csv
with
8 additions
and
4 deletions
.gitlab-ci.yml
+
3
−
3
View file @
bb66f258
...
...
@@ -8,7 +8,7 @@ test_hydesign:
-
pip install .[test]
-
python -m pytest
tags
:
-
debian
-
linux
# ===== TEST hydesign windows=====
test_hydesign_windows
:
...
...
@@ -46,7 +46,7 @@ pages:
-
/^test_docdeploy.*/
-
main
tags
:
-
debian
-
linux
# ===== DEPLOY publish hydesign on pypi=====
pypi
:
...
...
@@ -69,5 +69,5 @@ pypi:
-
twine upload dist/* -u $TWINE_USERNAME -p $TWINE_PASSWORD
#- twine upload --repository-url https://test.pypi.org/legacy/ dist/* -u $TWINE_USERNAME -p $TWINE_PASSWORD # for testing purposes
tags
:
-
debian
-
linux
This diff is collapsed.
Click to expand it.
hydesign/hpp_assembly.py
+
3
−
0
View file @
bb66f258
...
...
@@ -466,6 +466,7 @@ class hpp_model:
'
Total curtailment [GWh]
'
,
'
Awpp [km2]
'
,
'
Apvp [km2]
'
,
'
Plant area [km2]
'
,
'
Rotor diam [m]
'
,
'
Hub height [m]
'
,
'
Number of batteries used in lifetime
'
,
...
...
@@ -590,6 +591,7 @@ class hpp_model:
prob
[
'
total_curtailment
'
]
/
1e3
,
#[GWh]
Awpp
,
prob
.
get_val
(
'
shared_cost.Apvp
'
),
max
(
Awpp
,
prob
.
get_val
(
'
shared_cost.Apvp
'
)
),
d
,
hh
,
prob
.
get_val
(
'
battery_degradation.n_batteries
'
)
*
(
b_P
>
0
),
...
...
@@ -650,6 +652,7 @@ class hpp_model:
'
Total curtailment [GWh]
'
,
'
Awpp [km2]
'
,
'
Apvp [km2]
'
,
'
Plant area [km2]
'
,
'
Rotor diam [m]
'
,
'
Hub height [m]
'
,
'
Number of batteries used in lifetime
'
,
...
...
This diff is collapsed.
Click to expand it.
hydesign/tests/test_files/France_good_wind_design.csv
+
2
−
1
View file @
bb66f258
...
...
@@ -16,7 +16,7 @@ b_E_h [h],3.0,3.0,3.0
cost_of_battery_P_fluct_in_peak_price_ratio,5.0,5.0,5.0
NPV_over_CAPEX,0.4056994118222148,-0.3096385714685465,0.1312709912092271
NPV [MEuro],118.9228083111928,-46.93668671148821,30.48324709964725
IRR,0.092157201157887
2
,0.0,0.067593645245
4
IRR,0.092157201157887,0.0,0.067593645245
3993
LCOE [Euro/MWh],23.082265092436995,31.11455770859952,26.17073137937983
CAPEX [MEuro],293.1303444021433,151.5854,232.21617220107169
OPEX [MEuro],5.357487360409396,2.025,3.698229286176772
...
...
@@ -39,6 +39,7 @@ Battery Power [MW],0.0,0.0,60.0
Total curtailment [GWh],0.0,0.0,0.0
Awpp [km2],42.85714285714285,0.0,21.428571428571427
Apvp [km2],0.0,3.678,1.839
Plant area [km2],42.85714285714285,3.678,21.428571428571427
Rotor diam [m],134.86710626894708,134.86710626894708,134.86710626894708
Hub height [m],77.43355313447354,77.43355313447354,77.43355313447354
Number of batteries used in lifetime,0.0,0.0,1.0
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment