Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
oc3-monopile
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
HAWC Reference Models
oc3-monopile
Commits
092f82b1
Commit
092f82b1
authored
3 years ago
by
Jenni Rinker
Browse files
Options
Downloads
Patches
Plain Diff
switching to 0.2.0 interface
parent
03868fb7
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Pipeline
#22743
failed
3 years ago
Stage: build
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
oc3-monopile/htc/oc3_monopile_phase_1.htc
+9
-10
9 additions, 10 deletions
oc3-monopile/htc/oc3_monopile_phase_1.htc
utils/prepare_model.py
+3
-2
3 additions, 2 deletions
utils/prepare_model.py
with
12 additions
and
12 deletions
oc3-monopile/htc/oc3_monopile_phase_1.htc
+
9
−
10
View file @
092f82b1
...
...
@@ -315,12 +315,12 @@ end new_htc_structure;
;----------------------------------------------------------------------------------------------------------------------------------------------------------------
begin wind ;
density 1.225 ; to be checked
wsp
8
.0 ;
wsp
14
.0 ;
tint 0.0 ;
horizontal_input 1 ; 0=false, 1=true
windfield_rotations 0.0 0.0 0.0 ; yaw, tilt, rotation
center_pos0 0.0 0.0 -90.0 ;
shear_format 1 0.
14
;0=none,1=constant,2=log,3=power,4=linear
shear_format 1 0.
0
;0=none,1=constant,2=log,3=power,4=linear
turb_format 0 ; 0=none, 1=mann,2=flex
tower_shadow_method 3 ; 0=none, 1=potential flow, 2=jet
;
...
...
@@ -397,9 +397,9 @@ begin dll;
;
begin init ; parameters needed to initialize DLL
constant 1 97 ; Gear ratio [-]
constant 2 0.04 ; Time constant for low-pass filter on pitch [s]
constant
3
3 ; Number of blades [-]
constant
4
0 ; Enable DLL log [0=disable, 1=enable]
constant
2
3 ; Number of blades [-]
constant
3
0 ; Enable DLL log [0=disable, 1=enable]
end init ;
;
begin output; HAWC2 channels passed to the interface DLL
...
...
@@ -462,7 +462,6 @@ end dll;
;
begin output;
filename ./res/oc3_monopile_phase_1 ;
; time 50.0 650.0 ;
buffer 9999 ;
general time;
data_format gtsdf;
...
...
@@ -504,12 +503,12 @@ begin output;
;
; control dll
dll inpvec 1 1 # mgen lss; [Nm]
dll inpvec 1 2 # blade1 pitch; [rad]
dll inpvec 1 3 # blade2 pitch; [rad]
dll inpvec 1 4 # blade3 pitch; [rad]
dll inpvec 1 2 #
demanded
blade1 pitch; [rad]
dll inpvec 1 3 #
demanded
blade2 pitch; [rad]
dll inpvec 1 4 #
demanded
blade3 pitch; [rad]
dll inpvec 1 5 # electrical power; [kW]
dll inpvec 1 6 # genspeed; [rpm]
dll inpvec 1 7 # unfiltered pitch; [rad]
;
end output;
;
exit;
\ No newline at end of file
This diff is collapsed.
Click to expand it.
utils/prepare_model.py
+
3
−
2
View file @
092f82b1
...
...
@@ -10,9 +10,10 @@ class OC3Monopile(ReferenceModel):
tb_wid
=
130
,
tb_ht
=
130
)
# rotor diameter is 126 m
model_kwargs
[
'
tint
'
]
=
0.14
*
(
0.75
*
model_kwargs
[
'
wsp
'
]
+
5.6
)
/
model_kwargs
[
'
wsp
'
]
# class 1B
dll_list
=
[(
'
damper_5mw.dll
'
,
'
damper.dll
'
),
(
'
DISCON_NREL5MW_v0.
1
.0.dll
'
,
'
DISCON.dll
'
),
(
'
DISCON_NREL5MW_v0.
2
.0.dll
'
,
'
DISCON.dll
'
),
(
'
hss_convert_5mw.dll
'
,
'
hss_convert.dll
'
),
(
'
nrel_5mw_interface_v0.1.0.dll
'
,
'
nrel_5mw_interface.dll
'
)]
(
'
nrel_5mw_interface_v0.2.0.dll
'
,
'
nrel_5mw_interface.dll
'
),
(
'
pitchservo_pos_5mw.dll
'
,
'
pitchservo_pos.dll
'
)]
ReferenceModel
.
__init__
(
self
,
model_path_name
=
'
oc3-monopile
'
,
htc_basename
=
'
oc3_monopile_phase_1
'
,
...
...
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