Added examples for the interpretation of the ReferenceElement association in case of multiple ReferenceElements
2021-06-09
Initial creation in the ECAD-WIKI
2019-03-11
Part Master Definition
Part A being an accessory for Part B means, that if Part B is used somewhere in a harness, then Part A might (or must) be used as well. These can be for example backshells, connector housing locks, clips, cable ties. In the VEC, any part classification can be an accessory to another part. A relation between PartVersion and its accessories can be established with a PartRelation in a GeneralTechnicalPartSpecification
Example
The following table shows examples for the usage of a PartRelation and the corresponding semantic meanings.
#
Example
Meaning
In numbers
1
1
2
3
4
5
6
7
8
<PartRelationid="id_1"><RelationType>Mandatory</RelationType><AccessoryPart>A A A</AccessoryPart></PartRelation><PartRelationid="id_2"><RelationType>Optional</RelationType><AccessoryPart>A A A</AccessoryPart></PartRelation>
The part A has to be used exactly 3 times or exactly 6 times.
<PartRelationid="id_4"><RelationType>Mandatory</RelationType><AccessoryPart>C C C</AccessoryPart></PartRelation>
The part C has to be used exactly 3 times. This is semantically equivalent with example #3.
3 x C
5
1
2
3
4
<PartRelationid="id_7"><RelationType>Optional</RelationType><AccessoryPart>D E F</AccessoryPart></PartRelation>
The parts D & E & F have to be used exactly 1 times or 0 times.
0..1 x (D,E,F)
6
1
2
3
4
5
6
7
8
<PartRelationid="id_8"><RelationType>Optional</RelationType><AccessoryPart>G G G</AccessoryPart></PartRelation><PartRelationid="id_9"><RelationType>Optional</RelationType><AccessoryPart>G G</AccessoryPart></PartRelation>
The part G have to be used exactly 0 times or 2, 3, 5 times.
(0,2,3,5) x G
7
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
<PartRelationid="id_10"><RelationType>Mandatory</RelationType><AccessoryPart>K K K</AccessoryPart></PartRelation><PartRelationid="id_11"><RelationType>Optional</RelationType><AccessoryPart>K</AccessoryPart></PartRelation><PartRelationid="id_12"><RelationType>Optional</RelationType><AccessoryPart>K</AccessoryPart></PartRelation><PartRelationid="id_13"><RelationType>Optional</RelationType><AccessoryPart>K</AccessoryPart></PartRelation>
The part K have to be used between 3 and 6 times.
3..6 x K
Instantiation
As described in the previous section, definitions can be made the part master data which accessories are required in which combination for a component. In the implementation in the wiring harness, however, there are also degrees of freedom as to which accessories are actually used. Therefore, the master data can only define valid possibilities; which variant is used must be defined at the concrete occurrence.
In the VEC the accessory occurrence → parent occurrence relationship is represented by the ReferenceElement association, where the accessory occurrence references the OccurrenceOrUsage it depends on / relates to as ReferenceElement(see Instantiation of Components)
The illustration above shows a single accessory that is associated with two reference elements. In cases where the variance control mechanisms are not yet defined1 completely, the condition of existence of the reference elements has implications for the accessory.
An accessory can only exist if all of its ReferenceElements exist, too. However, the existence of all ReferenceElements does not automatically imply the existence of the accessory. Additional constraints may apply, whereby the accessory the can only exist if all ReferenceElements exist and the additional constraints are met.
An example for such case are elaborately sealed grommets for improved waterproofing. Each wire passing through the grommet requires a special individual seal. In this case, each seal is an accessory for both the wire and the grommet to the same extent. In concrete variants of the harness, only if a specific wire exists the corresponding seal is required. However, the association to the grommet is equally relevant, as it defines the position of the seal on the wire and without the grommet the seal is also without purpose.