Turbine Class Reference

#include <TurbineMechanism.h>

List of all members.

Public Types

enum  pitchType {
  free, collective, linear, relWind,
  free, collective, linear, relWind,
  free, collective, linear, relWind,
  free, collective, linear, relWind
}
enum  pitchType {
  free, collective, linear, relWind,
  free, collective, linear, relWind,
  free, collective, linear, relWind,
  free, collective, linear, relWind
}
enum  pitchType {
  free, collective, linear, relWind,
  free, collective, linear, relWind,
  free, collective, linear, relWind,
  free, collective, linear, relWind
}
enum  pitchType {
  free, collective, linear, relWind,
  free, collective, linear, relWind,
  free, collective, linear, relWind,
  free, collective, linear, relWind
}

Public Member Functions

 Turbine ()
 ~Turbine ()
bool build (int i, std::string name, std::string file, int type)
bool specificSetup (SceneType &ThisScene, TurbineControl *TurbineCtrl)
void yaw (DataType val)
void ontop (SceneType &ThisScene, TurbineControl *TurbineCtrl, DataType offset)
void positionBlade (int n, DataType val)
void rotate (DataType time, DataType period)
void rotate (DataType val)
void pitch (int n, DataType val)
AssemblyTypeGetRotor ()
void response (Turbine *ThisTurbine, TurbineControl *TurbineCtrl, double &t, double &dt, int nsteps, int logevery)
virtual void logKinetics (Turbine *ThisTurbine, TurbineControl *TurbineCtrl, std::ofstream &ofs, DataType time_, int steps)
void movement (Turbine *ThisTurbine, TurbineControl *TurbineCtrl, double &t, double &dt)
virtual void Restart (std::ifstream &ifs, int &pos, double &t, double &dt)
virtual void Checkpointing (std::ofstream &ofs)
 Turbine ()
 ~Turbine ()
bool build (int i, std::string name, std::string file, int type)
bool specificSetup (SceneType &ThisScene, TurbineControl *TurbineCtrl)
void yaw (DataType val)
void ontop (SceneType &ThisScene, TurbineControl *TurbineCtrl, DataType offset)
void positionBlade (int n, DataType val)
void rotate (DataType time, DataType period)
void rotate (DataType val)
void pitch (int n, DataType val)
AssemblyTypeGetRotor ()
void response (Turbine *ThisTurbine, TurbineControl *TurbineCtrl, double &t, double &dt, int nsteps, int logevery)
virtual void logKinetics (Turbine *ThisTurbine, TurbineControl *TurbineCtrl, std::ofstream &ofs, DataType time_, int steps)
void movement (Turbine *ThisTurbine, TurbineControl *TurbineCtrl, double &t, double &dt)
virtual void Restart (std::ifstream &ifs, int &pos, double &t, double &dt)
virtual void Checkpointing (std::ofstream &ofs)
 Turbine ()
 ~Turbine ()
bool build (int i, std::string name, std::string file, int type)
bool specificSetup (SceneType &ThisScene, TurbineControl *TurbineCtrl)
void yaw (DataType val)
void ontop (SceneType &ThisScene, TurbineControl *TurbineCtrl, DataType offset)
void positionBlade (int n, DataType val)
void rotate (DataType time, DataType period)
void rotate (DataType val)
void pitch (int n, DataType val)
AssemblyTypeGetRotor ()
void response (Turbine *ThisTurbine, TurbineControl *TurbineCtrl, double &t, double &dt, int nsteps, int logevery)
virtual void logKinetics (Turbine *ThisTurbine, TurbineControl *TurbineCtrl, std::ofstream &ofs, DataType time_, int steps)
void movement (Turbine *ThisTurbine, TurbineControl *TurbineCtrl, double &t, double &dt)
virtual void Restart (std::ifstream &ifs, int &pos, double &t, double &dt)
virtual void Checkpointing (std::ofstream &ofs)
 Turbine ()
 ~Turbine ()
