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 |
|
|
Defines mathematical or logical expressions. |
| Script |
|
|
Allows you to create your own custom element using a simple procedural language. |
| Previous Value |
|
|
Returns the value of its input from the previous model update. |
| Extrema |
|
|
Computes the highest (peak) or lowest (valley) value achieved by its input. |
| Selector |
|
|
Defines expressions with nested if...then logic. |
| Splitter |
|
|
Splits an incoming signal into multiple outputs based on specified fractions. |
| Allocator |
|
|
Allocates an incoming signal into multiple outputs given specified demands and priorities. |
| Controller |
|
|
Simulates feedback control systems in which a process variable is adjusted towards a target. |
| Sum |
|
|
Facilitates the addition of multiple values. |
| Convolution |
|
|
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 |
|
|
Combines multiple conditions using logical AND. |
| Or |
|
|
Combines multiple conditions using logical OR. |
| Not |
|
|
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) |
|
|
Dynamically links to a user-specified external function (compiled as a DLL). |
| Spreadsheet |
|
|
Dynamically links to an Excel spreadsheet. |
| File |
|
|
Dynamically copies a file to a specified directory (for use by External elements). |