HelicsStorage Class Reference

AMR-Wind API: amr_wind::HelicsStorage Class Reference
AMR-Wind API v0.1.0
CFD solver for wind plant simulations
Loading...
Searching...
No Matches

#include <helics.H>

Collaboration diagram for amr_wind::HelicsStorage:
[legend]

Public Member Functions

 HelicsStorage (CFDSim &sim)
 
 ~HelicsStorage ()
 
void pre_advance_work ()
 
bool is_activated () const
 

Public Attributes

int m_num_turbines {1}
 
double m_inflow_wind_speed_to_amrwind {8.0}
 
double m_inflow_wind_direction_to_amrwind {270.0}
 
amrex::Vector< amrex::Real > m_turbine_power_to_controller
 
amrex::Vector< amrex::Real > m_turbine_wind_direction_to_controller
 
amrex::Vector< amrex::Real > m_turbine_yaw_to_amrwind
 

Private Member Functions

void send_messages_to_controller ()
 
void recv_messages_from_controller ()
 

Private Attributes

CFDSimm_sim
 
bool m_helics_activated {false}
 

Constructor & Destructor Documentation

◆ HelicsStorage()

amr_wind::HelicsStorage::HelicsStorage ( CFDSim & sim)
explicit

◆ ~HelicsStorage()

amr_wind::HelicsStorage::~HelicsStorage ( )
default

Member Function Documentation

◆ is_activated()

bool amr_wind::HelicsStorage::is_activated ( ) const
inline

◆ pre_advance_work()

void amr_wind::HelicsStorage::pre_advance_work ( )

◆ recv_messages_from_controller()

void amr_wind::HelicsStorage::recv_messages_from_controller ( )
private

◆ send_messages_to_controller()

void amr_wind::HelicsStorage::send_messages_to_controller ( )
private

Member Data Documentation

◆ m_helics_activated

bool amr_wind::HelicsStorage::m_helics_activated {false}
private

◆ m_inflow_wind_direction_to_amrwind

double amr_wind::HelicsStorage::m_inflow_wind_direction_to_amrwind {270.0}

◆ m_inflow_wind_speed_to_amrwind

double amr_wind::HelicsStorage::m_inflow_wind_speed_to_amrwind {8.0}

◆ m_num_turbines

int amr_wind::HelicsStorage::m_num_turbines {1}

◆ m_sim

CFDSim& amr_wind::HelicsStorage::m_sim
private

◆ m_turbine_power_to_controller

amrex::Vector<amrex::Real> amr_wind::HelicsStorage::m_turbine_power_to_controller

◆ m_turbine_wind_direction_to_controller

amrex::Vector<amrex::Real> amr_wind::HelicsStorage::m_turbine_wind_direction_to_controller

◆ m_turbine_yaw_to_amrwind

amrex::Vector<amrex::Real> amr_wind::HelicsStorage::m_turbine_yaw_to_amrwind

The documentation for this class was generated from the following files:
  • /home/runner/work/amr-wind/amr-wind/amr-wind/helics.H
  • /home/runner/work/amr-wind/amr-wind/amr-wind/helics.cpp