System Model of the Hydrogen Economy

petri net of hydrocity
Hydrocity Petri Net This petri net is based on a sketch and digraph and supported analysis and simulation of the events in Hydrocity. The system is quite complex with 91 transitions and 26 places. The places are labeled with the same names as assigned for the Network analysis of the system and the transition names correspond to the degrees of freedom they represent (for more context, see the full report, linked below).

Over the nine week winter term of 2021, my partner, Victor Khong, and I developed a system concept of the Hydrogen Economy, and then I created a MATLAB model of a theoretical instantiated architecture of the Hydrogen Economy, called Hydrocity, for the class ENGG 199: Model-Based Systems Engineering.

hydrocity flows
Hydrocity Heterofunctional Digraph This figure shows the directed flows of operands between nodes of Hydrocity from a heterofunctional graph theory point of view. This digraph provides more information as compared to the digraph drawn from a traditional graph theory point of view as we can tell since there are more nodes and processes in the digraph so even though we are analysing the same system, we can learn more about the system with heterofunctional graph theory.

The full report can be read here, with the MATLAB script included in the appendix.

Hydrocity simulation
Hydrocity Simulation These plots, produced by the MATLAB code linked above, show the progressive flow of 6 units of hydrogen through Hydrocity. Green dots represent gaseous hydrogen, pink dots represent liquid hydrogen, and black dots represent tanks of hydrogen. Each plot shows the state of the system at the end of a time step from 0 to 9, starting from the top left and ending at the bottom right.