Transformation with a dynamic value (factor)

You might find this thread answering the question Solaredge inverter via Modbus TCP 2 the approach there is based on rules

Also, please check out if the sunspec modbus binding would work for you SunSpec - Bindings | openHAB. This is an device specific binding on top of the plain modbus binding, avoiding the error prone configuration by the user.