code: def folder2ver(folder):
      
      ver = folder.split('EnergyPlus')[-1]
      ver = ver[1:]
      splitapp = ver.split('-')
      ver = '.'.join(splitapp)
      return ver
docs: get the version number from the E+ install folder