Embedding Dynamics And Control Considerations In Operational Optimization Of Process And Energy Systems