Fix the bugs within QoS modeling and add more interface

some bugs in QoS modeling prevent it from handling zero values,
also add more interface for the other class to access the data.

ref:
type: consolidation/fix