bool build (int i, std::string name, std::string file, int type)
bool specificSetup (SceneType &ThisScene, TurbineControl *TurbineCtrl)
void yaw (DataType val)
void ontop (SceneType &ThisScene, TurbineControl *TurbineCtrl, DataType offset)
void positionBlade (int n, DataType val)
void rotate (DataType time, DataType period)
void rotate (DataType val)
void pitch (int n, DataType val)
AssemblyTypeGetRotor ()
void response (Turbine *ThisTurbine, TurbineControl *TurbineCtrl, double &t, double &dt, int nsteps, int logevery)
virtual void logKinetics (Turbine *ThisTurbine, TurbineControl *TurbineCtrl, std::ofstream &ofs, DataType time_, int steps)
void movement (Turbine *ThisTurbine, TurbineControl *TurbineCtrl, double &t, double &dt)
virtual void Restart (std::ifstream &ifs, int &pos, double &t, double &dt)
virtual void Checkpointing (std::ofstream &ofs)

Protected Attributes

AssemblyTypeTurbine0pt
AssemblyTypeRotor0
LoftTypeTower0
LoftTypeNacel0
LoftTypeBlades [MAXBLADES]
LoftTypeHub0
LinkTypeL0
ChainTypeC1
ChainTypeC2
ChainTypeC3
ChainTypeC4
ChainTypeC5
int L0_index
int C1_index
PType T_rotor
PType T_nacelle
DataType a_rotor
DataType a_nacelle
DataType v_rotor
DataType v_nacelle
DataType p_rotor
DataType p_nacelle
DataType a_blades [MAXBLADES]
DataType v_blades [MAXBLADES]
DataType p_blades [MAXBLADES]

Friends

class Terrain

Member Enumeration Documentation

Enumerator:
free 
collective 
linear 
relWind 
free 
collective 
linear 
relWind 
free 
collective 
linear 
relWind 
free 
collective 
linear 
relWind 
Enumerator:
free 
collective 
linear 
relWind 
free 
collective 
linear 
relWind 
free 
collective 
linear 
relWind 
free 
collective 
linear 
relWind 
Enumerator:
free 
collective 
linear 
relWind 
free 
collective 
linear 
relWind 
free 
collective 
linear 
relWind 
free 
collective 
linear 
relWind 
Enumerator:
free 
collective 
linear 
relWind 
free 
collective 
linear 
relWind 
free 
collective 
linear 
relWind 
free 
collective 
linear 
relWind 

Constructor & Destructor Documentation

Turbine::Turbine (  )  [inline]
Turbine::~Turbine (  )  [inline]
Turbine::Turbine (  )  [inline]
Turbine::~Turbine (  )  [inline]
Turbine::Turbine (  )  [inline]
Turbine::~Turbine (  )  [inline]
Turbine::Turbine (  )  [inline]
Turbine::~Turbine (  )  [inline]

Member Function Documentation

bool Turbine::build ( int  i,
std::string  name,
std::string  file,
int  type 
) [inline]
bool Turbine::build ( int  i,
std::string  name,
std::string  file,
int  type 
) [inline]
bool Turbine::build ( int  i,
std::string  name,
std::string  file,
int  type 
) [inline]
bool Turbine::build ( int  i,
std::string  name,
std::string  file,
int  type 
) [inline]
virtual void Turbine::Checkpointing ( std::ofstream &  ofs  )  [inline, virtual]
virtual void Turbine::Checkpointing ( std::ofstream &  ofs  )  [inline, virtual]
virtual void Turbine::Checkpointing ( std::ofstream &  ofs  )  [inline, virtual]
virtual void Turbine::Checkpointing ( std::ofstream &  ofs  )  [inline, virtual]
AssemblyType* Turbine::GetRotor (  )  [inline]

References Rotor0.

AssemblyType* Turbine::GetRotor (  )  [inline]

References Rotor0.

AssemblyType* Turbine::GetRotor (  )  [inline]

References Rotor0.

AssemblyType* Turbine::GetRotor (  )  [inline]

References Rotor0.

