fof_co.h
Go to the documentation of this file.
1 //
2 // $Id$
3 //
4 /*{*}{*}{*}{*}{*}{*}{*}{*}{*}{*}{*}{*}{*}{*}{*}{*}{*}{*}{*}{*}{*}{*}{*}{*}{*}
5 * Name: fof_co.c
6 * Desc: Consumerd Output Structure
7 {*}{*}{*}{*}{*}{*}{*}{*}{*}{*}{*}{*}{*}{*}{*}{*}{*}{*}{*}{*}{*}{*}{*}{*}{*}*/
8 
9 
10 /*.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- */
11 typedef struct {
12 
13 
14 /* "YES" of "NO", tell is model actually ignited under the specified conditions. */
15  char cr_BrnIg[10];
16 
17 
18 /* All fuel loads are in Tons Per Acre */
19  int i_LitEqu; /* Litter - Equation used to perform calc */
20  float f_LitPre; /* Preburn loading */
21  float f_LitCon; /* Consumed amount */
22  float f_LitPos; /* Post burn loading (remaining load)*/
23  float f_LitPer; /* percent of load consumed */
24 
25  int i_DW1Equ; /* 1 Hour 0->1/4 inch */
26  float f_DW1Pre;
27  float f_DW1Con;
28  float f_DW1Pos;
29  float f_DW1Per;
30 
31  int i_DW10Equ; /* 10 Hour 1/4 -> 1 inch */
32  float f_DW10Pre;
33  float f_DW10Con;
34  float f_DW10Pos;
35  float f_DW10Per;
36 
37  int i_DW100Equ; /* 100 Hour 1 -> 3 inch */
38  float f_DW100Pre;
39  float f_DW100Con;
40  float f_DW100Pos;
41  float f_DW100Per;
42 
43 /*.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.*/
44 /* 3+ Down wood combined totals */
45  int i_Snd_DW1kEqu; /* Equation number */
46  float f_Snd_DW1kPre; /* Pre fire load */
47  float f_Snd_DW1kCon; /* Consumed amount */
48  float f_Snd_DW1kPos; /* Post Fire Remaining load */
49  float f_Snd_DW1kPer; /* Precent Pre Load was reduced by */
50 
56 
57 /*.......................................................................... */
58  int i_DufEqu; /* Duff Load */
59  float f_DufPre;
60  float f_DufCon;
61  float f_DufPos;
62  float f_DufPer;
63 
64  int i_DufDepEqu; /* Duff Depth Reduction */
65  float f_DufDepPre; /* Prefire depth in inches */
66  float f_DufDepCon; /* inches of depth consumed */
67  float f_DufDepPos; /* Postfire depth */
68  float f_DufDepPer; /* what percent was consumed */
69 
70  float f_MSEPer; /* Mineral Soil Exposer percent */
71  int i_MSEEqu; /* Equation */
72 
73  int i_HerEqu; /* Herbaceous */
74  float f_HerPre;
75  float f_HerCon;
76  float f_HerPos;
77  float f_HerPer;
78 
79  int i_ShrEqu; /* Shrub */
80  float f_ShrPre;
81  float f_ShrCon;
82  float f_ShrPos;
83  float f_ShrPer;
84 
85  int i_FolEqu; /* Foliage */
86  float f_FolPre;
87  float f_FolCon;
88  float f_FolPos;
89  float f_FolPer;
90 
91  int i_BraEqu; /* Branch */
92  float f_BraPre;
93  float f_BraCon;
94  float f_BraPos;
95  float f_BraPer;
96 
97  float f_TotPre; /* Total of all Loads */
98  float f_TotCon;
99  float f_TotPos;
100  float f_TotPer;
101 
102 
103 /*.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- */
104 /* 3+ inch wood individual size clasees, */
105 /* for equation number see above combined totals */
106  float f_S3Pos; /* Post burn load */
107  float f_S3Con; /* Amount Consumed */
108  float f_S3Pre; /* Pre burn load */
109  float f_S3Per; /* Percent consumed */
110 
111  float f_S6Pos ;
112  float f_S6Con ;
113  float f_S6Pre ;
114  float f_S6Per ;
115 
116  float f_S9Pos ;
117  float f_S9Con ;
118  float f_S9Pre ;
119  float f_S9Per ;
120 
121  float f_S20Pos;
122  float f_S20Con;
123  float f_S20Pre;
124  float f_S20Per;
125 
126  float f_R3Pos ;
127  float f_R3Con ;
128  float f_R3Pre ;
129  float f_R3Per ;
130 
131  float f_R6Pos ;
132  float f_R6Con ;
133  float f_R6Pre ;
134  float f_R6Per ;
135 
136  float f_R9Pos ;
137  float f_R9Con ;
138  float f_R9Pre ;
139  float f_R9Per ;
140 
141  float f_R20Pos;
142  float f_R20Con;
143  float f_R20Pre;
144  float f_R20Per;
145 
146 /*.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.*/
147 /* Emission totals */
148 /* Emissions are in Pounds Per Acre */
149  float f_PM10F; /* Flaming */
150  float f_PM25F;
151  float f_CH4F;
152  float f_COF;
153  float f_CO2F;
154  float f_NOXF;
155  float f_SOXF;
156 
157  float f_PM10S; /* Smoldering */
158  float f_PM25S;
159  float f_CH4S;
160  float f_COS;
161  float f_CO2S;
162  float f_NOXS;
163  float f_SOXS;
164 
165 
166 /* Flame & Smoldering Duration, which is the time step in which the */
167 /* emission finally stop (last one). */
168 /* These are reported back in total seconds */
169  float f_FlaDur;
170  float f_SmoDur;
171 
172 /* Total loads consumed in Flaming and Smoldering */
173 /* NOTE: ---> expressed in Tons Per Acre */
174  float f_FlaCon; /* Total Flame Consumed */
175  float f_SmoCon; /* Total Smold Consumed */
176 
177 
178 /*.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.*/
179 /* Fire intensity and duration */
180 /* see the BOV_Get_TimHea() function */
181 /* i_Time....time duration of burnup simulation in seconds */
182 /* f_fi......average fire intensity */
183 /* i_Cnt.....the number of times steps burnup did during simulation */
184 /* cr_SHC a comment is found in here when the fire duratiion is short */
185 /* and states the mineral soil heating is minimal */
186 /* These values are meant to be send directly into the Soil Heating */
187 /* modeling function */
188  int i_Time; /* time in seconds */
189  int i_Cnt; /* count for taking average */
190  float f_fi; /* heat intensity */
191  char cr_SHC[200]; /* Soil Heating Comment */
192 } d_CO;
float f_CO2S
Definition: fof_co.h:161
float f_TotPer
Definition: fof_co.h:100
int i_Cnt
Definition: fof_co.h:189
float f_HerPer
Definition: fof_co.h:77
float f_DW1Per
Definition: fof_co.h:29
float f_S20Per
Definition: fof_co.h:124
int i_DW1Equ
Definition: fof_co.h:25
float f_HerCon
Definition: fof_co.h:75
int i_ShrEqu
Definition: fof_co.h:79
float f_Snd_DW1kPos
Definition: fof_co.h:48
float f_S6Pos
Definition: fof_co.h:111
float f_BraPre
Definition: fof_co.h:92
float f_SmoDur
Definition: fof_co.h:170
float f_R20Pre
Definition: fof_co.h:143
float f_R3Pre
Definition: fof_co.h:128
float f_FolCon
Definition: fof_co.h:87
float f_MSEPer
Definition: fof_co.h:70
float f_DufPos
Definition: fof_co.h:61
int i_HerEqu
Definition: fof_co.h:73
float f_R20Per
Definition: fof_co.h:144
float f_S3Pos
Definition: fof_co.h:106
int i_Snd_DW1kEqu
Definition: fof_co.h:45
int i_DW100Equ
Definition: fof_co.h:37
float f_S9Per
Definition: fof_co.h:119
int i_Time
Definition: fof_co.h:188
float f_R9Pre
Definition: fof_co.h:138
float f_S9Pre
Definition: fof_co.h:118
int i_FolEqu
Definition: fof_co.h:85
float f_S20Pos
Definition: fof_co.h:121
float f_DW10Con
Definition: fof_co.h:33
int i_MSEEqu
Definition: fof_co.h:71
float f_BraCon
Definition: fof_co.h:93
float f_DW100Con
Definition: fof_co.h:39
float f_DufCon
Definition: fof_co.h:60
float f_PM10F
Definition: fof_co.h:149
float f_DW10Per
Definition: fof_co.h:35
float f_R20Con
Definition: fof_co.h:142
float f_SOXS
Definition: fof_co.h:163
int i_DufEqu
Definition: fof_co.h:58
float f_DufDepCon
Definition: fof_co.h:66
int i_LitEqu
Definition: fof_co.h:19
float f_R6Per
Definition: fof_co.h:134
float f_CH4F
Definition: fof_co.h:151
float f_FolPre
Definition: fof_co.h:86
float f_DW100Pre
Definition: fof_co.h:38
float f_Rot_DW1kPos
Definition: fof_co.h:54
float f_NOXS
Definition: fof_co.h:162
float f_DW100Pos
Definition: fof_co.h:40
float f_S3Per
Definition: fof_co.h:109
float f_S6Con
Definition: fof_co.h:112
float f_R20Pos
Definition: fof_co.h:141
float f_S3Con
Definition: fof_co.h:107
float f_LitPre
Definition: fof_co.h:20
float f_SOXF
Definition: fof_co.h:155
float f_S20Pre
Definition: fof_co.h:123
float f_LitPos
Definition: fof_co.h:22
float f_Rot_DW1kPer
Definition: fof_co.h:55
float f_FolPer
Definition: fof_co.h:89
float f_HerPre
Definition: fof_co.h:74
float f_DW1Pos
Definition: fof_co.h:28
float f_DufPer
Definition: fof_co.h:62
float f_DW10Pre
Definition: fof_co.h:32
float f_R6Pre
Definition: fof_co.h:133
int i_BraEqu
Definition: fof_co.h:91
float f_R9Pos
Definition: fof_co.h:136
float f_CO2F
Definition: fof_co.h:153
float f_S3Pre
Definition: fof_co.h:108
float f_TotPos
Definition: fof_co.h:99
float f_S6Pre
Definition: fof_co.h:113
float f_COF
Definition: fof_co.h:152
float f_S9Pos
Definition: fof_co.h:116
float f_DufDepPer
Definition: fof_co.h:68
float f_HerPos
Definition: fof_co.h:76
float f_Snd_DW1kCon
Definition: fof_co.h:47
float f_LitPer
Definition: fof_co.h:23
float f_R6Con
Definition: fof_co.h:132
float f_Snd_DW1kPer
Definition: fof_co.h:49
float f_BraPer
Definition: fof_co.h:95
float f_ShrCon
Definition: fof_co.h:81
float f_PM10S
Definition: fof_co.h:157
float f_DW100Per
Definition: fof_co.h:41
float f_ShrPer
Definition: fof_co.h:83
float f_TotCon
Definition: fof_co.h:98
float f_R3Pos
Definition: fof_co.h:126
float f_DufDepPos
Definition: fof_co.h:67
float f_DW1Pre
Definition: fof_co.h:26
float f_S9Con
Definition: fof_co.h:117
float f_R9Per
Definition: fof_co.h:139
float f_CH4S
Definition: fof_co.h:159
float f_R3Con
Definition: fof_co.h:127
float f_S20Con
Definition: fof_co.h:122
float f_DufDepPre
Definition: fof_co.h:65
float f_ShrPre
Definition: fof_co.h:80
float f_NOXF
Definition: fof_co.h:154
float f_LitCon
Definition: fof_co.h:21
Definition: fof_co.h:11
float f_FlaDur
Definition: fof_co.h:169
float f_FlaCon
Definition: fof_co.h:174
float f_SmoCon
Definition: fof_co.h:175
float f_PM25S
Definition: fof_co.h:158
float f_R3Per
Definition: fof_co.h:129
float f_BraPos
Definition: fof_co.h:94
int i_Rot_DW1kEqu
Definition: fof_co.h:51
float f_R9Con
Definition: fof_co.h:137
int i_DW10Equ
Definition: fof_co.h:31
float f_PM25F
Definition: fof_co.h:150
float f_ShrPos
Definition: fof_co.h:82
float f_COS
Definition: fof_co.h:160
float f_Rot_DW1kPre
Definition: fof_co.h:52
float f_S6Per
Definition: fof_co.h:114
float f_FolPos
Definition: fof_co.h:88
float f_DufPre
Definition: fof_co.h:59
float f_TotPre
Definition: fof_co.h:97
float f_Rot_DW1kCon
Definition: fof_co.h:53
int i_DufDepEqu
Definition: fof_co.h:64
float f_Snd_DW1kPre
Definition: fof_co.h:46
float f_DW10Pos
Definition: fof_co.h:34
float f_R6Pos
Definition: fof_co.h:131
float f_DW1Con
Definition: fof_co.h:27
float f_fi
Definition: fof_co.h:190