I have the following sentence:
The aggregator in the smart meter network has to provide incentive users to contribute their smart meters to being used as relays.
Here, which one is better: "to being used" or "to be used"?
Thanks a lot!
It's a fantastic question.
You cannot contribute something while you can contribute something to something or contribute to something or contribute to doing something.
I understand why you think it's a good idea to use a passive gerund instead of a passive infinitive and that's probably because of to. You probably think it's a preposition here. But you don't need to use a preposition there. However, you need to change the place of it and put it right after contribute so your phrase would be
contribute to their smart meters
Now you want to say why to contribute to their smart meters. You need an infinitive to add a purpose. One of the usage of infinitive is to express the purpose either in active or passive voice. Then your final version of your sentence part would be
... contribute to their smart meters to be used as relays.
The first to is a preposition while the second one is part of the infinitive structure.