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
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
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
Christian Pavese
WindEnergyToolbox
Commits
8911394e
Commit
8911394e
authored
8 years ago
by
David Verelst
Browse files
Options
Downloads
Patches
Plain Diff
docs: consistancy fixees in how-to-dlb, thanks
@tlbl
parent
23820bc2
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
docs/howto-make-dlcs.md
+12
-10
12 additions, 10 deletions
docs/howto-make-dlcs.md
with
12 additions
and
10 deletions
docs/howto-make-dlcs.md
+
12
−
10
View file @
8911394e
...
@@ -248,7 +248,7 @@ g-000 $ cd /mnt/mimer/hawc2sim/demo/
...
@@ -248,7 +248,7 @@ g-000 $ cd /mnt/mimer/hawc2sim/demo/
# copy the dlctemplate to your turbine model folder and rename to myturbine.py
# copy the dlctemplate to your turbine model folder and rename to myturbine.py
g-000 $ cp /home/MET/repositories/toolbox/WindEnergyToolbox/wetb/prepost/dlctemplate.py ./myturbine.py
g-000 $ cp /home/MET/repositories/toolbox/WindEnergyToolbox/wetb/prepost/dlctemplate.py ./myturbine.py
g-000 $ cd A0001
g-000 $ cd A0001
g-000 $ qsub-wrap.py -f ../
dlctemplat
e.py --prep
g-000 $ qsub-wrap.py -f ../
myturbin
e.py --prep
```
```
...
@@ -271,8 +271,10 @@ g-000 $ source activate wetb_py3
...
@@ -271,8 +271,10 @@ g-000 $ source activate wetb_py3
For example, launch the auto-generation of DLCs input files:
For example, launch the auto-generation of DLCs input files:
```
```
g-000 $ cd path/to/HAWC2/model # folder where the hawc2 model is located
# folder where the HAWC2 model is located
g-000 $ python dlctemplate.py --prep
g-000 $ cd /mnt/mimer/hawc2sim/demo/AA0001
# assuming myturbine.py is copy of dlctemplate.py and is placed one level up
g-000 $ python ../myturbine.py --prep
```
```
Or start an interactive IPython shell:
Or start an interactive IPython shell:
...
@@ -511,11 +513,11 @@ htc files, but now we set different flags. For example, for checking the log
...
@@ -511,11 +513,11 @@ htc files, but now we set different flags. For example, for checking the log
files, calculating the statistics, the AEP and the life time equivalent loads:
files, calculating the statistics, the AEP and the life time equivalent loads:
```
```
# dlctemplate.py is assumed to be located one folder up
#
myturbine.py (copy of
dlctemplate.py
)
is assumed to be located one folder up
g-000 $ qsub-wrap.py -f ../
dlctemplat
e.py --years=25 --neq=1e7 --stats --check_logs --fatigue
g-000 $ qsub-wrap.py -f ../
myturbin
e.py --years=25 --neq=1e7 --stats --check_logs --fatigue
```
```
Other options for the ```dlctemplate.py``` script:
Other options for the
original
```dlctemplate.py``` script:
```
```
usage: dlctemplate.py [-h] [--prep] [--check_logs] [--stats] [--fatigue]
usage: dlctemplate.py [-h] [--prep] [--check_logs] [--stats] [--fatigue]
...
@@ -540,7 +542,7 @@ optional arguments:
...
@@ -540,7 +542,7 @@ optional arguments:
```
```
The load envelopes are computed for sensors specified in the
The load envelopes are computed for sensors specified in the
```
dlctemplat
e.py
``` file. The sensors are specified in a list of lists. The
```
myturbin
e.py
``` file. The sensors are specified in a list of lists. The
inner list contains the sensors at one location. The envelope is computed for
inner list contains the sensors at one location. The envelope is computed for
the first two sensors of the inner list and the other sensors are used to
the first two sensors of the inner list and the other sensors are used to
retrieve the remaining loads defining the load state occurring at the same
retrieve the remaining loads defining the load state occurring at the same
...
@@ -553,9 +555,9 @@ Debugging
...
@@ -553,9 +555,9 @@ Debugging
---------
---------
Any output (everything that involves print statements) generated during the
Any output (everything that involves print statements) generated during the
post-processing of the simulations using ```
dlctemplat
e.py
``` is captured in
post-processing of the simulations using ```
myturbin
e.py
``` is captured in
the ```
pbs_out/qsub-wrap_
dlctemplat
e.py.out
``` file, while exceptions and errors
the ```
pbs_out/qsub-wrap_
myturbin
e.py.out
``` file, while exceptions and errors
are redirected to the ```
pbs_out/qsub-wrap_
dlctemplat
e.py.err
``` text file.
are redirected to the ```
pbs_out/qsub-wrap_
myturbin
e.py.err
``` text file.
The output and errors of HAWC2 simulations can also be found in the ```
pbs_out
```
The output and errors of HAWC2 simulations can also be found in the ```
pbs_out
```
directory. The ```
.err
``` and ```
.out
``` files will be named exactly the same
directory. The ```
.err
``` and ```
.out
``` files will be named exactly the same
...
...
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