Skip to content
Snippets Groups Projects
Commit 092f82b1 authored by Jenni Rinker's avatar Jenni Rinker
Browse files

switching to 0.2.0 interface

parent 03868fb7
No related branches found
No related tags found
No related merge requests found
Pipeline #22743 failed
......@@ -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
......@@ -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',
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment