A computer program product being adapted to enable a computer system comprising at least one computer having data storage means in connection therewith to control an associated production line for producing bio-fuel (BF), or other bio-based chemicals, from biomass (BM), preferably a high-viscosity biomass, in a continuous flow, preferably using thermo-chemical conversion of the biomass, the associated production line comprising:
- pumping means (PM) capable of pumping the biomass through the production line under a controlled pressure and flow,
- heating means (HM) in thermal contact with a first part of the production line for controlling the temperature in the production line, and
- cooling means (CM) in thermal contact with a second part of the production line for cooling the biomass under conversion,
- the computer program product comprising instructions for:
- operating the pumping means, the heating means and the cooling means so that, at least part of, the production line is under supercritical fluid conditions (SCF), optionally at near-supercritical fluid conditions, so as to induce biomass conversion in a conversion zone (CZ) within the production line, and
- operating the pumping means so that, at least part of, the production line is in an oscillatory flow (OF) mode, wherein a local oscillatory flow rate of the biomass under conversion is superimposed on the average flow rate through the production line.