Skip to content

fedezocco/TMNbiometh-SciPy

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

41 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

A SciPy Implementation of a Three-Compartment Bio-Methane TMN

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.

Capture

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.

Capture

1. Code overview

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_truck_res

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):

Translated_digester_closedLoop_res

Variables with "bar" correspond to the desired equilibrium, which in this case is the point "SS6".

2. Graph-based circularity indicator

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.

Capture

Releases

No releases published

Packages

No packages published

Languages