Optimizing Renewable Injection in Integrated Natural Gas Pipeline Networks Using a Multi-Period Programming Approach