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 Specs to allow for fast and flexibel building of susbsytem components in a model.

  • Use of the switches in the group Array Connectors allows to have array connectors even if the number of connectors has been given as 1.

Parameters

TypeNameDefaultDescription
Subsystem Specs › System Connectors
Integernin0Number of input connectors
Integernout0Number of output connectors
Integern_stockPorts0Number of stock port connectors
Integern_flowPorts0Number of flow port connectors
Integern_stockInfoInputs0Number of stockInfo input connectors
Integern_stockInfoOutputs0Number of stockInfo output connectors
BooleanhasDataBustrue= true, if the system is to have an expandable connector
Subsystem Specs › Array Connectors
BooleanhasMultiInputfalse= true, if the system has an array of input connectors
BooleanhasMultiOutputfalse= true, if the system has an array of output connectors
BooleanhasMultiStockPortfalse= true, if the system has an array of stock ports
BooleanhasMultiFlowPortfalse= true, if the system has an array of flow ports
BooleanhasMultiStockInfoInputfalse= true, if the system has an array of stock info input connectors
BooleanhasMultiStockInfoOutputfalse= true, if the system has an array of stock info output connectors

Connectors

TypeNameDefaultDescription
FlowMultiPort[n_flowPorts]flowPortsFlow port connectors
FlowPortflowPortFlow port connector
StockMultiPort[n_stockPorts]stockPortsStock port connectors
StockPortstockPortStock port connector
StockInfoMultiInput[n_stockInfoInputs]u_stockInfosStock info input connectors
StockInfoMultiInputu_stockInfoStock info input connector
StockInfoMultiOutput[n_stockInfoOutputs]y_stockInfosStock info output connectors
StockInfoMultiOutputy_stockInfoStock info output connector
RealMultiInput[nin]u_multInput connectors
RealInputuInput connector
RealMultiOutput[nout]y_multOutput connectors
RealOutputyOutput connector
DataBusdataBusInformation inputs and outputs

Revisions

  • Introduced in v2.0.0.