write#
- andes.io.json.write(system, outfile, skip_empty=True, overwrite=None, **kwargs)[source]#
Write loaded ANDES system data into a JSON file.
- Parameters:
- systemSystem
A loaded system with parameters
- outfilestr
Path to the output file
- skip_emptybool
Skip output of empty models (n = 0)
- overwritebool
None to prompt for overwrite selection; True to overwrite; False to not overwrite
- Returns:
- bool
True if file written; False otherwise