Yes, I agree that the system models are not very intuitive and the algorithms behind are not always transparent, since the allocation is not directly visible inside the processes itself. But this would be more a question for ecoinvent, since the openLCA implementation simply follows the exact activities from ecoinvent original data.
As I understand the product flow, the electricity and heat that is produced will be for "reuse in municipal incineration only" so that it is only used internally inside the process (activity). Also in the flow descriptions you will find informations:
"The heat is produced in treatment activities and usually reused in the activity itself. Excess heat is fed in 'market for heat district or industrial, other than natural gas'."
"Electricity that is produced internally in the incineration plant. Excess electricity is fed into 'market for electricity, medium voltage'."
Also be aware that inside this process it is written "Not suitable to represent any single specific waste material, like plastics, paper, cardboard." and you will also find treatment of waste plastics processes in ecoinvent.