Thermodynamically constrained averaging theory approach for