Cogeneration for energy saving in household applications