Overview of Function Elements

Function elements are elements that manipulate and transform information or material. At any point in time in a simulation, the outputs of these elements are computed based on the current values of their inputs.

 

Element

Default Symbol

Browser Icon

Function

Expression

Expression

Expression16

Defines mathematical or logical expressions.

Script

Script

Script16

Allows you to create your own custom element using a simple procedural language.

Previous Value

PreviousValue

PreviousValue16

Returns the value of its input from the previous model update.

Extrema

Extrema Peak

Extrema Peak16

Computes the highest (peak) or lowest (valley) value achieved by its input.

Selector

Selector

Selector16

Defines expressions with nested if…then logic.

Splitter

Splitter

Splitter16

Splits an incoming signal into multiple outputs based on specified fractions.

Allocator

Allocator

Allocator16

Allocates an incoming signal into multiple outputs given specified demands and priorities.

Sum

SUM

Sum16

Facilitates the addition of multiple values.

Convolution

convolution

Convolution16

Solves a convolution integral.

Logic Tree

Allows complex logic to be defined in terms of a logic tree consisting of various gate nodes (e.g., AND, OR) and conditions.

And

and2

And16

Combines multiple conditions using logical AND.

Or

or2

Or16

Combines multiple conditions using logical OR.

Not

not

Not16

Logical NOT.

A special category of function elements can be used to link GoldSim to external applications:

 

Element

Default Symbol

Browser Icon

Function

External (DLL)

ExtElement

External16

Dynamically links to a user-specified external function (compiled as a DLL).

Spreadsheet

spreadsheet

Spreadsheet16

Dynamically links to an Excel spreadsheet.

File

FileElement

File16

Dynamically copies a file to a specified directory (for use by External elements).

Related Topics…

Learn more about: