Application of ternary diagrams in the design of methanation systems