Now PetriNet.assignDummy assign the petrinet to the dummy