Energy study of a building for photovoltaic rooftop installation and design of photovoltaic mounting structures using Freecad