void Turbine::movement ( Turbine ThisTurbine,
TurbineControl TurbineCtrl,
double &  t,
double &  dt 
) [inline]

Yaw nacelle

ROTATE rotor assembly as a whole

Individual blade pitch

References d2r, rotate(), TurbineControl::rotation_initial, TurbineControl::rotation_rate, yaw(), TurbineControl::yaw_initial, and TurbineControl::yaw_rate.

void Turbine::movement ( Turbine ThisTurbine,
TurbineControl TurbineCtrl,
double &  t,
double &  dt 
) [inline]

Yaw nacelle

ROTATE rotor assembly as a whole

Individual blade pitch

References d2r, rotate(), TurbineControl::rotation_initial, TurbineControl::rotation_rate, yaw(), TurbineControl::yaw_initial, and TurbineControl::yaw_rate.

void Turbine::movement ( Turbine ThisTurbine,
TurbineControl TurbineCtrl,
double &  t,
double &  dt 
) [inline]

Yaw nacelle

ROTATE rotor assembly as a whole

Individual blade pitch

References d2r, rotate(), TurbineControl::rotation_initial, TurbineControl::rotation_rate, yaw(), TurbineControl::yaw_initial, and TurbineControl::yaw_rate.

void Turbine::movement ( Turbine ThisTurbine,
TurbineControl TurbineCtrl,
double &  t,
double &  dt 
) [inline]
void Turbine::pitch ( int  n,
DataType  val 
) [inline]
void Turbine::pitch ( int  n,
DataType  val 
) [inline]
void Turbine::pitch ( int  n,
DataType  val 
) [inline]
void Turbine::pitch ( int  n,
DataType  val 
) [inline]
void Turbine::positionBlade ( int  n,
DataType  val 
) [inline]
void Turbine::positionBlade ( int  n,
DataType  val 
) [inline]
void Turbine::positionBlade ( int  n,
DataType  val 
) [inline]
void Turbine::positionBlade ( int  n,
DataType  val 
) [inline]
void Turbine::response ( Turbine ThisTurbine,
TurbineControl TurbineCtrl,
double &  t,
double &  dt,
int  nsteps,
int  logevery 
) [inline]
void Turbine::response ( Turbine ThisTurbine,
TurbineControl TurbineCtrl,
double &  t,
double &  dt,
int  nsteps,
int  logevery 
) [inline]
void Turbine::response ( Turbine ThisTurbine,
TurbineControl TurbineCtrl,
double &  t,
double &  dt,
int  nsteps,
int  logevery 
) [inline]
virtual void Turbine::Restart ( std::ifstream &  ifs,
int &  pos,
double &  t,
double &  dt 
) [inline, virtual]
virtual void Turbine::Restart ( std::ifstream &  ifs,
int &  pos,
double &  t,
double &  dt 
) [inline, virtual]
virtual void Turbine::Restart ( std::ifstream &  ifs,
int &  pos,
double &  t,
double &  dt 
) [inline, virtual]
virtual void Turbine::Restart ( std::ifstream &  ifs,
int &  pos,
double &  t,
double &  dt 
) [inline, virtual]
void Turbine::rotate ( DataType  val  )  [inline]
void Turbine::rotate ( DataType  time,
DataType  period 
) [inline]
void Turbine::rotate ( DataType  val  )  [inline]
void Turbine::rotate ( DataType  time,
DataType  period 
) [inline]
void Turbine::rotate ( DataType  val  )  [inline]
void Turbine::rotate ( DataType  time,
DataType  period 
) [inline]
void Turbine::rotate ( DataType  val  )  [inline]
void Turbine::rotate ( DataType  time,
DataType  period 
) [inline]
bool Turbine::specificSetup ( SceneType ThisScene,
TurbineControl TurbineCtrl 
) [inline]

initialization

Sperical Wrist currently works in a Euler Z-X-Z convetion

position blades in rotor assembly

ROTATE rotor assembly as a whole

Individual blade pitch

