Text this: Optimal approach to energy management and gas delivery of a compressed natural gas station