The invention provides a device, assembly, and method for transoral endoscopic restoration of a gastroesophageal flap valve. Strips of resistive material extend along the trench sidewalls. All of the impurities from the phosphate rock are contained in the resulting CaSO4. Only a closure sealing tool must be adjusted as a function of the number of chosen compartments. An output signal indicating stall, surge or flutter risk is generated if the actual value falls within the stall, surge or flutter safety margin.