References LinkControl::a, SceneBase< DataType, dim >::AddAssembly(), SceneBase< DataType, dim >::AddChain(), DH_Chain< class, dim >::AddJoint(), DH_Chain< class, dim >::addLink(), SceneBase< DataType, dim >::addLink(), DH_Chain< class, dim >::addNativeLink(), Assembly< class, dim >::AddPart(), Assembly< class, dim >::AddSubAssembly(), DH_Chain< class, dim >::addTernLink(), TurbineControl::blade_file, TurbineControl::blade_filetype, TurbineControl::blade_name, Blades, C1, C1_index, C2, C3, C4, C5, LinkControl::d, SceneBase< DataType, dim >::GetCoordFrame(), SceneBase< DataType, dim >::GetNthAssembly(), DH_Chain< class, dim >::GetNthLink(), Assembly< class, dim >::GetNthPart(), SceneBase< DataType, dim >::GetNthSceneAssembly(), Assembly< class, dim >::GetNthSubAssembly(), SceneBase< DataType, dim >::GetNumChains(), SceneBase< DataType, dim >::GetNumLinks(), Assembly< class, dim >::GetNumParts(), Hub0, TurbineControl::hub_file, TurbineControl::hub_filetype, TurbineControl::hub_name, TurbineControl::idNum, Assembly< class, dim >::IdTag(), PartBase< DataType, dim >::IdTag(), L0, L0_index, Surface< class >::measure(), Nacel0, TurbineControl::nacelle_file, TurbineControl::nacelle_filetype, TurbineControl::nacelle_name, TurbineControl::num_blades, JointControl::origin, pitch(), TurbineControl::pitch_initial, positionBlade(), Assembly< class, dim >::print(), Joint< DataType, 3 >::prismatic, LinkControl::r, Joint< DataType, 3 >::revolute, Rotor0, TurbineControl::scene_tower, Joint< class, dim >::setId(), Assembly< class, dim >::setName(), DH_Chain< class, dim >::setParentChain(), DH_Link< class, dim >::setQ_pre(), Joint< DataType, 3 >::sphericalWrist, LinkControl::t, TurbineControl::theta, Tower0, TurbineControl::tower_file, TurbineControl::tower_filetype, TurbineControl::tower_name, TurbineControl::towerBase, Turbine0pt, TurbineControl::turbine_name, JointControl::xaxis, yaw(), TurbineControl::yaw_initial, and JointControl::zaxis.

bool Turbine::specificSetup ( SceneType ThisScene,
TurbineControl TurbineCtrl 
) [inline]

initialization

Sperical Wrist currently works in a Euler Z-X-Z convetion

position blades in rotor assembly

ROTATE rotor assembly as a whole

Individual blade pitch

References LinkControl::a, SceneBase< DataType, dim >::AddAssembly(), SceneBase< DataType, dim >::AddChain(), DH_Chain< class, dim >::AddJoint(), DH_Chain< class, dim >::addLink(), SceneBase< DataType, dim >::addLink(), DH_Chain< class, dim >::addNativeLink(), Assembly< class, dim >::AddPart(), Assembly< class, dim >::AddSubAssembly(), DH_Chain< class, dim >::addTernLink(), TurbineControl::blade_file, TurbineControl::blade_filetype, TurbineControl::blade_name, Blades, C1, C1_index, C2, C3, C4, C5, LinkControl::d, SceneBase< DataType, dim >::GetCoordFrame(), SceneBase< DataType, dim >::GetNthAssembly(), DH_Chain< class, dim >::GetNthLink(), Assembly< class, dim >::GetNthPart(), SceneBase< DataType, dim >::GetNthSceneAssembly(), Assembly< class, dim >::GetNthSubAssembly(), SceneBase< DataType, dim >::GetNumChains(), SceneBase< DataType, dim >::GetNumLinks(), Assembly< class, dim >::GetNumParts(), Hub0, TurbineControl::hub_file, TurbineControl::hub_filetype, TurbineControl::hub_name, TurbineControl::idNum, Assembly< class, dim >::IdTag(), PartBase< DataType, dim >::IdTag(), L0, L0_index, Surface< class >::measure(), Nacel0, TurbineControl::nacelle_file, TurbineControl::nacelle_filetype, TurbineControl::nacelle_name, TurbineControl::num_blades, JointControl::origin, pitch(), TurbineControl::pitch_initial, positionBlade(), Assembly< class, dim >::print(), Joint< DataType, 3 >::prismatic, LinkControl::r, Joint< DataType, 3 >::revolute, Rotor0, TurbineControl::scene_tower, Joint< class, dim >::setId(), Assembly< class, dim >::setName(), DH_Chain< class, dim >::setParentChain(), DH_Link< class, dim >::setQ_pre(), Joint< DataType, 3 >::sphericalWrist, LinkControl::t, TurbineControl::theta, Tower0, TurbineControl::tower_file, TurbineControl::tower_filetype, TurbineControl::tower_name, TurbineControl::towerBase, Turbine0pt, TurbineControl::turbine_name, JointControl::xaxis, yaw(), TurbineControl::yaw_initial, and JointControl::zaxis.

