blockSawTooth

Generate saw tooth signal, with shift option and with infinite number of periods
Diagram of SawTooth

Extends from Modelica.Blocks.Interfaces.SO (Single Output continuous control block), TransiEnt.Basics.Icons.Block.

Information

1. Purpose of model

Creates a sawtooth signal based on the MSL SawTooth model but adds a starttime and an offset such that y = offset for time < starttime.

2. Level of detail, physical effects considered, and physical insight

(Purely technical component without physical modeling.)

3. Limits of validity

(Purely technical component without physical modeling.)

4. Interfaces

(no remarks)

5. Nomenclature

(no elements)

6. Governing Equations

(no equations)

7. Remarks for Usage

(no remarks)

8. Validation

(no remarks)

9. References

(no remarks)

10. Version History

Model created by Pascal Dubucq (dubucq@tuhh.de) on Mon Aug 18 2014

Model revised (code conventions and documentation ) by Pascal Dubucq (dubucq@tuhh.de) on 21.04.2017

Parameters

TypeNameDefaultDescription
Realamplitude1Amplitude of saw tooth
SI.TimeperiodTime for one period
Integernperiod-1Number of periods (< 0 means infinite number of periods)
Realoffset0Offset of output signals
SI.TimestartTime0Output = offset for time < startTime

Connectors

TypeNameDefaultDescription
RealOutputy (from SO)Connector of Real output signal

Components

TypeNameDefaultDescription
SI.TimeT_startStart time of current period
IntegercountPeriod count