Text this: On Synthesis, design and resource optimization in multipurpose batch plants