In the TutorialSubmodel.vsd file you will see three activities that detail the subprocesses that occur in the main model's Op 30 Install PCB activity. The PCB is aligned on its frame, screws are attached, and the install is completed by connecting wires and testing the continuity.
Previously in the main model, the entire Op 30 Install PCB activity used a N(40,5) distribution for its time. The submodel gives more detail to the time required to install the PCB, where the first two activities have fixed times of two minutes and five minutes respectively and the final activity has a distribution of N(33,3) for its activity time.
An Assy entity is defined in the submodel. It is present so our submodel can initially be simulated independently of its main model; however, we would ultimately like to have our submodel receive its entities from the main model, process them, and then return them to the main model.
Please Note: Be sure all calendar files are pointing to the correct path in the submodel using the Calendar button from the properties dialog or you may receive an error message that indicates, "Missing the calendar files" the next time you open your saved model.
The submodel also has a Line Op 2 resource. The resource is present so the submodel may be run independently, and also so the resource may be selected in the properties dialogs for activity and routing processing. When the submodel is run independently, the properties for its Line Op 2 resource are used; however, when the submodel is used by a simulated main model, the properties for the main model's Line Op 2 resource are used.