File formats
SHOP currently supports three different text file formats for reading in input data and writing output data. The ASCII format is the oldest format supported by SHOP, and is based on plain text files. SHOP also supports models based on YAML and JSON files, which are widely used structured file formats that are simple to parse in Python and other programming languages.
YAML and JSON are open source standards which are not developed by SINTEF, see https://yaml.org/ and https://
SHOP also supports full serialization to a binary file format through the SHOP_ONLINE_OPTIMIZATION license, which is described in the serialization example. As this is a binary format only readable by SHOP through the cereal C++ library library, no documentation of the format is provided.
SHOP is usually coupled to a long-term model through end water values, and is therefore able to parse different cut files that are generated by SINTEF’s Prodrisk and EOPS models.