bool Turbine::specificSetup ( SceneType ThisScene,
TurbineControl TurbineCtrl 
) [inline]

initialization

Sperical Wrist currently works in a Euler Z-X-Z convetion

position blades in rotor assembly

ROTATE rotor assembly as a whole

Individual blade pitch

References LinkControl::a, SceneBase< DataType, dim >::AddAssembly(), SceneBase< DataType, dim >::AddChain(), DH_Chain< class, dim >::AddJoint(), DH_Chain< class, dim >::addLink(), SceneBase< DataType, dim >::addLink(), DH_Chain< class, dim >::addNativeLink(), Assembly< class, dim >::AddPart(), Assembly< class, dim >::AddSubAssembly(), DH_Chain< class, dim >::addTernLink(), TurbineControl::blade_file, TurbineControl::blade_filetype, TurbineControl::blade_name, Blades, C1, C1_index, C2, C3, C4, C5, LinkControl::d, SceneBase< DataType, dim >::GetCoordFrame(), SceneBase< DataType, dim >::GetNthAssembly(), DH_Chain< class, dim >::GetNthLink(), Assembly< class, dim >::GetNthPart(), SceneBase< DataType, dim >::GetNthSceneAssembly(), Assembly< class, dim >::GetNthSubAssembly(), SceneBase< DataType, dim >::GetNumChains(), SceneBase< DataType, dim >::GetNumLinks(), Assembly< class, dim >::GetNumParts(), Hub0, TurbineControl::hub_file, TurbineControl::hub_filetype, TurbineControl::hub_name, TurbineControl::idNum, Assembly< class, dim >::IdTag(), PartBase< DataType, dim >::IdTag(), L0, L0_index, Surface< class >::measure(), Nacel0, TurbineControl::nacelle_file, TurbineControl::nacelle_filetype, TurbineControl::nacelle_name, TurbineControl::num_blades, JointControl::origin, pitch(), TurbineControl::pitch_initial, positionBlade(), Assembly< class, dim >::print(), Joint< DataType, 3 >::prismatic, LinkControl::r, Joint< DataType, 3 >::revolute, Rotor0, TurbineControl::scene_tower, Joint< class, dim >::setId(), Assembly< class, dim >::setName(), DH_Chain< class, dim >::setParentChain(), DH_Link< class, dim >::setQ_pre(), Joint< DataType, 3 >::sphericalWrist, LinkControl::t, TurbineControl::theta, Tower0, TurbineControl::tower_file, TurbineControl::tower_filetype, TurbineControl::tower_name, TurbineControl::towerBase, Turbine0pt, TurbineControl::turbine_name, JointControl::xaxis, yaw(), TurbineControl::yaw_initial, and JointControl::zaxis.

bool Turbine::specificSetup ( SceneType ThisScene,
TurbineControl TurbineCtrl 
) [inline]

initialization

Sperical Wrist currently works in a Euler Z-X-Z convetion

