added error out when there is no pv or pq, since CPF doesn't run on these properly