- Model.to_file(fname, series=True, **kwargs)#
Method to save the Pastas model to a file.
fname (str) – String with the name and the extension of the file. File extension has to be supported by Pastas. E.g. “model.pas”
series (bool or str, optional) – Export the simulated series or not. If series is “original”, the original series are exported, if series is “modified”, the series are exported after being changed with the time series settings. Default is True.
**kwargs – any argument that is passed to
- Return type