PV mounting system and free software for flat roofs