/home/runner/work/kynema/kynema/kynema/src/interfaces/components/turbine_input.hpp Source File

Kynema API: /home/runner/work/kynema/kynema/kynema/src/interfaces/components/turbine_input.hpp Source File
Kynema API
A flexible multibody structural dynamics code for wind turbines
Loading...
Searching...
No Matches
turbine_input.hpp
Go to the documentation of this file.
1#pragma once
2
3#include <array>
4#include <vector>
5
6#include "beam_input.hpp"
7
9
18 //--------------------------------------------------------------------------
19 // Structural component inputs
20 //--------------------------------------------------------------------------
21
27 std::vector<BeamInput> blades;
28
34
35 //--------------------------------------------------------------------------
36 // Inertial properties inputs
37 //--------------------------------------------------------------------------
38
43 std::array<std::array<double, 6>, 6> yaw_bearing_inertia_matrix{};
44
49
54 std::array<std::array<double, 6>, 6> hub_inertia_matrix{};
55
60 std::array<std::array<double, 6>, 6> nacelle_inertia_matrix{};
61
66
70 std::array<double, 3> nacelle_cm_offset{};
71
72 //--------------------------------------------------------------------------
73 // Geometric configuration inputs
74 //--------------------------------------------------------------------------
75
80 std::array<double, 7> tower_base_position{0., 0., 0., 1., 0., 0., 0.};
81
86
91
97
103 double hub_diameter{1e-7};
104
105 //--------------------------------------------------------------------------
106 // Initial operating condition inputs
107 //--------------------------------------------------------------------------
108
114
121
126 double cone_angle{0.};
127
134
140 double azimuth_angle{0.};
141
146 double rotor_speed{0.};
147
148 //--------------------------------------------------------------------------
149 // Controller inputs
150 //--------------------------------------------------------------------------
151
156 double gear_box_ratio{1.};
157
163
168 double generator_power{0.};
169
174 double hub_wind_speed{0.};
175};
176
177} // namespace kynema::interfaces::components
Definition aerodynamics.cpp:5
Complete input specification for a beam.
Definition beam_input.hpp:85
Complete input specification for a turbine.
Definition turbine_input.hpp:17
BeamInput tower
Configuration for the tower structure.
Definition turbine_input.hpp:33
double hub_wind_speed
Hub height wind speed (m/s)
Definition turbine_input.hpp:174
std::array< std::array< double, 6 >, 6 > yaw_bearing_inertia_matrix
Yaw bearing inertia matrix (6x6)
Definition turbine_input.hpp:43
std::array< std::array< double, 6 >, 6 > hub_inertia_matrix
Hub inertia matrix (6x6)
Definition turbine_input.hpp:54
double generator_power
Initial generator power (W)
Definition turbine_input.hpp:168
double gear_box_ratio
Gearbox ratio of the turbine (-)
Definition turbine_input.hpp:156
double tower_top_to_rotor_apex
Vertical distance between the tower top -> rotor apex (meters)
Definition turbine_input.hpp:90
std::array< double, 3 > nacelle_cm_offset
Nacelle center of mass offset from the yaw bearing (meters)
Definition turbine_input.hpp:70
std::vector< BeamInput > blades
Configuration for the turbine blades.
Definition turbine_input.hpp:27
double generator_efficiency
Generator efficiency (-)
Definition turbine_input.hpp:162
bool yaw_bearing_inertia_matrix_set
Flag indicating if yaw_bearing inertia matrix has been set.
Definition turbine_input.hpp:48
std::array< std::array< double, 6 >, 6 > nacelle_inertia_matrix
Nacelle inertia matrix (6x6)
Definition turbine_input.hpp:60
std::array< double, 7 > tower_base_position
Position of the tower base node in the global coordinate system.
Definition turbine_input.hpp:80
double hub_diameter
Hub diameter (meters)
Definition turbine_input.hpp:103
double nacelle_yaw_angle
Initial nacelle yaw angle (radians)
Definition turbine_input.hpp:113
double rotor_apex_to_hub
Distance from rotor apex -> hub center of mass (meters)
Definition turbine_input.hpp:96
double tower_axis_to_rotor_apex
Horizontal distance between the tower axis -> rotor apex (meters)
Definition turbine_input.hpp:85
double blade_pitch_angle
Initial blade pitch angle (radians)
Definition turbine_input.hpp:133
double azimuth_angle
Current rotor azimuth angle (radians)
Definition turbine_input.hpp:140
bool nacelle_inertia_matrix_set
Flag indicating if nacelle inertia matrix has been set.
Definition turbine_input.hpp:65
double shaft_tilt_angle
Shaft tilt angle (radians)
Definition turbine_input.hpp:120
double cone_angle
Blade cone angle (radians)
Definition turbine_input.hpp:126
double rotor_speed
Initial rotor rotational speed (rad/s)
Definition turbine_input.hpp:146