Understanding Class Base.Source

Class Base.Source


This component supplies chemical mixture of constant concentration. It has unlimited supply to the connected output pipe.

Class Usage

A source can be connected with exactly one output pipe.

Class Attributes

Class Functions

Class Base.Source.Variable


This class is derived from Class Base.Source. It supplies chemical mixture with a variable concentration according to a transient function.

Class Usage

Similar to Class Base.Source, it can be connected with exactly one output pipe. The user need to supply the Initial Concentration and the Steady State Concentration at which the concentration will level off. The transient function implements a simple (exponential) lag for a first-order step response.

Class Attributes

Class Functions


The time constant here is hard-wired with the value set to 1 minute. You may want to change the code to make it an input attribute to be set by the user.


Welcome to the Mixer Example Using Class Base.Container.Sink Using Class Link.Pipe

Mixer Example for SansGUI Version 1.0

Copyright 2001-2003 ProtoDesign, Inc. All rights reserved.