Source code of the paper: Zocco, F., Sopasakis, P., Smyth, B., and Haddad, W.M., 2023. Thermodynamical Material Networks for Modeling, Planning, and Control of Circular Material Flows. International Journal of Sustainable Engineering, vol. 16, issue 1. https://doi.org/10.1080/19397038.2023.2209582
As suggested by the paper title, the main goal of the paper is to propose a generalized and systematic methodology based on compartmental dynamical thermodynamics and graph theory to re-design material flows. The key idea is to see any supply chain as the result of multiple thermodynamical compartments connected through the exhcange of materials; the connections and the compartments can be added, removed and modified as appropriate at the design stage to analyze different scenarios. This is possible thanks to the generality of thermodynamics, which has been developed for chemical, electrical, mechanical and thermal systems in the past. These systems are the backbone of the industrial networks we have today. A summary of the proposed methodology is below.
To demonstrate the applicability of the methodology, we considered the small bio-methane supply chain below. The code in this repository was used to generate the numerical results for this three-compartment bio-methane network.
The folder contains four independent scripts: one for the truck, one for the digester in open loop, one for the digester in closed loop, and one for the biomass hub.
Nomenclature used for the state space formulation of the truck:
Nomenclature used for the state space formulation of the anaerobic digester in closed loop (the same for the open loop except that the original variables are NOT translated):
Variables with "bar" correspond to the desired equilibrium, which in this case is the point "SS6".
Leveraging the definition of TMNs, we also develop a material flow circularity indicator and illustrate its calculation for the network below. See the source paper for details.