Sine

Generate sine signal

Information

This information is part of the Modelica Standard Library maintained by the Modelica Association.

The Real output y is a sine signal:

Sine.png

Parameters (5)

offset

Value: 0

Type: Real

Description: Offset of output signal y

startTime

Value: 0

Type: Time (s)

Description: Output y = offset for time < startTime

amplitude

Value: 1

Type: Real

Description: Amplitude of sine wave

freqHz

Value:

Type: Frequency (Hz)

Description: Frequency of sine wave

phase

Value: 0

Type: Angle (rad)

Description: Phase of sine wave

Connectors (1)

y

Type: RealOutput

Description: Connector of Real output signal

Used in Examples (33)

InverseModel

Modelica.Blocks.Examples

Demonstrates the construction of an inverse model

RealNetwork1

Modelica.Blocks.Examples

Demonstrates the usage of blocks from Modelica.Blocks.Math

IntegerNetwork1

Modelica.Blocks.Examples

Demonstrates the usage of blocks from Modelica.Blocks.MathInteger

BusUsage

Modelica.Blocks.Examples

Demonstrates the usage of a signal bus

GenerationOfFMUs

Modelica.Electrical.Analog.Examples

Example to demonstrate variants to generate FMUs (Functional Mock-up Units)

MultiPhaseTwoLevel_R

Modelica.Electrical.PowerConverters.Examples.DCAC.MultiPhaseTwoLevel

Multi phase DC to AC converter with R load

MultiPhaseTwoLevel_RL

Modelica.Electrical.PowerConverters.Examples.DCAC.MultiPhaseTwoLevel

Multi phase DC to AC converter with R-L load

ThreePhaseTwoLevel_PWM

Modelica.Electrical.PowerConverters.Examples.DCAC.MultiPhaseTwoLevel

Test of pulse width modulation methods

RollingWheelSetDriving

Modelica.Mechanics.MultiBody.Examples.Elementary

Rolling wheel set that is driven by torques driving the wheels

Surfaces

Modelica.Mechanics.MultiBody.Examples.Elementary

Demonstrate the visualization of a sine surface, as well as a torus and a wheel constructed from a surface

PlanarLoops_analytic

Modelica.Mechanics.MultiBody.Examples.Loops

Mechanism with three planar kinematic loops and one degree-of-freedom with analytic loop handling (with JointRRR joints)

ActuatedDrive

Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects

Demonstrates usage of models Rotor1D and Mounting1D

MovingActuatedDrive

Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects

Demonstrates usage of model Rotor1D mounted on a moving body

GearConstraint

Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects

Demonstrate usage of GearConstraint model

BevelGear1D

Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects

Demonstrates the usage of a BevelGear1D model and how to calculate the power of such an element

First

Modelica.Mechanics.Rotational.Examples

First example: simple drive train

FirstGrounded

Modelica.Mechanics.Rotational.Examples

First example: simple drive train with grounded elements

Friction

Modelica.Mechanics.Rotational.Examples

Drive train with clutch and brake

CoupledClutches

Modelica.Mechanics.Rotational.Examples

Drive train with 3 dynamically coupled clutches

LossyGearDemo1

Modelica.Mechanics.Rotational.Examples

Example to show that gear efficiency may lead to stuck motion

LossyGearDemo2

Modelica.Mechanics.Rotational.Examples

Example to show combination of LossyGear and BearingFriction

HeatLosses

Modelica.Mechanics.Rotational.Examples

Demonstrate the modeling of heat losses

GenerationOfFMUs

Modelica.Mechanics.Rotational.Examples

Example to demonstrate variants to generate FMUs (Functional Mock-up Units)

OneWayClutch

Modelica.Mechanics.Rotational.Examples

Drive train with actively engaged one-way clutch

OneWayClutchDisengaged

Modelica.Mechanics.Rotational.Examples

Drive train with disengaged one-way clutch

Oscillator

Modelica.Mechanics.Translational.Examples

Oscillator demonstrates the use of initial conditions

Sensors

Modelica.Mechanics.Translational.Examples

Sensors for translational systems

Friction

Modelica.Mechanics.Translational.Examples

Use of model Stop

PreLoad

Modelica.Mechanics.Translational.Examples

Preload of a spool using ElastoGap models

HeatLosses

Modelica.Mechanics.Translational.Examples

Demonstrate the modeling of heat losses

GenerationOfFMUs

Modelica.Mechanics.Translational.Examples

Example to demonstrate variants to generate FMUs (Functional Mock-up Units)

MeasuringTemperature

Modelica.Fluid.Examples.Explanatory

Differences between using one port with and without explicit junction model and two port sensors for fluid temperature measuring

GenerationOfFMUs

Modelica.Thermal.HeatTransfer.Examples

Example to demonstrate variants to generate FMUs (Functional Mock-up Units)

Used in Components (2)

Harmonic

Modelica.Blocks.Math

Calculate harmonic over period 1/f

SinglePhaseTwoLevel

Modelica.Electrical.PowerConverters.Examples.DCAC.ExampleTemplates

Single phase two level inverter including control