Aerospace Control Framework 1.0
sc_ac_engine.h
Go to the documentation of this file.
1//-----------------------------------------------------------------------------------------
2// A filter
3//-----------------------------------------------------------------------------------------
4// Copyright (c) 2009 Princeton Satellite Systems. All rights reserved.
5//-----------------------------------------------------------------------------------------
6
7#ifndef __AC_ENGINE__
8#define __AC_ENGINE__
9
10#ifdef AS_OS_WINDOWS
11 #include "matrixlib.h"
12#else
13 #include <MatrixLib/MatrixLib.h>
14#endif
15
17
19
21
27{
28
29 private:
31 double thrust;
33 double sFC;
35 ml_matrix thrust_Table;
37 ml_matrix mach_no;
39 ml_matrix altitude;
41 ml_matrix sFC_Table;
43 int initialized;
44
45
46 public:
48 AC_Engine( void );
50 void Initialize( char * filename );
52 void Update( double h, double m );
54 double get_thrust( void );
56 double get_sfc( void );
57
58};
59
60
61#endif
Aircraft engine model.
Definition: sc_ac_engine.h:27
void Initialize(char *filename)
Initialize with a filename.
Definition: sc_ac_engine.cc:25
double get_sfc(void)
Get the specific fuel consumption.
Definition: sc_ac_engine.cc:117
void Update(double h, double m)
Update the model with.
Definition: sc_ac_engine.cc:86
double get_thrust(void)
Get the thrust.
Definition: sc_ac_engine.cc:107
AC_Engine(void)
Constructor.
Definition: sc_ac_engine.cc:15