packageConstants
Defining constants for network components
Extends from Icons.Package (Icon for standard packages).
Information
This package enables to express the connection status for any component in a similar way between C++ and Modelica.Parameters
| Type | Name | Default | Description |
|---|---|---|---|
| Real | Open | 1 | Component disconnected |
| Real | Closed | 2 | Component connected |
| Real | Closed1 | 3 | Component connected on side 1 |
| Real | Closed2 | 4 | Component connected on side 2 |
| Real | Closed3 | 5 | Component connected on side 3 |
| Real | Undefined | 6 | Component status undefined |
Contents
| Name | Description |
|---|---|
| state | |
| Converts a component connection state from real to enumeration | |
| Converts a component connection state from enumeration to real |