Skip to main content

QUIC Plume Model

The DIRSIG team is working with Los Alamos National Laboratory (LANL) to integrate the Qwick Urban industrial Complex (QUIC) plume model in to DIRSIG.

Starting with version 4.0.6, the functionality to read in a QUIC gas concentration output will be available. The functionality is currently experimental, and the syntax is liable to change in future DIRSIG revisions. An example of an NH3 plume:
PLUME {
QUIC_INSTANCE {
CONCENTRATION_MAP = quic.dat
MOLECULAR_WEIGHT = 17.03
MATERIAL_ID = 5
RELEASE_TEMPERATURE = 550

INSERT_POINT = 0,0,0

GRID_OFFSET = 3,3,0
DELTA_X = 1.0
DELTA_Y = 1.0
DELTA_Z = 1.0
}
}

The CONCENTRATION_MAP indicates the QUIC output file. The MOLECULAR_WEIGHT allows DIRSIG to convert from the [g/m3] used by QUIC to the [ppm] used by DIRSIG. The MATERIAL_ID gives the entry in the materials database supplying the radiometric and thermal properties of the gas.

The RELEASE_TEMPERATURE, in kelvin, is a hack, compensating for the lack of temperature information supplied by QUIC. DIRSIG finds the concentration voxel with the highest temperature and considers that to be the release point. It then scales linearly based on the dilution factor between the RELEASE_TEMPERATURE and the ambient air temperature. This does not work well if the plume was generated using multiple release points, especially if there is more than one release point in a single voxel.

The INSERT_POINT is an optional parameter allowing the plume to be translated around the scene.

The final group of inputs are a hack to compensate for some design issues in DIRSIG's implementation of the concentration map reader. The user must manually specify the delta between voxels in each dimension, though the current release of QUIC only outputs voxels of uniform size. Also, the GRID_OFFSET indicates the starting point of the data. In the example shown above, the first line of the concentration file reads:
      3.50      3.50      0.50  0.0000E+00

The x,y,z values of each line should be in the middle of the voxel, so the CFG specifies an offset of 3,3,0 (we have 1m voxels). Note that all distance units are in meters.

Some actual performance metrics: with a 243 x 311 x 48 plume (3.63 million voxels, 0.67 of which are nonempty), DIRSIG takes about 40 MB of memory and 34 minutes to render a 5-band (0.3-0.8, delta 0.1) 1024x1024 nadir image. This was run using a Mac Mini with a 1.42 GHz G4 processor and 1GB of RAM.

Comments

Popular posts from this blog

LIDAR Point Cloud Visualization

A common question we get asked is how to visualize the point cloud data produced by either the Linear-mode or Geiger-mode LIDAR simulations. First, you should remember that the point cloud files produced by the "APD Processor" are simple ASCII/text files. Each line is the entry for a single return or "point" in the point cloud, including the point location and some attributes that vary depending on whether you modeled a Linear-mode or Geiger-mode system. For a Linear-mode system, a point cloud file will generally look like the example below: 12.7388 -45.3612 -0.0256 5.0290 0 0 0 0 12.8169 -45.3612 -0.0264 4.8362 0 1 0 0 12.8950 -45.3612 -0.0271 4.8362 0 2 0 0 ... 32.4008 -25.5446 10.5945 4.6783 0 65533 0 0 32.4781 -25.5446 10.5953 5.8959 0 65534 0 0 32.5360 -25.5640 12.5408 5.9185 0 65535 0 0 The first three columns are the X/Y/Z location of the point return. The 4th column is the intensity (in photons). Since Linear mode can support multiple returns per pulse, t

Viewing and Importing DIRSIG Output Images

We are often asked what programs can view DIRSIG's image outputs and how to import the raw DIRSIG image data files into other tools for further processing. For basic image viewing, DIRSIG-4.4.0 now includes a very simple viewing tool. Launch it from the main simulation editor window by selecting the "Start image viewer" option from the "Tools" menu. If you run your simulation from the GUI simulation editor, new image files are automatically added to the list in the image viewer as they are generated. If you want to manually add files to the list, simply select the "Open" item from the "File" menu or the toolbar. Here is a screenshot of the main image viewer window. The top part contains the list of currently opened files and the bands within those image files. To view a single band as a gray-scale image, choose "Single Band Display" from the combo box and then click on the image band that you want. Finally, click "Load Band

Using MODTRAN6 with DIRSIG

It has been a pretty exciting year for the team at Spectral Sciences, Inc.  with the release of MODTRAN6 . This latest version marks a major milestone in the continued development of one of the most popular and trusted codes for simulating radiative transfer in the atmosphere. In addition to important science related advancements, this latest code also includes significant improvements to the general usability of the software. This includes a new graphical user interface (GUI) and the introduction of a formal application programmer interface (API), which let's codes like DIRSIG interact with MODTRAN in a far more robust way than previous versions allowed. New MODTRAN, new interfaces The major development in the interface area is a shift from the old "tape5" style inputs to a new JSON (JavaScript Object Notation) style input. In addition to improving the general readability of the input, the JSON document format is much easier to read in, modify and write back out. The