To represent objects in your model, you can localize Containers to encapsulate their definitions into subsystems. In this model, we use localized containers to represent forces exerted on Earth and the moon. Identical calculations are repeated in these objects by using cloned Containers. If you change an input for a cloned container, the same input is automatically changed for all the other cloned containers. This method of cloning provides an object-oriented approach to your model by separating the logic from the data.
To Open the Model File:
In GoldSim, click on the File menu, select Open Example..., browse to Container Examples and select the file called CloningContainers.gsm