Can we have the following codes: a=max(b,0)

Hi all.
Can we have the following codes in the Dynare : a=max(b,0) .
In an article; I observed such Linear equation

image

In the context of perfect foresight, the answer is yes. Extended path should also work.