Calculation of emulsifier quantities using the HLB system