Multiplication Effects
Extends from Modelica.Icons.Package (Icon for standard packages).
Name | Description |
---|---|
Normalization | effect = u/NormalValue |
DamagedFraction | effect = 1 - DamagedAreaFraction |
Spline | effect = spline(data,u) |
LagSpline | Adapt the input signal before interpolation |
SplineLag | Adapt the effect after interpolation |
SplineLagOrZero | LagSpline if not Failed |
effect = 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 |
effect = 1 - DamagedAreaFraction
Extends from Physiolibrary.Icons.BaseFactorIcon.
Name | Description |
---|---|
DamagedAreaFraction | [1] |
Name | Description |
---|---|
yBase | |
y |
effect = 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 |
Adapt 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 |
Adapt 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 |
LagSpline 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 |