.ModelicaDEVS.FunctionBlocks.Sin

Information

The Sin Block

Parameters:
g gain value


Description:

The Sin block belongs to the group of unary operator blocks. It computes the sine value of an input signal: y=sin(u).

Unary operator blocks are very simple in their structure: they only take one input, apply a function and pass the result to the next block. Their internal and external transition merely consist of setting sigma to infinity or zero respectively.
Given that these blocks only depend on external events and lack a proper internal transition (it simply consists of setting the value of sigma to infinity), their behaviour could be described by a single when-statement that would become active when dext becomes true. But this a) would not correspond to the DEVS formalism, which defines both an external and an internal transition, and b) could cause algebraic loops when connected in a cycle with a Comparator block.
Generated at 2024-11-20T19:25:51Z by OpenModelicaOpenModelica 1.24.2 using GenerateDoc.mos