cost model calculation: updated to support time units in windows