The default behavior for adding and solving with noisemodels has changed from Pastas 1.5. Find more information here

pastas.model.Model.to_dict#

Model.to_dict(series=True, file_info=True)[source]#

Method to export a model to a dictionary.

Parameters
  • series (bool, optional) – True to export the time series (default), False to not export them.

  • file_info (bool, optional) – Export file_info or not. See method Model.get_file_info.

Return type

dict

Notes

Helper function for the self.to_file method. To increase backward compatibility most attributes are stored in dictionaries that can be updated when a model is created.