Writes the model parameters in q, r, poles_global, and parameters in parameters
to a NumPy .npz file.
Parameters:
path (str) – Target path without filename for the export.
filename (str) – Name of the exported npz-file. If the filename is None (default), it will be taken from the name of the
networkset in networkset. If that name is None, the file will be saved as model.npz.