Skip to main content

write_performance

write_performance(model, output_path=None)

Write performance.xlsx to the results directory of a model.

It is written to the results directory, which is not tracked by DVC, since the solver timings it contains differ between runs.

Parameters

model : Model or path-like A ribasim_nl.Model instance or a path to a model TOML file. output_path : path-like, optional Output Excel path. Defaults to performance.xlsx in the results directory.

Returns

Path The written Excel file path.