Design criteria for distribuited cogeneration plants