Generalised to support static pressure as well as "pd".