Log

Output the logarithm (default base e) of the input (input > 0 required)

Information

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

This blocks computes the output y as the logarithm to the parameter base of the input u:

y = log( u ) / log( base );

An error occurs if the input u is zero or negative.

log.png

Parameters (1)

base

Value: Modelica.Constants.e

Type: Real

Description: Base of logarithm

Connectors (2)

u

Type: RealInput

Description: Connector of Real input signal

y

Type: RealOutput

Description: Connector of Real output signal