Conditional equations

  1. There is the original paper at https://www.sciencedirect.com/science/article/abs/pii/S0304393214001238
  2. In the deterministic model, Dynare will solve the model nonlinearly. Here the max operator is fine.
  3. An alternative to the hard constraint in a stochastic model could be a penalty function. See