petrimetrics equation