modelBaseSubsystem
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 partial class offers convenient flexible with regard to connectors. It is only used for extension.
Notes
- The class uses structural parameters in the tab
Subsystem Specsto allow for fast and flexibel building of susbsytem components in a model. - Use of the switches in the group
Array Connectorsallows to have array connectors even if the number of connectors has been given as 1.
Parameters
| Type | Name | Default | Description |
|---|---|---|---|
| Subsystem Specs › System Connectors | |||
| Integer | nin | 0 | Number of input connectors |
| Integer | nout | 0 | Number of output connectors |
| Integer | n_stockPorts | 0 | Number of stock port connectors |
| Integer | n_flowPorts | 0 | Number of flow port connectors |
| Integer | n_stockInfoInputs | 0 | Number of stockInfo input connectors |
| Integer | n_stockInfoOutputs | 0 | Number of stockInfo output connectors |
| Boolean | hasDataBus | true | = true, if the system is to have an expandable connector |
| Subsystem Specs › Array Connectors | |||
| Boolean | hasMultiInput | false | = true, if the system has an array of input connectors |
| Boolean | hasMultiOutput | false | = true, if the system has an array of output connectors |
| Boolean | hasMultiStockPort | false | = true, if the system has an array of stock ports |
| Boolean | hasMultiFlowPort | false | = true, if the system has an array of flow ports |
| Boolean | hasMultiStockInfoInput | false | = true, if the system has an array of stock info input connectors |
| Boolean | hasMultiStockInfoOutput | false | = true, if the system has an array of stock info output connectors |
Connectors
| Type | Name | Default | Description |
|---|---|---|---|
| FlowMultiPort[n_flowPorts] | flowPorts | Flow port connectors | |
| FlowPort | flowPort | Flow port connector | |
| StockMultiPort[n_stockPorts] | stockPorts | Stock port connectors | |
| StockPort | stockPort | Stock port connector | |
| StockInfoMultiInput[n_stockInfoInputs] | u_stockInfos | Stock info input connectors | |
| StockInfoMultiInput | u_stockInfo | Stock info input connector | |
| StockInfoMultiOutput[n_stockInfoOutputs] | y_stockInfos | Stock info output connectors | |
| StockInfoMultiOutput | y_stockInfo | Stock info output connector | |
| RealMultiInput[nin] | u_mult | Input connectors | |
| RealInput | u | Input connector | |
| RealMultiOutput[nout] | y_mult | Output connectors | |
| RealOutput | y | Output connector | |
| DataBus | dataBus | Information inputs and outputs |
Revisions
- Introduced in v2.0.0.