Systems and methods for enhancing surgical outcomes by providing generators having optimal RF output for sealing, fusing and/or cutting tissue or vessels under all dynamic conditions are described. Examples of dynamic conditions may include varying tissue impedance load due to electrosurgical operations or tissue affects, any operational conditions and commands determined by the surgeon, surgical procedure and/or device script. This is achieved by implementing a digital closed-loop control system within the electrosurgical generator to regulate voltage, current, and power of the RF output. The digital closed-loop control system may include an RF amplifier for generating RF energy, a feedback system for constantly monitoring the electrical characteristics, e.g., voltage, current, and power, of the supplied RF energy to a connectable electrosurgical instrument and a microcontroller for processing measurement data from the feedback system and adjusting the output of the RF amplifier to meet a desired regulation target under any varying conditions.