Defining the coupling algorithm

The Configuration File provides are hierchical arangement of component instances to which a numerical method can be applied.

The design of the Configuration File is generalized to enable a hierarchical arrangement of an arbitrary number of component instances, and to associate these with a particular numerical method. As a result of this generalization, we introduce an additional concept, that of an actor:

  • An atomic actor refers to a single subsystem model (that is, component instance) in the coupled simulation.
  • A composite actor refers to a grouping of atomic actors associated with a numerical method.
For now, it is sufficient to associate the atomic actor with a component instance, and use a single composite actor definition.

The <execution> element defines the composite actors, the connection groups (Connection Groups, and the duration of the coupled simulation (Scenario). Use <compositeActors> element within the <execution> element to define a composite actor. Currently, only a single composite actor definition is supported.

Use the <compositeActor> element within the <compositeActors> element to define the atomic actors and an associated computational model. The name attribute is an internal reference name. Use the <actors> and <atomicActor> elements to specify the component instances belonging to the composite actor definition. The order the atomic actors are listed defines the staggering sequence; the first entry is the lead actor, and subsequent entries are the lagging actors, which are sequenced in the order specified.

Use the <modelOfComputation> element within the <compositeActor> element to define the computational model, discussed in Model of Computation.

Example

The following example illustrates the <compositeActors> element:

<execution>
    <compositeActors>
        <compositeActor name="twoCodeContinuousTime">           
            <actors>
                <atomicActor>cht_circuitboard_std</atomicActor>
                <atomicActor>cht_circuitboard_cfd</atomicActor>
            </actors>  
 
            <modelOfComputation>
               <!-- specify model of computation -->
            </modelOfComputation>
        </compositeActor>        
    </compositeActors>

    <connectionGroups>
       <!-- specify connection groups -->
    </connectionGroups>

    <scenario>
          <!-- scenario definition -->>
    </scenario>
</execution>