Solution for gas supply safety systems