A convex optimization and iterative solution based method for optimal power-gas flow considering power and gas losses. (October 2020)