watts.PluginALEAF#

class watts.PluginALEAF(template_file, executable='execute_ALEAF.jl', extra_templates=None, show_stdout=False, show_stderr=False)[source]#

Plugin for running ALEAF.

Parameters:
  • template_file (Union[str, bytes, PathLike]) – Path to the template file for ALEAF.

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

  • extra_templates (Optional[Dict[str, Union[str, bytes, PathLike]]]) – Additional templates to be used in the simulation.

  • show_stdout (bool) – Whether to show standard output during execution.

  • show_stderr (bool) – Whether to show standard error during execution.

Methods

postrun(params, exec_info)

Collect information from ALEAF simulation and create results object.

prerun(params)

Generate ALEAF input files and check for pre-existing output.

run()

Run ALEAF.