Design of a residential photovoltaic system: the impact of the demand profile and the normative framework. (November 2020)