Port Model
As described in Creating Device Systems, a Port Model () declares types of ports that a devices use to communicate with each other. To a port model you can only add device variables and device equations, where a variable can be declared as a flow variable. When you make a connection between two or more devices, the connection sets all nonflow variables equal. For the flow variables on the other hand, the connection sets the sum of all flow variables equal to zero. You can also right-click the Port Model node to add Device Variables and Usage Condition subnodes.
To add a Port Model to Features ():
1
Under the Building Blocks branch click Features.
2
On the Home toolbar, from the Building Blocks group, click to add any of the available features (for example, a Device Model Feature or Domain Condition).
3
Right-click the node (in this example the Device Model Feature or Domain Condition node) and choose Port Model from the Devices submenu.
To add a Port Model to Components ():
1
Under the Building Blocks branch click Components.
2
On the Home toolbar, from the Building Blocks group, click Component ().
3
Right-click the Component node and choose Port Model from the Devices submenu.
The Settings window has the following section:
Port Model
In the Type text field enter the port type that a port instance refers to. It is also possible to let a port model inherit from another port model. To do so, enter that port model in the Inherited type text field.
Select the Abstract model type check box to make the make the port model abstract (it can then not be instantiated by a port, for example).