**RSIC COMPUTER CODE PSR-065**

**1. NAME AND TITLE**

APSAI: Activity Calculations and Plotting of Neutron or Gamma-Ray Spectra Generated by
Discrete Ordinates Code System ANISN.

**AUXILIARY ROUTINE**

INTRIGUE-II-C: Logarithmic and Semilogarithmic Calcomp Plot Routines.

**2. CONTRIBUTORS**

Karadeniz Technical University, Trabzon, Turkey.

Oak Ridge National Laboratory, Oak Ridge, Tennessee.

**3. CODING LANGUAGE AND COMPUTER**

Fortran IV; IBM 360/370.

**4. NATURE OF PROBLEM SOLVED**

APSAI plots energy or geometry dependent neutron fluxes and absorption densities which were
obtained from one or more previous ANISN calculations. It permits the plotting, on one graph, output
from up to 9 different ANISN runs having the same energy groups, mesh spacing, and geometrical
size. Several geometry- or energy-dependent fluxes can also be plotted on the same figure. APSAI
also calculates the damage flux and activities at the outer boundary.

**5. METHOD OF SOLUTION**

APSAI reads those fluxes which the user desires to be plotted on the same graph. These may come from as many as 9 magnetic tapes from different ANISN calculations. APSAI allows, in the same run, drawing selected fluxes as functions of energy (on a logarithmic-logarithmic graph) or spatial dimension (x-coordinate, on a semilogarithmic graph) and absorption densities (on a semilogarithmic graph).

APSAI does the plotting using the PSR-54/INTRIGUE-II-C plot routines.

**6. RESTRICTIONS OR LIMITATIONS**

All cases must have the same energy and spatial structure; the geometrical form (plane, cylinder,
sphere) need not be the same. Because of fixed dimensioning, the number of energy groups must be
< 100 and the number of mesh intervals < 150. The graph paper size is 10" x 14"; maximum
number of different ANISN cases is 9; maximum number of curves on each graph is 16; maximum
number of calculated activities of the outer boundary is 5.

**7. TYPICAL RUNNING TIME**

For 100 energy groups, 150 mesh points, 6 geometry, 6 energy-dependent curves, and 5 activities
from 2 ANISN cases on the IBM 360/91 computer, the CPU time was 18 seconds.

**8. COMPUTER HARDWARE REQUIREMENTS**

APSAI is operable on the IBM 360/370 computers. It requires approximately 204 K bytes of
directly addressable core memory.

**9. COMPUTER SOFTWARE REQUIREMENTS**

A Fortran IV compiler is required.

**10. REFERENCE**

S. Sahin, "APSAI: A Computer Code for Plotting Fluxes and Absorption Densities Generated by
the ANISN Code," ORNL-TM-4273 (July 1973).

**11. CONTENTS OF CODE PACKAGE**

Included are the referenced document and one (1.2MB) DOS diskette which contains the source
code and sample problem input and output.

**12. DATE OF ABSTRACT**

January 1973; revised and updated February 1984.

**KEYWORDS: ** DATA PROCESSING, SPECTRA; FLUX or DOSE PLOTTING; PLOTTING