Modeling the pension system allows for the evaluation of different reforms, informing both policy makers and the public about the consequences of change over the long term. Modeling the pension system evaluates the sustainability of the system and thus helps to reduce poverty among the elderly. In this work, our objective is fourfold. First, to diagnose the current system, second, to make demographic projections to determine the future contributing and retired population, and third, to make projections of revenues (average earnings) and expenditures (benefits) over a fifteen-year period. Finally, all these projections allow us to determine the future balance of the pension fund. This projection must be based on relevant assumptions.