Generation and assessment of batch processes with ecological considerations