.ModelicaDEVS.FunctionBlocks.Inverse

Information

The Inverse Block

Parameters:
none


Description:

The Inverse block belongs to the group of unary operator blocks. It calculates the inverse value of an input value: y=u^(-1).

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