pastas.io.load#

load(fname, **kwargs)[source]#

Method to load a Pastas Model from file.

Parameters
  • fname (str) – string with the name of the file to be imported including the file extension.

  • kwargs – extension specific keyword arguments

Returns

ml – Pastas Model instance.

Return type

pastas.model.Model

Examples

>>> import pastas as ps
>>> ml = ps.io.load("model.pas")