Power

Exponentiation of input

Diagram

Information

This information is part of the Business Simulation Library (BSL). Please support this work and ► donate.

The output y is the exponentiationen of base u to either a constant power exponent or a variable power u_exponent (actExponent.y will reflect this choice).

y = u ^ actExponent.y

Parameters (2)

exponent

Value: 1

Type: Real

Description: Constant exponent for the exponentiation (default)

hasConstantExponent

Value: true

Type: Boolean

Description: = true, if the exponent is a constant parameter

Connectors (3)

y

Type: RealOutput

Description: Output signal

u

Type: RealInput

Description: Input

u_exponent

Type: RealInput

Description: The exponent for the exponentiation (optional)

Components (2)

actExponent

Type: PassThrough

Description: Exponent to use

constExponent

Type: ConstantConverter

Description: Constant exponent

Used in Components (1)

ExperienceCurve

BusinessSimulation.MoleculesOfStructure.Blocks

Unit cost degression due to gaining experience

Revisions

  • Added PassThrough actExponent to avoid referencing conditional component in v2.2, which is illegal in Modelica.

  • Fixed missing conditionality for constExponent in v2.2.