The paper presents a new method to solve DSGE models with a great number of heterogeneous agents. Using tools from systems and control theory, it is shown how to reduce the dimension of the state and the policy vector so that the reduced model approximates the original model with high precision....