Multiplication Effects
Extends from Modelica.Icons.Package (Icon for standard packages).
| Name | Description |
|---|---|
| effect = u/NormalValue | |
| effect = 1 - DamagedAreaFraction | |
| effect = spline(data,u) | |
| Adapt the input signal before interpolation | |
| Adapt the effect after interpolation | |
| LagSpline if not Failed |
Physiolibrary.Blocks.Factors.Normalizationeffect = u/NormalValue
Extends from Physiolibrary.Icons.BaseFactorIcon.
| Name | Description |
|---|---|
| NormalValue | Normal value of u, because y=(u/NormalValue)*yBase. |
| enabled | disabled => y=yBase |
| Name | Description |
|---|---|
| yBase | |
| y | |
| u |
Physiolibrary.Blocks.Factors.DamagedFractioneffect = 1 - DamagedAreaFraction
Extends from Physiolibrary.Icons.BaseFactorIcon.
| Name | Description |
|---|---|
| DamagedAreaFraction | [1] |
| Name | Description |
|---|---|
| yBase | |
| y |
Physiolibrary.Blocks.Factors.Splineeffect = spline(data,u)
Extends from Physiolibrary.Icons.BaseFactorIcon4.
| Name | Description |
|---|---|
| enabled | disabled => y=yBase |
| data[:, 3] | Array of interpolating points as {x,y,slope} |
| Xscale | conversion scale to SI unit of x values |
| Yscale | conversion scale to SI unit of y values |
| UsePositiveLog10 | x = if u/scaleX <=1 then 0 else log10(u/scaleX) |
| Name | Description |
|---|---|
| yBase | |
| y | |
| u |
Physiolibrary.Blocks.Factors.LagSplineAdapt the input signal before interpolation
If the input signal u is constant and it is different from starting delayed input d, the middle value between u and d will be reached after HalfTime.
The mathematical background:
d'(t) = k*(u(t) - d(t)) => The solution of d(t) in special case, if u(t) is constant at each time t: d(t)=u+(d(0)-u)*e^(-k*t), where the definition of HalfTime is d(HalfTime) = d(0) + (d(0)-u)/2.
Extends from Physiolibrary.Icons.BaseFactorIcon5.
| Name | Description |
|---|---|
| enabled | disabled => y=yBase |
| HalfTime | [s] |
| initialValue | as u/Xscale |
| Xscale | conversion scale to SI unit of x values |
| Yscale | conversion scale to SI unit of y values |
| UsePositiveLog10 | x = if u_delayed/scaleX <=1 then 0 else log10(u_delayed/scaleX) |
| data[:, 3] |
| Name | Description |
|---|---|
| yBase | |
| y | |
| u |
Physiolibrary.Blocks.Factors.SplineLagAdapt the effect after interpolation
Extends from Physiolibrary.Icons.BaseFactorIcon3.
| Name | Description |
|---|---|
| enabled | disabled => y=yBase |
| HalfTime | [s] |
| Xscale | conversion scale to SI unit of x values |
| UsePositiveLog10 | x = if u/scaleX <=1 then 0 else log10(u/scaleX) |
| data[:, 3] | |
| IO | |
| Value I/O | |
| stateName | Name in Utilities input/output function |
| Name | Description |
|---|---|
| yBase | |
| y | |
| u |
Physiolibrary.Blocks.Factors.SplineLagOrZeroLagSpline if not Failed
Extends from Physiolibrary.Icons.BaseFactorIcon2.
| Name | Description |
|---|---|
| FunctionFailed | Function failed |
| enabled | disabled => y=yBase |
| HalfTime | [s] |
| data[:, 3] | |
| Xscale | conversion scale to SI unit of x values |
| Conditional inputs | |
| useFunctionFailedInput | =true, if FunctionFailed input is used |
| IO | |
| Value I/O | |
| stateName | Name in Utilities input/output function |
| Name | Description |
|---|---|
| yBase | |
| y | |
| u | |
| Failed |