saltproc.Process

class saltproc.Process(*initial_data, **kwargs)[source]

Represents an aribtrary processing component that extracts nuclides from a material.

Parameters
  • mass_flowrate (float) – mass flow rate of the material flow (g/s)

  • capacity (float) – maximum mass flow rate of the material flow which current process can handle (g/s)

  • volume (float) – total volume of the current facility (\(cm^3\))

  • efficiency (dict of str to float or str) –

    key

    element name for removal (not isotope)

    value

    removal efficency for the isotope as a weight fraction (float) or a function eps(x,m,t,P,L) (str)

  • optional_parameter (float) – user can define any custom parameter in the input file describing processes and use it in efficiency function

calculate_removal_efficiency(nuc_name)[source]

Calculate the value of the removal efficiency for a given nuclide in this process.

If the efficiency is a str describing efficiency as a function (eps(x,m,t,P,L)), then construct the function and evaluate it. Otherwise, it is a float and can be returned.

Parameters

nuc_name (str) – Name of target nuclide to be removed.

Returns

efficiency – Extraction efficiency for the given nuclide.

Return type

float

check_mass_conservation()[source]

Checking that Process.outflow + Process.waste_stream is equal Process.inflow and the total mass is being conserved. Returns True if the mass conserved or False if its mismatched.

process_material(inflow)[source]

Updates Materialflow object inflow by removing target nuclides with specific efficiencies in single component of fuel reprocessing system and returns waste stream Materialflow object.

Parameters

inflow (Materialflow obj) – Material flowing into the processing system component.

Returns

  • waste_stream (Materialflow object) – Waste stream from the reprocessing system component.

  • thru_flow (Materialflow object) – Remaining material flow that will pass through the reprocessing system component.