POWER CAPACITY OPTIMIZATION AND LONG TERM PLANNING FOR A MULTI ENERGY