Models Illustrating the Use of DLLs & Scripts
All the models assigned to the selected category are listed below.
You can filter the list by entering keywords or phrases into the search field:

The purpose of this model is to allow an arbitrary cumulative or discrete distribution to be specified by entering values and probabilities in a Dashboard.

This model shows an implementation of the classic game Mastermind

This example model shows how to use an External Element to call a DLL (compiled in Fortran) to perform calculations outside of GoldSim.

This example shows how a Script Element can be used to implement the state logic for a Game of Life simulation

This model file shows several Script Element examples that illustrate the various capabilities and features of Script Elements.

Use a Script element to replace the Splitter element for vector input types

Use a Script element to replace the Allocator element for vector input types

Calculate Normalized, Simulating Running Time

How to use the External element to link GoldSim and Python

How to statically link GSL to GoldSim with the External element

Generally applicable, dynamic convolution with the External element

Example of compiling a mixed language DLL for use with the GoldSim External Element

This example shows how to define and sample vector discrete and cumulative distributions using (1) a vector uniform 01 stochastic to sample probability levels and (2) a script element to get the corresponding values.

This model compares the bisection and secant methods for finding roots of 2nd order polynomials (i.e. of the form C1*x^2 + C2*x + C3).

The purpose of this model is to demonstrate how GoldSim can calculate hydraulic functions dynamically.

A script element is used to solve for pumping flow as a function of the total dynamic head on the pump due to headloss.

Reusable model providing a modified Muskingum hydrologic routing formulation

This model simulates ships entering the harbor where each ship carries a random number of containers.
Making
Better Decisions
In An
Uncertain World