Behavior GenerationThe Modelica composite model is derived from its Functional and Logical (FL) structure. The PLM interface of the model is created by translating FL instances to Modelica components, FL ports to Modelica connectors, and FL connections to Modelica connections.
If a model contains a connection to a sub-instance, an internal connector component is created. Model data from modifiers and applicative PLM extensions are reported in the composite model. Apart from these, attributes from the types: Boolean, numeric with or without unit, and text, are also reported. Note:
Data irrelevant to DBM, such as the
modified date or maturity, is excluded during behavior generation.
The references of the components are declared under PLMConnectors as Modelica models. If a behavior exists on a reference, the same is inherited from the current MainModel of the reference, else a model is created resembling the logical structure of the reference. ![]() The translated Modelica class inherits from context and dymola behaviors of a reference. If a reference contains an FMU, only the interfaces of the FMU are translated. The FMU must be then manually imported and reconnected. Behavior SelectionThe default behavior selection is built from the sub-set of FL instances displayed in the schematic view. For example, if a reference contains three instances and a schematic view with only two instances is displayed, the behavior selection will have only two instances activated. You can change this behavior using the Behavior Selection command. Note:
The behavior selection is contextual and persistent with the
view.
Layout and InterfacesThe layout of the composite model is derived from the schematic view. Each FL instance in the Modelica model has the same size and position as its reference in the main FL view. The ports occupy the same position and connections have the same pathways. As all the instances of the composite model are replaceable, you can replace them with other MainModels of the FL reference. You can update layout and interfaces using the following commands, which are available from the context menu of the behavior representation.
The component names are based on their original names but comply to the Modelica character set. Characters which are not supported by Modelica syntax are replaced with an underscore. If the names for instances, references, and ports are modified in the FL model, the commands Update Interfaces and Update Interfaces Keeping Behavior Selection update the names in the composite model. The names of the modifiers are also updated if the corresponding component's name is modified and the modifiers are loaded in the current session. Note:
The command Update Interfaces Layout does not update the names of
the components.
|