watts.PluginRELAP5#

class watts.PluginRELAP5(template_file, executable='relap5.x', plotfl_to_csv=True, extra_inputs=None, extra_template_inputs=None, show_stdout=False, show_stderr=False)[source]#

Plugin for running RELAP5

Parameters:
  • template_file (str) – Templated RELAP5 input

  • executable (Union[str, bytes, PathLike]) – Path to RELAP5 executable

  • plotfl_to_csv (bool) – Whether to convert RELAP5’s plotfl file to CSV file

  • extra_inputs (Optional[List[str]]) – List of extra (non-templated) input files that are needed

  • extra_template_inputs (Optional[List[Union[str, bytes, PathLike]]]) – Extra templated input files

  • show_stdout (bool) – Whether to display output from stdout when RELAP5 is run

  • show_stderr (bool) – Whether to display output from stderr when RELAP5 is run

Methods

postrun(params, exec_info)

Read RELAP5 results and create results object

run([extra_args])

Run RELAP5