File I/O

PowerWaterModels.parse_filesFunction
parse_files(p_file, w_file, pw_file)

Parses power, water, and power-water linkage input files and returns three data dictionaries for power, water, and power-water linkage data, respectively.

source
PowerWaterModels.parse_jsonFunction
parse_json(path)

Parses a JavaScript Object Notation (JSON) file from the file path path and returns a dictionary containing the corresponding parsed data. Primarily used for linkage files.

source