Copying Material Elements Between GoldSim Model Files
In many cases, you may wish to create different portions of your model in different model files. For example, one individual may be working on one part of your model (a particular subsystem), while another is working on a different subsystem. At some point, you would then want to combine the various subsystems into a single model file.
GoldSim allows you do so by simply opening two instances of GoldSim (each with a different file), copying the desired elements (including entire Containers) to the clipboard, and then pasting them into the other model.
When you are copying and pasting Material elements in this manner, however, there are several limitations that GoldSim imposes that you must be aware of:
- You cannot copy the Species element between models. If you try to copy a Container An element that acts like a "box" or a "folder" into which other elements can be placed. It can be used to create hierarchical models. containing the Species element, GoldSim will issue a warning message and prevent you from doing so.
- You can only copy Fluids and Solids between models if the two models have species The chemical (or non-chemical, such as bacterial or viral) constituents that are stored and transported through an environmental system in a contaminant transport model. In GoldSim, the Species element defines all of the contaminant species being simulated (and their properties). lists with the same number of species and the same number of chemical elements (although the species and element names do not have to be identical). This is because Fluids and Solids use the species and elements array A collection of variables that share common output attributes and can be manipulated in GoldSim elements or input expressions. label sets. If the number of species or the number of elements was different between models, it would cause a conflict when the Fluid or Solid element An element in GoldSim for defining the properties of solid media (such as sand, clay and rock). was pasted, and GoldSim therefore prevents you from doing so.
Note: When Containers are pasted into the same scope The portion of a model from which an element's output can be referenced. You cannot reference an element in a different scope unless that output is specifically exposed. from which they were copied, GoldSim always localizes them. As a result, other elements will not be able to see items in the Container unless you globalize it or expose the inputs.