Theoretical analysis of cogeneration system for ships