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 inputexecutable (
Union
[str
,bytes
,PathLike
]) – Path to RELAP5 executableplotfl_to_csv (
bool
) – Whether to convert RELAP5’s plotfl file to CSV fileextra_inputs (
Optional
[List
[str
]]) – List of extra (non-templated) input files that are neededextra_template_inputs (
Optional
[List
[Union
[str
,bytes
,PathLike
]]]) – Extra templated input filesshow_stdout (
bool
) – Whether to display output from stdout when RELAP5 is runshow_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