Modeling the Dynamics of the Transition to a Green Economy