SISO_Conversion

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

Diagram

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 (4)

convertInput

Value: false

Type: Boolean

Description: = true, if the input value is a rate or time variable that needs to be converted

inputIsRate

Value: false

Type: Boolean

Description: = true, if the input is given in units of time, otherwise it is assumed to be a rate

convertOutput

Value: false

Type: Boolean

Description: = true, if the output value is a rate or time variable that needs to be converted

outputIsRate

Value: false

Type: Boolean

Description: = true, if the output is given in units of time, otherwise it is assumed to be a rate

Connectors (4)

y

Type: RealOutput

Description: Output signal

u

Type: RealInput

Description: Input

u_c

Type: RealOutput

Description: Input after conversion

y_c

Type: RealOutput

Description: Output before conversion

Components (7)

modelSettings

Type: ModelSettings

Description: Setting important global variables within a model

rateConversionIn

Type: RateConversion

Description: Convert the input (rate) to another time base

noConversionIn

Type: PassThrough

Description: Use input as is

timeConversionIn

Type: TimeConversion

Description: Convert the input to another time base

noConversionOut

Type: PassThrough

Description: Use output as is

rateConversionOut

Type: RateConversion

Description: Convert the output (rate) to 1/s

timeConversionOut

Type: TimeConversion

Description: Convert the output to seconds

Extended by (10)

TableFunction

BusinessSimulation.Converters.Lookup

Table function defined by external data on file using Modelica's CombiTable format

SShapedNegative

BusinessSimulation.Converters.Lookup

Symmettric S-shaped curve with negative slope around origin (0,0)

SShapedPositive

BusinessSimulation.Converters.Lookup

Symmettric S-shaped curve with positive slope around origin (0,0)

PerformanceIndicator

BusinessSimulation.Converters.Lookup

Indicator function using fuzzy membership functions

JanoschekNegative

BusinessSimulation.Converters.Lookup

Janoschek's (S-shaped) growth curve with negative slope

JanoschekPositive

BusinessSimulation.Converters.Lookup

Janoschek's (S-shaped) growth curve with positive slope

ConvexLookupNegative

BusinessSimulation.Converters.Lookup

Convex Lookup with negative slope usually defined for the range [0,∞) passing through the fixpoint (1,1)

ConvexLookupPositive

BusinessSimulation.Converters.Lookup

Convex Lookup with positive slope; usually with fixpoint (0,y0) and fixpoint (1,1)

ConcaveLookupNegative

BusinessSimulation.Converters.Lookup

Concave Lookup with negative slope; fixpoints are (0,y0) and (1,0)

ConcaveLookupPositive

BusinessSimulation.Converters.Lookup

Concave Lookup with positive slope; fixpoints are (0,y0) and (1,1)

Revisions

  • Introduced in v2.0.0.

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