Phase space analysis of partial differential equations