Security of supply in gas and hybrid energy networks