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

TypeNameDefaultDescription
RealbaseModelica.Constants.eBase of power
BooleanuseExptrueUse exp function in implementation

Connectors

TypeNameDefaultDescription
RealInputu (from SISO)Connector of Real input signal
RealOutputy (from SISO)Connector of Real output signal