larch.numba.Model.to_xlsx

larch.numba.Model.to_xlsx

Model.to_xlsx(filename, save_now=True, **kwargs)

Write the model to an Excel file.

Parameters
  • model (larch.Model or larch.ModelGroup) –

  • filename (str) –

  • save_now (bool, default True) – Save the model immediately. Set to False if you want to write additional figures or tables to the file before saving.

  • **kwargs – Other keyword arguments are passed to the ExcelWriter constructor.

Returns

larch.util.excel.ExcelWriter