Variable Cosine - MapleSim Help
For the best experience, we recommend viewing online help using Google Chrome or Microsoft Edge.

Online Help

All Products    Maple    MapleSim


Cosine with variable frequency and amplitude

Generate a cosine signal with variable frequency and amplitude

 

Description

Equations

Connections

Parameters

Modelica Standard Library

Description

The Cosine Variable Frequency and Amplitude (or Variable Cosine Source) component has a real output y that is a cosinusoidal signal whose frequency and amplitude may be varied by real inputs:

Equations

y=offset+amplitudeinternalcosφ

derφ=2πfinternal

amplitudeinternal={constantAmplitudeuseConstantAmplitudeamplitudeotherwise

finternal={constantFrequencyuseConstantFrequencyfotherwise

Connections

Name

Description

Modelica ID

y

Real output signal

y

amplitude

Amplitude of cosine wave

amplitude

f

frequency of cosine wave

f

Parameters

Name

Default

Units

Description

Modelica ID

Use constant amplitude

false

 

Use constant amplitude

useConstantAmplitude

Constant amplitude

1

 

Constant amplitude

constantAmplitude

Use constant frequency

false

 

Use constant frequency

useConstantFrequency

Constant frequency

1

Hz

Constant frequency

constantFrequency

offset

0

 

Offset of output signal

offset

Modelica Standard Library

The component described in this topic is from the Modelica Standard Library. To view the original documentation, which includes author and copyright information, click here.

See Also

Real Sources

Signal Blocks

Signal Sources