Alternative energy-based approach for natural gas grid modeling. Dynamic modeling of pressure and flows according to customer requirements. Local composition calculation and gas quality tracking performed. Analysis of delivered gas properties after hydrogen injection in a single pipe (case study).