blockSawTooth
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
| Type | Name | Default | Description |
|---|---|---|---|
| Real | amplitude | 1 | Amplitude of saw tooth |
| SI.Time | period | Time for one period | |
| Integer | nperiod | -1 | Number of periods (< 0 means infinite number of periods) |
| Real | offset | 0 | Offset of output signals |
| SI.Time | startTime | 0 | Output = offset for time < startTime |
Connectors
| Type | Name | Default | Description |
|---|---|---|---|
| RealOutput | y (from SO) | Connector of Real output signal |
Components
| Type | Name | Default | Description |
|---|---|---|---|
| SI.Time | T_start | Start time of current period | |
| Integer | count | Period count |