blockSISO_Conversion

Partial SISO converter class with input and output conversions for lookup functions

Extends from SISO (Converter with single input and single output).

Information

This information is part of the Business Simulation Library (BSL). Please support this work and ► donate.

This partial class is intended for a more convenient development of lookup functions as users can choose to convert input and output using →RateConversion and →TimeConversion.

Parameters

TypeNameDefaultDescription
Time Conversion
BooleanconvertInputfalse= true, if the input value is a rate or time variable that needs to be converted
BooleaninputIsRatefalse= true, if the input is given in units of time, otherwise it is assumed to be a rate
BooleanconvertOutputfalse= true, if the output value is a rate or time variable that needs to be converted
BooleanoutputIsRatefalse= true, if the output is given in units of time, otherwise it is assumed to be a rate
TimeBasestimeBaseInputTimeBases.secondsTimeBase to convert from (default = seconds)
TimeBasestimeBaseTableInmodelSettings.modelDisplayTimeBaseTimeBase used for the lookup function input (default = modelDisplayTimeBase)
TimeBasestimeBaseTableOutmodelSettings.modelDisplayTimeBaseTimeBase assumed for the lookup function output (default = modelSettings.modelDisplayTimeBase)
TimeBasestimeBaseOutputTimeBases.secondsTimeBase used for the output (default = seconds)

Connectors

TypeNameDefaultDescription
Connectors.RealInputu (from SISO)Input

Components

TypeNameDefaultDescription
RealOutputy (from SO)
ModelSettingsmodelSettings

Contents

NameDescription
InputTypeThe type of the input

Revisions

  • Introduced in v2.0.0.

  • Added type choice for type InputType in v2.2.