Stav dette: Control, identification, and input optimization