Weighted directed graph based matrix modeling of integrated energy systems. (1st January 2021)