position blades in rotor assembly

ROTATE rotor assembly as a whole

Individual blade pitch

References LinkControl::a, SceneBase< DataType, dim >::AddAssembly(), SceneBase< DataType, dim >::AddChain(), DH_Chain< class, dim >::AddJoint(), DH_Chain< class, dim >::addLink(), SceneBase< DataType, dim >::addLink(), DH_Chain< class, dim >::addNativeLink(), Assembly< class, dim >::AddPart(), Assembly< class, dim >::AddSubAssembly(), DH_Chain< class, dim >::addTernLink(), TurbineControl::blade_file, TurbineControl::blade_filetype, TurbineControl::blade_name, Blades, C1, C1_index, C2, C3, C4, C5, LinkControl::d, SceneBase< DataType, dim >::GetCoordFrame(), SceneBase< DataType, dim >::GetNthAssembly(), DH_Chain< class, dim >::GetNthLink(), Assembly< class, dim >::GetNthPart(), SceneBase< DataType, dim >::GetNthSceneAssembly(), Assembly< class, dim >::GetNthSubAssembly(), SceneBase< DataType, dim >::GetNumChains(), SceneBase< DataType, dim >::GetNumLinks(), Assembly< class, dim >::GetNumParts(), Hub0, TurbineControl::hub_file, TurbineControl::hub_filetype, TurbineControl::hub_name, TurbineControl::idNum, Assembly< class, dim >::IdTag(), PartBase< DataType, dim >::IdTag(), L0, L0_index, Surface< class >::measure(), Nacel0, TurbineControl::nacelle_file, TurbineControl::nacelle_filetype, TurbineControl::nacelle_name, TurbineControl::num_blades, JointControl::origin, pitch(), TurbineControl::pitch_initial, positionBlade(), Assembly< class, dim >::print(), Joint< DataType, 3 >::prismatic, LinkControl::r, Joint< DataType, 3 >::revolute, rotate(), TurbineControl::rotation_initial, Rotor0, TurbineControl::scene_tower, Joint< class, dim >::setId(), Assembly< class, dim >::setName(), DH_Chain< class, dim >::setParentChain(), DH_Link< class, dim >::setQ_pre(), Joint< DataType, 3 >::sphericalWrist, LinkControl::t, TurbineControl::theta, Tower0, TurbineControl::tower_file, TurbineControl::tower_filetype, TurbineControl::tower_name, TurbineControl::towerBase, Turbine0pt, TurbineControl::turbine_name, JointControl::xaxis, yaw(), TurbineControl::yaw_initial, and JointControl::zaxis.

Referenced by MotionSpecific::specificSetup().

void Turbine::yaw ( DataType  val  )  [inline]
void Turbine::yaw ( DataType  val  )  [inline]
void Turbine::yaw ( DataType  val  )  [inline]
void Turbine::yaw ( DataType  val  )  [inline]

Friends And Related Function Documentation

Terrain [friend]

Member Data Documentation

Referenced by response(), and Turbine().

Referenced by Checkpointing(), and Restart().

int Turbine::C1_index [protected]
ChainType * Turbine::C5 [protected]

Referenced by specificSetup().

LoftType * Turbine::Hub0 [protected]

Referenced by logKinetics(), and specificSetup().

int Turbine::L0_index [protected]
LoftType * Turbine::Nacel0 [protected]

Referenced by logKinetics(), and specificSetup().

Referenced by logKinetics(), response(), and Turbine().

Referenced by GetRotor(), and specificSetup().

Referenced by Checkpointing(), and Restart().

PType Turbine::T_rotor [protected]

Referenced by Checkpointing(), response(), and Restart().

LoftType * Turbine::Tower0 [protected]

Referenced by logKinetics(), and specificSetup().

Referenced by build(), and specificSetup().

Referenced by response(), and Turbine().


The documentation for this class was generated from the following files:
Generated on Thu Jun 30 02:21:03 2016 for Virtual Test Facility Coupled Applications by  doxygen 1.6.3