Petri nets for modelling and analysing trophic networks