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

Online Help

All Products    Maple    MapleSim


Sine with variable frequency and amplitude

Generate a sine signal with variable frequency and amplitude

 

Description

Equations

Connections

Parameters

Modelica Standard Library

Description

The Sine Variable Frequency and Amplitude (or Variable Sine Source) component has a real output y that is a sinusoidal 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 sine wave

amplitude

f

frequency of sine 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