openmc.deplete.d1s.time_correction_factors

openmc.deplete.d1s.time_correction_factors(nuclides: list[str], timesteps: Union[Sequence[float], Sequence[tuple[float, str]]], source_rates: Union[float, Sequence[float]], timestep_units: str = 's') dict[str, numpy.ndarray][source]

Calculate time correction factors for the D1S method.

This function determines the time correction factor that should be applied to photon tallies as part of the D1S method.

Parameters
  • nuclides (list of str) – The name of the nuclide to find the time correction for, e.g., ‘Ni65’

  • timesteps (iterable of float or iterable of tuple) – Array of timesteps. Note that values are not cumulative. The units are specified by the timestep_units argument when timesteps is an iterable of float. Alternatively, units can be specified for each step by passing a sequence of (value, unit) tuples.

  • source_rates (float or iterable of float) – Source rate in [neutron/sec] for each interval in timesteps

  • timestep_units ({'s', 'min', 'h', 'd', 'a'}, optional) – Units for values specified in the timesteps argument. ‘s’ means seconds, ‘min’ means minutes, ‘h’ means hours, and ‘a’ means Julian years.

Returns

Dictionary mapping nuclide to an array of time correction factors for each time.

Return type

dict