Chain Solve – pyne.transmute.chainsolve

This module implements an ALARA[1]-like chain-based transmutation solver.

[1] Wilson, P. P. H. “ALARA: Analytic Laplacian Adaptive Radioactivity Analysis,” a Ph.D. Dissertation, University of Wisconsin, Madison, WI, 1999.

class pyne.transmute.chainsolve.Transmuter(t=0.0, phi=0.0, temp=300.0, tol=1e-07, rxs=None, log=None, *args, **kwargs)[source]

A class for transmuting materials using an ALARA-like chain solver.

Parameters:

t : float

Transmutations time [sec].

phi : float or array of floats

Neutron flux vector [n/cm^2/sec]. Currently this must either be a scalar or match the group structure of EAF.

temp : float, optional

Temperature [K] of material, defaults to 300.0.

tol : float

Tolerance level for chain truncation.

rxs : set of ints or strs

Reaction ids or names to use in transmutation that produce well-defined children. This set should thus not include fission. If None, then the reactions from EAF are used.

log : file-like or None

The log file object should be written. A None imples the log is not desired.

args : tuple, optional

Other arguments ignored for compatibility with other Transmuters.

kwargs : dict, optional

Other keyword arguments ignored for compatibility with other Transmuters.

transmute(x, t=None, phi=None, tol=None, log=None, *args, **kwargs)[source]

Transmutes a material into its daughters.

Parameters:

x : Material or similar

Input material for transmutation.

t : float

Transmutations time [sec].

phi : float or array of floats

Neutron flux vector [n/cm^2/sec]. Currently this must either be a scalar or match the group structure of EAF.

tol : float

Tolerance level for chain truncation.

log : file-like or None

The log file object should be written. A None imples the log is not desired.

Returns:

y : Material

The output material post-transmutation.