Optimal control and efficient management of industrial products are the key for sustainable development in industrial and process engineering. It is well-known that proper maintenance of process performance, ensuring the quality products after a long time operation of the system, is desirable in any industry. Nonlinear dynamical systems may play crucial role to appropriately design the model and obtain optimal control strategy in production and process management. This paper deals with a mathematical model in terms of ordinary differential equations (ODEs) that describe control of production and process arising in industrial engineering. The optimal control technique in the form of maximum principle, used to control the quality products in the operation processes, is applied to analyze the model. It is shown that the introduction of state constraint can be advantageous for obtaining good products during the longer operation process. We investigate the model numerically, using some known nonlinear optimal control solvers, and we present the simulation results to illustrate the significance of introducing state constraint onto the dynamics of the model.