RunExecutionResult#

class hydromodpy.simulation.RunExecutionResult(primary_model, solver_output_dir=None, metrics=<factory>)[source]#

Bases: object

Payload returned by a solver adapter after one run completes.

primary_model is the exact model produced by the run and is always stored under state.execution.models_by_run_id[run.id] by the runner.

solver_output_dir is the directory where the solver wrote its raw output files (e.g. .hds, .cbc). May be None for in-memory solvers.

metrics carries lightweight scalar execution metadata produced by the solver itself. It is intentionally optional so older/custom adapters can keep returning only a model and an output directory.

Parameters: