.Modelica.ComplexBlocks.ComplexMath

Information

This package contains basic mathematical operations, such as summation and multiplication, and basic mathematical functions, such as sqrt and sin, as input/output blocks. All blocks of this library can be either connected with continuous blocks or with sampled-data blocks.

Contents

NameDescription
ConjOutput is equal to the conjugate complex input signal
GainOutput the product of a gain value with the input signal
SumOutput the sum of the elements of the input vector
FeedbackOutput difference between commanded input 1 and feedback input 2
AddOutput the sum of the two inputs
Add3Output the sum of the three inputs
ProductOutput product of the two inputs
DivisionOutput first input divided by second input
SqrtOutput the square root of the input (= principal square root of complex number)
SinOutput the sine of the input
CosOutput the cosine of the input
TanOutput the tangent of the input
AsinOutput the arc sine of the input
AcosOutput the arc cosine of the input
AtanOutput the arc tangent of the input
SinhOutput the hyperbolic sine of the input
CoshOutput the hyperbolic cosine of the input
TanhOutput the hyperbolic tangent of the input
ExpOutput the exponential (base e) of the input
LogOutput the natural (base e) logarithm of the input (input <> '0' required)
RealToComplexConverts Cartesian representation to complex
PolarToComplexConverts polar representation to complex
ComplexToRealConverts complex to Cartesian representation
ComplexToPolarConverts complex to polar representation
BodeCalculate quantities to plot Bode diagram
TransferFunctionComplex Transfer Function

Revisions


Generated at 2024-04-26T18:16:04Z by OpenModelicaOpenModelica 1.22.3 using GenerateDoc.mos