A framework for automated multi‑stage and multi‑step product confguration of cyber‑physical systems