Principle of moisture content determination