Text this: Development of model of optimal control of water supply system