17 #ifndef RTW_HEADER_Grid_To_Code_h_
18 #define RTW_HEADER_Grid_To_Code_h_
20 #ifndef Grid_To_Code_COMMON_INCLUDES_
21 # define Grid_To_Code_COMMON_INCLUDES_
28 #ifndef rtmGetErrorStatus
29 # define rtmGetErrorStatus(rtm) ((rtm)->errorStatus)
32 #ifndef rtmSetErrorStatus
33 # define rtmSetErrorStatus(rtm, val) ((rtm)->errorStatus = (val))
36 #ifndef rtmGetStopRequested
37 # define rtmGetStopRequested(rtm) ((rtm)->Timing.stopRequestedFlag)
40 #ifndef rtmSetStopRequested
41 # define rtmSetStopRequested(rtm, val) ((rtm)->Timing.stopRequestedFlag = (val))
44 #ifndef rtmGetStopRequestedPtr
45 # define rtmGetStopRequestedPtr(rtm) (&((rtm)->Timing.stopRequestedFlag))
49 # define rtmGetT(rtm) (rtmGetTPtr((rtm))[0])
53 # define rtmGetTPtr(rtm) ((rtm)->Timing.t)
62 real_T StateSpace_DSTATE[2];
66 int_T StateSpace_IWORK[11];
78 void *SWITCH_STATUS_INIT;
90 void *SWITCH_TOPO_SAVED_IDX;
125 real_T StateSpace_AS_param[4];
130 real_T StateSpace_BS_param[6];
135 real_T StateSpace_CS_param[6];
140 real_T StateSpace_DS_param[9];
145 real_T StateSpace_X0_param[2];
SimTimeStep
Definition: rtw_continuous.h:35
unsigned int uint32_T
Definition: rtwtypes.h:54
char char_T
Definition: rtwtypes.h:71
double real_T
Definition: rtwtypes.h:64
unsigned char boolean_T
Definition: rtwtypes.h:66
float real32_T
Definition: rtwtypes.h:57
double time_T
Definition: rtwtypes.h:65
int int_T
Definition: rtwtypes.h:67
AnsiString AS
Linear data and time.
Definition: Defines.h:352
UnicodeString DS
Unicode string datatype definition.
Definition: Defines.h:355
const ConstP rtConstP
Definition: DFIG_Model_To_Code_data.cpp:43
Definition: Grid_To_Code.h:203
ExtY rtY
Definition: Grid_To_Code.h:227
void Grid_To_Code_derivatives()
Definition: Grid_To_Code.cpp:242
void initialize()
Definition: Grid_To_Code.cpp:254
void step()
Definition: Grid_To_Code.cpp:103
RT_MODEL rtM
Definition: Grid_To_Code.h:236
~GRID_MODEL_TESTModelClass()
Definition: Grid_To_Code.cpp:341
DW rtDW
Definition: Grid_To_Code.h:232
RT_MODEL * getRTM()
Definition: Grid_To_Code.cpp:355
const ExtY & getExternalOutputs() const
Definition: Grid_To_Code.cpp:349
void rt_ertODEUpdateContinuousStates(RTWSolverInfo *si)
Definition: Grid_To_Code.cpp:81
GRID_MODEL_TESTModelClass()
Definition: Grid_To_Code.cpp:336
X rtX
Definition: Grid_To_Code.h:233
Definition: rtw_solver.h:44
Definition: DFIG_Model_To_Code.h:218
Definition: DFIG_Model_To_Code.h:62
real_T Gain
Definition: Grid_To_Code.h:65
real_T Gain1
Definition: Grid_To_Code.h:64
Definition: DFIG_Model_To_Code.h:328
real32_T R2_Voltage
Definition: Grid_To_Code.h:151
real32_T R1_Voltage
Definition: Grid_To_Code.h:150
real32_T R3_Voltage
Definition: Grid_To_Code.h:152
Definition: DFIG_Model_To_Code.h:211
Definition: DFIG_Model_To_Code.h:198
Definition: DFIG_Model_To_Code.h:193
Definition: DFIG_Model_To_Code.h:188
Definition: DFIG_Model_To_Code.h:352
SimTimeStep simTimeStep
Definition: DFIG_Model_To_Code.h:387
boolean_T derivCacheNeedsReset
Definition: DFIG_Model_To_Code.h:361
time_T tArray[2]
Definition: DFIG_Model_To_Code.h:390
const char_T * errorStatus
Definition: DFIG_Model_To_Code.h:353
boolean_T stopRequestedFlag
Definition: DFIG_Model_To_Code.h:388
uint32_T clockTick1
Definition: DFIG_Model_To_Code.h:386
real_T * periodicContStateRanges
Definition: DFIG_Model_To_Code.h:357
real_T odeF[1][1]
Definition: DFIG_Model_To_Code.h:363
int_T * periodicContStateIndices
Definition: DFIG_Model_To_Code.h:356
boolean_T zCCacheNeedsReset
Definition: DFIG_Model_To_Code.h:360
int_T numSampTimes
Definition: DFIG_Model_To_Code.h:375
int_T numContStates
Definition: DFIG_Model_To_Code.h:373
time_T * t
Definition: DFIG_Model_To_Code.h:389
struct tag_RTM::@3 Timing
RTWSolverInfo solverInfo
Definition: DFIG_Model_To_Code.h:354
ODE1_IntgData intgData
Definition: DFIG_Model_To_Code.h:364
boolean_T CTOutputIncnstWithState
Definition: DFIG_Model_To_Code.h:362
X * contStates
Definition: DFIG_Model_To_Code.h:355
real_T * derivs
Definition: DFIG_Model_To_Code.h:358
time_T stepSize0
Definition: DFIG_Model_To_Code.h:385
uint32_T clockTick0
Definition: DFIG_Model_To_Code.h:384
boolean_T * contStateDisabled
Definition: DFIG_Model_To_Code.h:359
int_T numPeriodicContStates
Definition: DFIG_Model_To_Code.h:374