Method and System for Open-Loop or Closed-Loop Control of a Technical Device