wntr.msx.io#

The wntr.msx.io module includes functions that convert the MSX reaction model to other data formats, create an MSX model from a file, and write the MSX model to a file.

Functions

from_dict

Create or append a MsxModel from a dictionary

read_json

Create or append a WaterNetworkModel from a JSON file

read_msxfile

Read in an EPANET-MSX input file (.msx)

to_dict

Convert a MsxModel into a dictionary

write_json

Write the MSX model to a JSON file

write_msxfile

Write an EPANET-MSX input file (.msx)