blockPower
Output the power to a base of the input
Extends from Interfaces.SISO (Single Input Single Output continuous control block).
Information
This blocks computes the output y as the power to the parameter base of the input u. If the boolean parameter useExp is true, the output is determined by:
y = exp ( u * log (base) )
otherwise:
y = base ^ u;
Parameters
| Type | Name | Default | Description |
|---|---|---|---|
| Real | base | Modelica.Constants.e | Base of power |
| Boolean | useExp | true | Use exp function in implementation |
Connectors
| Type | Name | Default | Description |
|---|---|---|---|
| RealInput | u (from SISO) | Connector of Real input signal | |
| RealOutput | y (from SISO) | Connector of Real output signal |