A Petri Net approach to consensus in networks with joint-agent interactions. (December 2019)