Skip to Main Content U.S. Department of Energy
EARTH at PNNL

Frames 1x

Air Flux File (.AFF)

The AFF is a spatial average through an exit area into unconstrained air passing by the area. The exit area is normally defined by physical characteristics of the source. In all cases, the exit area is the area used to define the spatial average of the air flux. The air fluxes are in pCi/yr or g/yr depending on whether the constituent is a radionuclide or chemical. These flux values are the instantaneous values at a specified time (i.e. the value is not a time-average). There are NO limits on number of constituents, progeny, fluxes. The number of constituent types is unlimited. Currently the AFF has one qualifier type: "Air".

The following outline is a description of the basic information provided in the AFF. This file may be modified through an API. See the Software Development Kit (SDK) for more information. An example AFF is included after the outline. Comparing the line-by-line description in the outline to the example should clarify and help locate data contained in the AFF. Lines beginning with ';' are descriptive comments only and will not appear in the actual AFF.



For each 'Module' producing an AFF section
  A line with:
    Module Name - [STRING]
    Number of Lines in section - [INTEGER]
  End Line
  A line with:
    Number of Header Lines - [INTEGER]
  End Line
  For each 'Header Line'
    A line with:
      Header information - [STRING]
    End Line
  Next 'Header Line'
  A line with:
     Number of Data Sets - [Const INTEGER] - 1
  End Line
  For each 'Data Set'
    A line with:
      Data Set name - [Const STRING] - "All"
    End Line
    A line with:
      Source Type Name - [Const STRING]
        ;If Stack, vent, etc. - "POINT"
        ;If Landfill, pond, etc. - "AREA"
    End Line
    A line with:
      Exit Area of Source - [FLOAT]
      Exit Area Unit - [Const STRING] - "m^2"
    End Line
    A line with:
      Exit Height - [FLOAT]
        ;If 'Source Type' = AREA then 'Exit Height' = 0
      Exit Height units - [Const STRING] - "m"
    End Line
    A line with:
      Adjacent Structure Height - [FLOAT]
        ;If 'Source Type' = AREA then 'Adjacent Structure Height' = 0
      Adjacent Structure Height unit - [Const STRING] - "m"
    End Line
    A line with:
      Exit Velocity - [FLOAT]
        ;If 'Source Type' = AREA then 'Exit Velocity' = 0
      Exit Velocity unit - [Const STRING] - "m/s"
    End Line
    A line with:
      Exit Temperature - [FLOAT]
      Exit Temperature unit - [Const STRING] - "C"
    End Line
    A line with:
      Ambient Air Temperature - [FLOAT]
      Ambient Air Temperature unit - [Const STRING] - "C"
    End Line
    A line with:
      Number of Flux Types - [INTEGER]
    End Line
    For each 'Flux Type'
      A line with:
        Flux Type Name - [Const STRING]
          ;If Gas, then
          ;  'Flux Type Name' = "Gas 1"
          ;ElseIf Particle then "Particle #" followed by the particle count
          ;  'Flux Type Name' = "Particle 1" / "Particle 2" / "Particle 3", ...
          ;EndIf
        If Type Name = "Gas #" then
          Reactive Gas fraction - [FLOAT]
          Reactive Gas fraction unit - [Const STRING] - "fraction"
        Else
          Particle Radius - [FLOAT]
          Particle Radius unit - [Const STRING] - "um"
        EndIf
        Flux Type Density - [FLOAT]
        Flux Type Density unit - [Const STRING] - "g/cm^3"
      End Line
    Next 'Flux Type'
    A line with:
      Number of Constituents - [INTEGER]
    End Line
    For each 'Constituent'
      A line with:
        Constituent name - [STRING]
        Constituent ID - [STRING]
        Time unit - [Const STRING] - "yr"
        Flux unit - [Const STRING] - "pCi/yr" or "g/yr"
        Number of Time Flux Pairs - [INTEGER]
        Number of Progeny - [INTEGER] - 0
        ;  must be set to zero for 1.6+ specifications
      End Line
      For each 'Time Flux Pair'
        A line with:
          Time - [FLOAT]
          For each 'Flux Type'
            Flux - [FLOAT]
          Next 'Flux Type'
        End Line
      Next 'Time Flux Pair'
    Next 'Constituent'
  Next 'Data Set'
Next 'Module'


This AFF Example was created using the case_01 test case. For testing information visit the Frames Wiki Wiki Testing page.

Go to Specifications | Go to Top

EARTH

APPLICATION

DESIGN

SOFTWARE &
DEVELOPMENT TOOLS

TRAINING

Related EARTH Links