TurbineController Class Reference

Kynema API: kynema::util::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)
 Constructor for the TurbineController class.
 
void CallController ()
 

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 
)

Constructor for the TurbineController class.

Parameters
shared_lib_pathPath to the shared library containing the controller function
controller_function_nameName of the controller function in the shared library
input_file_pathPath to the input file
output_file_pathPath to the output file

Member Function Documentation

◆ CallController()

void kynema::util::TurbineController::CallController ( )

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: