Gas detectors are commonly installed in process facilities to automatically alarm and trigger safety measures in response to hazardous leaks. Without effective leak detection, installations can be susceptible to two main hazards: (1) accumulation of toxic gases to levels that exceed given exposure threshold limits, and (2) accumulation of flammable gases to levels that can cause fires or explosions. The quantity and positioning of hydrocarbon (HC) gas and toxic gas detectors (e.g. for detecting H2 S) is a crucial factor for the effectiveness of the detection process. However, the total number and placement of detectors that can be used is limited and should be optimized for maximum effectiveness.