Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
W
WindEnergyToolbox
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
Container Registry
Model registry
Operate
Environments
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
wtlib
WindEnergyToolbox
Commits
29a5c859
Commit
29a5c859
authored
6 years ago
by
Emmanuel Branlard
Browse files
Options
Downloads
Patches
Plain Diff
No need for ae dependency in this file
parent
8e10d70d
No related branches found
No related tags found
No related merge requests found
Pipeline
#5522
failed
6 years ago
Stage: test
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
wetb/hawc2/pc_file.py
+3
-3
3 additions, 3 deletions
wetb/hawc2/pc_file.py
with
3 additions
and
3 deletions
wetb/hawc2/pc_file.py
+
3
−
3
View file @
29a5c859
...
...
@@ -13,7 +13,6 @@ from builtins import int
from
future
import
standard_library
standard_library
.
install_aliases
()
from
wetb.hawc2.ae_file
import
AEFile
import
numpy
as
np
class
PCFile
(
object
):
...
...
@@ -126,8 +125,9 @@ class PCFile(object):
if
__name__
==
"
__main__
"
:
pcfile
=
PCFile
(
"
tests/test_files/NREL_5MW_pc.txt
"
)
aefile
=
AEFile
(
"
tests/test_files/NREL_5MW_ae.txt
"
)
print
(
aefile
.
thickness
(
36
))
#from wetb.hawc2.ae_file import AEFile
#aefile = AEFile("tests/test_files/NREL_5MW_ae.txt")
#print (aefile.thickness(36))
print
(
pcfile
.
CL
(
21
,
10
))
# CL for thickness 21% and AOA=10deg
#1.358
...
...
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