ControllerInput Struct Reference

Kynema-FMB API: kynema_fmb::interfaces::components::ControllerInput Struct Reference
Kynema-FMB API
A flexible multibody structural dynamics code for wind turbines
Loading...
Searching...
No Matches
kynema_fmb::interfaces::components::ControllerInput Struct Reference

Configuration parameters for a DISCON-style turbine controller. More...

#include <controller_input.hpp>

Public Attributes

bool controller_enabled {false}
 Flag to enable controller.
 
bool pitch_control_enabled {false}
 Flag to enable pitch control.
 
bool torque_control_enabled {false}
 Flag to enable torque control.
 
bool yaw_control_enabled {false}
 Flag to enable yaw control.
 
bool read_checkpoint {false}
 Flag to enable restart reading.
 
PitchActuatorType pitch_actuator_type
 Pitch actuator type (default: 0 for position)
 
PitchControlType pitch_control_type
 Pitch control type (default: 0 for collective)
 
double time_step {0.0}
 Time step for controller simulation (s)
 
size_t n_blades {0}
 Number of blades.
 
double pitch_angle {0.0}
 Initial pitch angle (radians)
 
double yaw_angle {0.0}
 Initial yaw angle (radians)
 
double rotor_speed {0.0}
 Initial rotor speed (rad/s)
 
double power {0.0}
 Initial power (W)
 
std::string shared_lib_path
 Path to controller shared library.
 
std::string function_name
 Controller function name (default: "DISCON")
 
std::string input_file_path
 Path to controller input file.
 
std::string output_file_path
 Path to controller output file.
 

Detailed Description

Configuration parameters for a DISCON-style turbine controller.

This struct encapsulates all the necessary configuration parameters needed to initialize and configure a DISCON-style wind turbine controller. DISCON is a standardized interface for wind turbine control algorithms that allows for dynamic loading of controller implementations at runtime.

Member Data Documentation

◆ controller_enabled

bool kynema_fmb::interfaces::components::ControllerInput::controller_enabled {false}

Flag to enable controller.

◆ function_name

std::string kynema_fmb::interfaces::components::ControllerInput::function_name

Controller function name (default: "DISCON")

◆ input_file_path

std::string kynema_fmb::interfaces::components::ControllerInput::input_file_path

Path to controller input file.

◆ n_blades

size_t kynema_fmb::interfaces::components::ControllerInput::n_blades {0}

Number of blades.

◆ output_file_path

std::string kynema_fmb::interfaces::components::ControllerInput::output_file_path

Path to controller output file.

◆ pitch_actuator_type

PitchActuatorType kynema_fmb::interfaces::components::ControllerInput::pitch_actuator_type
Initial value:

Pitch actuator type (default: 0 for position)

◆ pitch_angle

double kynema_fmb::interfaces::components::ControllerInput::pitch_angle {0.0}

Initial pitch angle (radians)

◆ pitch_control_enabled

bool kynema_fmb::interfaces::components::ControllerInput::pitch_control_enabled {false}

Flag to enable pitch control.

◆ pitch_control_type

PitchControlType kynema_fmb::interfaces::components::ControllerInput::pitch_control_type
Initial value:

Pitch control type (default: 0 for collective)

◆ power

double kynema_fmb::interfaces::components::ControllerInput::power {0.0}

Initial power (W)

◆ read_checkpoint

bool kynema_fmb::interfaces::components::ControllerInput::read_checkpoint {false}

Flag to enable restart reading.

◆ rotor_speed

double kynema_fmb::interfaces::components::ControllerInput::rotor_speed {0.0}

Initial rotor speed (rad/s)

◆ shared_lib_path

std::string kynema_fmb::interfaces::components::ControllerInput::shared_lib_path

Path to controller shared library.

◆ time_step

double kynema_fmb::interfaces::components::ControllerInput::time_step {0.0}

Time step for controller simulation (s)

◆ torque_control_enabled

bool kynema_fmb::interfaces::components::ControllerInput::torque_control_enabled {false}

Flag to enable torque control.

◆ yaw_angle

double kynema_fmb::interfaces::components::ControllerInput::yaw_angle {0.0}

Initial yaw angle (radians)

◆ yaw_control_enabled

bool kynema_fmb::interfaces::components::ControllerInput::yaw_control_enabled {false}

Flag to enable yaw control.


The documentation for this struct was generated from the following file: