Analysis of the structure-determining process of phase inversion membranes