Dynamic Modeling of Natural Gas Pipeline Using Electric Circuit Equivalents