The PV surplus or PV deficit is calculated by subtracting the power you consume yourself from the total power you produce with your PV system.