Bifurcation analysis of a transportation network for energy with distributed delayed carrying capacity