Thank you for your answer.
I also had the idea of using the setup time instead of the runtime, but then I can only ever map a fixed time. If I can produce 500kg in 1 hour, but produce 800kg, the machine runs theoretically 2 hours, but the setup time remains at 1 hour because it's fix.
then I probably can not avoid an customization as it looks like