utils

Functions

convert_c_to_k(c)

Converts a temperature in celsius to kelvin

copytree(src, dst[, symlinks, ignore])

Alternate version of copytree that will work if the directory already exists (use instead of shutil)

linecount(filename)

Counts the number of lines in a file Probably not the most efficient way to do this, but it works

mbl_version()

Returns the version of the Modelica Buildings Library (MBL) used by the geojson-modelica-translator.

simple_uuid()

Generates a simple string uuid

Classes

ModelicaPath(name, root_dir[, overwrite])

Class for storing Modelica paths.