DemandVectorSP.make_save_dict

DemandVectorSP.make_save_dict(prefix: str = '', save_dict=None) dict[source]

Generate dict to save object with numpy.savez.

Parameters
prefixstr, default=””

Save attributes with names = prefix + internal_name.

save_dictdict, optional

If given, dict elements will be added to dict, else a new dict is created.

Returns
save_dictdict

Dictionary to be saved with savez().