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
| Type | Name | Default | Description |
|---|---|---|---|
| Time Conversion | |||
| Boolean | convertInput | false | = true, if the input value is a rate or time variable that needs to be converted |
| Boolean | inputIsRate | false | = true, if the input is given in units of time, otherwise it is assumed to be a rate |
| Boolean | convertOutput | false | = true, if the output value is a rate or time variable that needs to be converted |
| Boolean | outputIsRate | false | = true, if the output is given in units of time, otherwise it is assumed to be a rate |
| TimeBases | timeBaseInput | TimeBases.seconds | TimeBase to convert from (default = seconds) |
| TimeBases | timeBaseTableIn | modelSettings.modelDisplayTimeBase | TimeBase used for the lookup function input (default = modelDisplayTimeBase) |
| TimeBases | timeBaseTableOut | modelSettings.modelDisplayTimeBase | TimeBase assumed for the lookup function output (default = modelSettings.modelDisplayTimeBase) |
| TimeBases | timeBaseOutput | TimeBases.seconds | TimeBase used for the output (default = seconds) |
Connectors
| Type | Name | Default | Description |
|---|---|---|---|
| Connectors.RealInput | u (from SISO) | Input |
Components
| Type | Name | Default | Description |
|---|---|---|---|
| RealOutput | y (from SO) | ||
| ModelSettings | modelSettings |
Contents
| Name | Description |
|---|---|
| InputType | The type of the input |
Revisions
- Introduced in v2.0.0.
- Added type choice for
type InputTypein v2.2.