The present invention relates to an aerosol-generating system, comprising a pump having an inlet and an outlet, the inlet being connectable to a liquid storage portion. The system also comprises a fluid channel fluidly connected to the pump and a fluid sensor. The fluid sensor is configured to determine a presence of liquid aerosol-forming substrate in the fluid channel by measuring an electrical property of the fluid comprised in the fluid channel.本發明有關一種氣溶膠產生系統,其包括一泵浦,該泵浦具有一入口與一出口,該入口可連接一液體存儲部。該系統亦包括一流體通道,其係流體連通該泵浦與一流體感測器。該流體感測器構造成藉由測量在該流體通道內的該所含的流體的電特性,以決定在該流體通道內是否存有液態氣溶膠生成基材。