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:
- Start GoldSim
- Click on the File and select Open Example...
- Browse to General Examples --> Containers
- Select the file called CloningContainers.gsm