ph structural analysis