The invention discloses a molecular-level online
gasoline blending optimization method and
system, and the method comprises the steps: obtaining the online near
infrared spectrum of each blending component
gasoline in real time, and inputting the online near
infrared spectrum into a pre-constructed intelligent inversion model, obtaining a first compound composition corresponding to each blending component
gasoline in the blending component gasoline, and predicting a second compound composition of the finished gasoline according to the first compound composition and a preset initial gasoline blending ratio, according to the composition of the second compound and a preset molecular-level
physical property model, calculating the macroscopic
physical property corresponding to the finished gasoline, and according to the macroscopic
physical property and a preset constraint index, solving a pre-constructed multi-objective optimization model with the lowest
mass excess and the lowest cost; iteratively updating the initial gasoline blending proportion to obtain the optimal gasoline blending proportion, so that the complexity of operation is reduced, and the efficiency and accuracy of the blending process are improved.