Two-stage superstructure model for optimization of distributed energy systems (DES) part I: Model development and verification