This heat generation is not related to the pump or anything that is a source of energy. It is a simply a local (for flow through restrictor/orifice) transfer from mechanical (kinetic/potential) to thermal energy due to high pressure drop.
I have a theoretical relationship in the form
dT/dP = T...