Household photovoltaic systems optimization methodology based on graph theory reliability