Stav dette: Optimal passive and active control mechanisms for seismically excited buildings