Parametric modeling of energy filtering by energy barriers in thermoelectric nanocomposites