Use the following procedure to import a model as a module within your model.
Note: You can also create a module directly, by building it within a model. For more information, see Creating Modules.
Select the module icon. The Module Properties will appear in the Properties panel.
Click the Import button. The Open File dialog box will open.
You can now navigate into the module by double-clicking the module icon.
You can follow steps 2 to 5 above to replace the contents of a module with a model from a file. Connections between the existing module and other modules will be retained in the variable names in the imported module match.
This is a convenient way to allow work to progress separately on a module. The updated module can then be re-imported everywhere it is used (see Agent Based Examples for an explanation of why this is useful).
If you will only use the imported module in a single place, then set the save module as separate file checkbox. Any editing you do in the current model will be saved to that separate file without requiring the module to be imported again. You can only use a module file once in this manner.