Modeling complex systems for public policies