TurbineController Class Reference
|
Kynema API
A flexible multibody structural dynamics code for wind turbines
|
Loading...
Searching...
No Matches
kynema::util::TurbineController Class Reference
#include <turbine_controller.hpp>
Public Member Functions | |
| TurbineController (std::string shared_lib_path, std::string controller_function_name, std::string input_file_path, std::string output_file_path, double initial_yaw_angle=0.0, bool yaw_control_enabled=false) | |
| Constructor for the TurbineController class. | |
| void | CallController () |
| Method to call the controller function from the shared library. | |
| double | YawAngleCommand () const |
| Get the commanded yaw angle (rad) integrated from yaw rate command. | |
Public Attributes | |
| ControllerIO | io |
| Pointer to structure mapping swap array -> named fields i.e. ControllerIO. | |
Detailed Description
A turbine controller class that works as a wrapper around the shared library containing the controller logic
Constructor & Destructor Documentation
◆ TurbineController()
| kynema::util::TurbineController::TurbineController | ( | std::string | shared_lib_path, |
| std::string | controller_function_name, | ||
| std::string | input_file_path, | ||
| std::string | output_file_path, | ||
| double | initial_yaw_angle = 0.0, |
||
| bool | yaw_control_enabled = false |
||
| ) |
Constructor for the TurbineController class.
- Parameters
-
shared_lib_path Path to the shared library containing the controller function controller_function_name Name of the controller function in the shared library input_file_path Path to the input file output_file_path Path to the output file initial_yaw_angle Initial yaw angle (rad) yaw_control_enabled Flag to enable yaw control
Member Function Documentation
◆ CallController()
| void kynema::util::TurbineController::CallController | ( | ) |
Method to call the controller function from the shared library.
◆ YawAngleCommand()
|
inline |
Get the commanded yaw angle (rad) integrated from yaw rate command.
Member Data Documentation
◆ io
| ControllerIO kynema::util::TurbineController::io |
Pointer to structure mapping swap array -> named fields i.e. ControllerIO.
The documentation for this class was generated from the following files:
- /home/runner/work/kynema/kynema/kynema/src/utilities/controllers/turbine_controller.hpp
- /home/runner/work/kynema/kynema/kynema/src/utilities/controllers/turbine_controller.cpp
Generated by