Text this: Towards carbon emission modeling and optimization for time-sensitive IIoT