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
129d0bc8
Commit
129d0bc8
authored
2 years ago
by
jumu
Browse files
Options
Downloads
Patches
Plain Diff
Added look_up tables and remove pywake dependency
parent
5e76e34b
No related branches found
No related tags found
No related merge requests found
Pipeline
#38528
passed
2 years ago
Stage: test
Changes
3
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
hydesign/look_up_tables/genWT_v3.nc
+0
-0
0 additions, 0 deletions
hydesign/look_up_tables/genWT_v3.nc
hydesign/look_up_tables/genWake_v3.nc
+0
-0
0 additions, 0 deletions
hydesign/look_up_tables/genWake_v3.nc
hydesign/wind.py
+1
-6
1 addition, 6 deletions
hydesign/wind.py
with
1 addition
and
6 deletions
hydesign/look_up_tables/genWT_v3.nc
0 → 100644
+
0
−
0
View file @
129d0bc8
File added
This diff is collapsed.
Click to expand it.
hydesign/look_up_tables/genWake_v3.nc
0 → 100644
+
0
−
0
View file @
129d0bc8
File added
This diff is collapsed.
Click to expand it.
hydesign/wind.py
+
1
−
6
View file @
129d0bc8
...
@@ -10,11 +10,6 @@ import pandas as pd
...
@@ -10,11 +10,6 @@ import pandas as pd
import
xarray
as
xr
import
xarray
as
xr
import
openmdao.api
as
om
import
openmdao.api
as
om
# pywake imports
import
py_wake
as
pw
from
py_wake.wind_turbines.generic_wind_turbines
import
GenericWindTurbine
from
py_wake.examples.data.iea37
import
IEA37Site
class
genericWT_surrogate
(
om
.
ExplicitComponent
):
class
genericWT_surrogate
(
om
.
ExplicitComponent
):
"""
"""
Metamodel of WT
Metamodel of WT
...
@@ -222,4 +217,4 @@ class wpp(om.ExplicitComponent):
...
@@ -222,4 +217,4 @@ class wpp(om.ExplicitComponent):
# -----------------------------------------------------------------------
# -----------------------------------------------------------------------
def
get_rotor_area
(
d
):
return
np
.
pi
*
(
d
/
2
)
**
2
def
get_rotor_area
(
d
):
return
np
.
pi
*
(
d
/
2
)
**
2
def
get_rotor_d
(
area
):
return
2
*
(
area
/
np
.
pi
)
**
0.5
def
get_rotor_d
(
area
):
return
2
*
(
area
/
np
.
pi
)
**
0.5
\ No newline at end of file
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