modelBasicBlock
Partial block subsystem model (no flow or ports)
Extends from Icons.SubsystemBlock (Icon for subsystems with flow ports), BaseSubsystem (Partial subsystem with flexible number of connectors).
Information
This information is part of the Business Simulation Library (BSL). Please support this work and ► donate.
This class extends the →BaseSubsystem and the →Icons.SubsystemBlock classes. By modifying the constant iconLabel a label in a color matching the subsystem type can be given. A block cannot have flow or stock port connectors.
Notes
In Wolfram SystemModeler the value given for Font size in the menu Tools > Options... > Model Center > Graphical Class Views > General > Component Text will override any local settings for the display of iconLabel.
Parameters
| Type | Name | Default | Description |
|---|---|---|---|
| String | iconLabel (from SubsystemBlock) | "" | |
| Subsystem Specs › System Connectors | |||
| Integer | nin (from BaseSubsystem) | 0 | Number of input connectors |
| Integer | nout (from BaseSubsystem) | 0 | Number of output connectors |
| Integer | n_stockPorts (from BaseSubsystem) | 0 | Number of stock port connectors |
| Integer | n_flowPorts (from BaseSubsystem) | 0 | Number of flow port connectors |
| Integer | n_stockInfoInputs (from BaseSubsystem) | 0 | Number of stockInfo input connectors |
| Integer | n_stockInfoOutputs (from BaseSubsystem) | 0 | Number of stockInfo output connectors |
| Boolean | hasDataBus (from BaseSubsystem) | true | = true, if the system is to have an expandable connector |
| Subsystem Specs › Array Connectors | |||
| Boolean | hasMultiInput (from BaseSubsystem) | false | = true, if the system has an array of input connectors |
| Boolean | hasMultiOutput (from BaseSubsystem) | false | = true, if the system has an array of output connectors |
| Boolean | hasMultiStockPort (from BaseSubsystem) | false | = true, if the system has an array of stock ports |
| Boolean | hasMultiFlowPort (from BaseSubsystem) | false | = true, if the system has an array of flow ports |
| Boolean | hasMultiStockInfoInput (from BaseSubsystem) | false | = true, if the system has an array of stock info input connectors |
| Boolean | hasMultiStockInfoOutput (from BaseSubsystem) | false | = true, if the system has an array of stock info output connectors |
Connectors
| Type | Name | Default | Description |
|---|---|---|---|
| FlowMultiPort[n_flowPorts] | flowPorts (from BaseSubsystem) | Flow port connectors | |
| FlowPort | flowPort (from BaseSubsystem) | Flow port connector | |
| StockMultiPort[n_stockPorts] | stockPorts (from BaseSubsystem) | Stock port connectors | |
| StockPort | stockPort (from BaseSubsystem) | Stock port connector | |
| StockInfoMultiInput[n_stockInfoInputs] | u_stockInfos (from BaseSubsystem) | Stock info input connectors | |
| StockInfoMultiInput | u_stockInfo (from BaseSubsystem) | Stock info input connector | |
| StockInfoMultiOutput[n_stockInfoOutputs] | y_stockInfos (from BaseSubsystem) | Stock info output connectors | |
| StockInfoMultiOutput | y_stockInfo (from BaseSubsystem) | Stock info output connector | |
| RealMultiInput[nin] | u_mult (from BaseSubsystem) | Input connectors | |
| RealInput | u (from BaseSubsystem) | Input connector | |
| RealMultiOutput[nout] | y_mult (from BaseSubsystem) | Output connectors | |
| RealOutput | y (from BaseSubsystem) | Output connector | |
| DataBus | dataBus (from BaseSubsystem) | Information inputs and outputs |
Revisions
- Introduced in v2.0.0.