An optimized economic-environmental model for a proposed flare gas recovery system | Synapse