Patent ID: 8739673

Claim:
A method comprising: a. determining a configuration of a gun string, wherein the gun string comprises: a plurality of perforating charges supported within a carrier gun body, wherein the plurality of perforating charges and the carrier gun body are configured to create a dynamic underbalance condition when the plurality of perforating charges are detonated; and a secondary pressure generator operably associated with at least one of the perforating charges, wherein the second pressure generator is configured to reduce at least one of a peak of the underbalance condition or a duration of the underbalance condition when activated; b. computing, by a computer, a pressure transient at a location in a wellbore, wherein the location has one or more pressure thresholds; wherein the one or more pressure thresholds comprise at least one of an overpressure or an underpressure that the location can experience without adverse effects, wherein the pressure transient comprises one or more pressures, and wherein the one or more pressures are based on the dynamic underbalance condition and the at least one of the reduced peak of the underbalanced condition or the reduced duration of the underbalance condition resulting from the activation of the secondary pressure generator; c. comparing the one or more pressures with the one or more pressure thresholds at the location; and d. perforating the wellbore with the gun string using the determined configuration of the gun string when the one or more pressures meet the one or more pressure thresholds at the location.