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