The LAPEMI output file - i.e. the LAPMOD emission input file - is composed by two blocks of header records and one block of data records.
The first header records block contains 1+NSRC records: the first record indicates the number of sources (NSRC), while the following NSRC records contain number, type and geometry of each source. The following record is a separator between the two blocks of header records; it is always equal to “#”.
The second block of header records contains 1+NSPC records: the first record indicates the number of species (NSPC), while the following NSPC records contain the names of the species.
The data records block is composed by groups of 1+NSRC records (as many groups as the simulation hours). The first record of each group indicates the date of validity of the following parameters, (i.e. the source parameters are valid until a new date is encountered), the remaining NSRC records contain number, temperature, exit velocity and emission rate of each released species. The data records must include the whole temporal duration of the LAPMOD simulation (or a larger period).
The general structure of the LAPEMI output file is shown in the following table. The output file can be created both in ASCII format and in unformatted (binary) format, depending on the value of the IFRM input variable of LAPEMI.
| Block | Description |
|---|---|
| First headers block |
NSRC Number of sourcesIS, ISTYPE(IS), (EMATG(IS,L), L=1,6) Number, type, parameters of Source IS (record repeated NSRC times)
|
| Separator |
#
|
| Second headers block |
NSPC Number of emitted speciesSPCNAM Species name (repeated NSPC times)
|
| Data block |
(IDFINE(ID), ID=1,6) Date and hour of validity of the following records. The following records are considered valid until a new date/time is read.
IS,TS(IS),VOUT(IS),(RATE(IS,ISU),ISU=1,NSUACT) Source number, temperature and exit velocity, emission rates in g/s of source IS (record repeated NSRC times)
|
A simple example of LAPEMI output file in ASCII format is shown in the following table. The first record (1) indicates that only one source will be involved in the simulation. The second record (1 1 707172 5153145 30 0 0 0) indicates that source 1 is of type 1 (point source with no buoyancy), it has coordinates (707172, 5153145) and the emission height is 30 m. The last three fields of the record are not used by this source type. The third record is the separator (#). The fourth record (2) indicates the number of species; and the following two records contain the species names (NOX and CO). The following records, in groups of 1+NSRC (then in groups of 2 in this specific case), indicate the date of validity and the source parameters. The emission rates, always reported in the order of the species names, are in g/s. The first record (2006 02 14 14 00 00), indicates that the following source data are valid starting from hour 14 of 14 February 2006, and they will remain constant until a new date is read. The second data record (1 290. 0. 1.5 1.3) indicates that source 1 has an emission temperature of 290 K, an exit velocity of 0 m/s (by the way these values are not used by the non-buoyant source), and emission rates equal to 1.5 g/s and 1.3 g/s for NOX and CO, respectively.
1
1 1 707172 5153145 30 0 0 0
#
2
NOX
CO
2006 02 14 14 00 00
1 290. 0. 1.5 1.3
2006 02 14 15 00 00
1 290. 0. 1.7 1.2
2006 02 14 16 00 00
1 290. 0. 1.3 1.1
2006 02 14 17 00 00
1 290. 0. 1.9 1.8
Path and name of the log file are specified in the FLOG variable of the LAPEMI input file. The log file summarizes the input variables, contains general information about the processing and, in case of error, contains a message identifying the type of problem encountered.