A method, system, and device for electroporation. A system may include a medical device with a plurality of electrodes borne on an expandable element and an energy generator in communication with the electrodes. The energy generator may have processing circuitry configured to selectively deliver electroporation energy to at least one of the electrodes. The processing circuitry may determine whether an alert condition is present and, if so, cease the delivery of electroporation energy to one or more electrodes identified as the cause of the alert condition and/or prevent the delivery of electroporation energy to the one or more electrodes identified as the cause of the alert condition. The energy generator may also be configured to deliver electroporation energy in a sequence of a plurality of energy delivery patterns to enhance lesion formation.