There is provided an aerosol-generating system including an aerosol-generating device in cooperation with an aerosol-generating article. The aerosol-generating article includes a first compartment including a volatile liquid; and a second compartment including a delivery enhancing compound. The aerosol-generating device includes an outer housing configured to receive the aerosol-generating article; a power supply; a heater, configured to receive power from the power supply and arranged to heat the first compartment when the aerosol-generating article is received in the outer housing; an input, configured to receive an input from a user; and a controller, configured to control an amount of power supplied to the heater in dependence on a user input, such that a quantity of volatile liquid aerosolised is determined by the user input.