Optimizing the self-consumption of residential photovoltaic energy and quantification of the impact of production forecast uncertainties | Synapse