A non-transitory computer readable storage medium having stored thereon a computer program comprising instructions for execution, by at least one data processing device, of a method for applying an optimized processing treatment to items in an industrial treatment line, the industrial treatment line comprising at least one processing module applying a processing treatment to the items, the processing treatment being at least in part parameterized by a current setting of at least one working parameter of the at least one processing module, the method comprising:
- (a) receiving instructions defining, for a set of value ranges of at least one parameter representative of an external property of items in the industrial treatment line, associated settings for a value of the at least one working parameter, each value range being associated with an associated setting and wherein each associated setting corresponds to a setting compatible with an achievement of a target quality of the processing treatment, wherein each associated setting further corresponds to a setting for which a lowest achievable consumption of resources and/or energy at the at least one processing module is achieved;
- (b) receiving a measurement of a value of the at least one parameter representative of the external property of an item from the industrial treatment line and a measurement of a value of a parameter representative of a condition inside the at least one processing module;
- (c) identifying a value range, among the set of value ranges of the at least one parameter representative of an external property of items in the industrial treatment line, comprising the measured value supplied by the at least one first sensor and the measured value supplied by the at least one second sensor,
- (d) comparing an associated setting for the value of the at least one working parameter the current setting of the at least one working parameter;
- and
- (e) upon detecting a difference between the associated setting and the current setting, outputting an instruction to change the current setting to the associated setting at the at least one processing module.