onix.nax.plot_pu_prod

onix.nax.plot_pu_prod(fuel_cell, NAX_cell, operation_history, path, scale_up_factor=None)[source]

This function plots the plutonium production in a reactor against fluence measured in a specified NAX BUCell (typically, a region where fluence indicators are measured) and according to a provided operation history.

Detail description: The function goes over the density output of all the batches’ simulation that constitute the operation history and extracts the plutonium evolution. Likewise, it extracts the fluence evolution for each batches in the NAX BUCell (the BUCell where fluence indicators are measured). It then constructs a plutonium evolution history against fluence according to the operation history provided. Finally, the function scales up the plutonium production to the entire reactor using the provided scale_up_factor. Graphs of plutonium evolution are displayed where each batch refueling is indicated.

Parameters
  • fuel_cell (str) – Name of the BUCell where plutonium is produced

  • NAX_cell (str) – Name of the BUCell where fluence indicators are measured

  • operation_history (List of Tuples) – Irradiation history of the reactor. This history can include successive fuel batches of different types. Each tuples represent the operation of a batch. The first element of the Tuple is the Batch object (onix.nax.Batch) corresponding to the batch type and the second element is the number of days for which this fuel batch has been run.

  • path (str) – Path to the simulation’s directory

  • scale_up_factor (float) – Factor to be used to scale up the plutonium production from the simulation’s system (a pin-cell or an assembly for instance) to the whole reactor.