Power

Output the power to a base of the input

Information

This information is part of the Modelica Standard Library maintained by the Modelica Association.

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 (2)

base

Value: Modelica.Constants.e

Type: Real

Description: Base of power

useExp

Value: true

Type: Boolean

Description: Use exp function in implementation

Connectors (2)

u

Type: RealInput

Description: Connector of Real input signal

y

Type: RealOutput

Description: Connector of Real output signal