A Methodology for Modeling Systems of Engineering based on Agents