Blocks.Exponentiation ​
This component extends from SISO
Usage ​
TranslatedComponents.Blocks.Exponentiation(exponent=2)
Parameters: ​
| Name | Description | Units | Default value |
|---|---|---|---|
exponent | – | 2 |
Connectors ​
u- This connector represents a real signal as an input to a component (RealInput)y- This connector represents a real signal as an output from a component (RealOutput)
Behavior ​
julia
using TranslatedComponents #hide
using ModelingToolkit #hide
@variables exponent #hide
@named sys = TranslatedComponents.Blocks.Exponentiation(exponent=exponent) #hide
full_equations(sys) #hide<< @example-block not executed in draft mode >>Source ​
dyad
component Exponentiation
extends SISO
parameter exponent::Real = 2
relations
y = u ^ exponent
endFlattened Source
dyad
component Exponentiation
u = RealInput()
y = RealOutput()
parameter exponent::Real = 2
relations
y = u ^ exponent
metadata {}
endTest Cases ​
No test cases defined.
Related ​
Examples
Experiments
Analyses