Substation version of the H5 source code