Difference between revisions of "Component Guide I: Atomic Components"

From Numerus
Jump to navigation Jump to search
(Created page with "=Overview= Nova models are constructed out of ''components'', which are visual tokens that are placed on the Model Canvas. ...")
 
Line 15: Line 15:


==Component Types==
==Component Types==
;Atomic Components:Tranditional systems dynamic components Stock, Flow, Term (called converters in Stella); along with Sequence, Local Variable, DataInput, DataOutput, and Command
;Atomic Components:Tranditional systems dynamic components Stock, Flow, Term (called converters in Stella); along with Sequences, Stock+Flow, Command and Event.
;Containers:Nova containers consist of Chips and aggregators; the latter hold multiple instances of one or more Capsule types. (Capsules, also called submodels are described here.) Each aggregator type implements a different topology for its elements. The aggregator components are AgentVector, CellMatrix, NodeNetwork, SimWorld and NetWorld.
;Containers:Nova containers consist of Chips and 5 types of aggregators; a chip holds a single instance of capsule used as a submodel while aggregators hold multiple instances of one or more capsule, possibly of different types. Each aggregator type implements a different topology for its elements. The aggregator components are AgentVector, CellMatrix, NodeNetwork, SimWorld and NetWorld.
;Controls and Displays:These include Table, Graph, Slider and Spinner. They appear in the Dashboard and as stubs in the Model Canvas.
;Controls and Displays:These include Table, Linechart, Scatterchart, Barchart, Histogram, Slider, Spinner and Toggle.
;Special:These are special purpose components consisting of Code Chip and Label.
;Special:These are special purpose components consisting of Code Chip and Comment.
;Plugins:These are extensions to the component set and have various functions. They appear in the Dashboard and as stubs in the Model Canvas.
;Plugins:These are extensions to the component set and have various functions.


==Component Properties==
==Component Properties==
Each component has an associated properties window that provides the means for programming the component (and in some cases specifying connections.) The Properties Window is opened by right-clicking along the edge of the component. Components appearing in the Dashboard, with stubs in the Model Canvas (i.e., controls, displays and plugins), may open a different Properties Window depending on which is clicked. Properties Windows allow you to define the value represented by a component, set pin connections, determine what is displayed (in the case of Graphs and Tables), calibrate (in the case of Sliders and Spinners) and set any other property required by the component.
Each component has an associated properties window that provides the means for programming the component (and in some cases specifying connections.) The Properties Window is opened by right-clicking along the edge of the component. Components appearing in the Dashboard, with stubs in the Model Canvas (i.e., controls, displays and plugins), may open a different Properties Window depending on which is clicked. Properties Windows allow you to define the value represented by a component, set pin connections, determine what is displayed (in the case of Graphs and Tables), calibrate (in the case of Sliders and Spinners) and set any other property required by the component.

Revision as of 18:39, 12 March 2018

Overview

Nova models are constructed out of components, which are visual tokens that are placed on the Model Canvas.

To place a component on the model canvas:

  • Click the desired component on the component pallet; components are identified by their icons and tool tips that appear when the mouse hovers over a component.
  • Click on the model canvas at the location chosen for this component; do not drag the component from the component pallet.
  • When prompted, provide a component name (a default name will be provided if you choose not to provide one).

A new component requires two actions to integrate it into the model:

  • Connections must be made to components with which this component will interact; and
  • The new component must be programmed; in the simplest case, this involves providing a component equation that defines the value represented by this component. Specific programming tasks for each component type will be described below.

Component Types

Atomic Components
Tranditional systems dynamic components Stock, Flow, Term (called converters in Stella); along with Sequences, Stock+Flow, Command and Event.
Containers
Nova containers consist of Chips and 5 types of aggregators; a chip holds a single instance of capsule used as a submodel while aggregators hold multiple instances of one or more capsule, possibly of different types. Each aggregator type implements a different topology for its elements. The aggregator components are AgentVector, CellMatrix, NodeNetwork, SimWorld and NetWorld.
Controls and Displays
These include Table, Linechart, Scatterchart, Barchart, Histogram, Slider, Spinner and Toggle.
Special
These are special purpose components consisting of Code Chip and Comment.
Plugins
These are extensions to the component set and have various functions.

Component Properties

Each component has an associated properties window that provides the means for programming the component (and in some cases specifying connections.) The Properties Window is opened by right-clicking along the edge of the component. Components appearing in the Dashboard, with stubs in the Model Canvas (i.e., controls, displays and plugins), may open a different Properties Window depending on which is clicked. Properties Windows allow you to define the value represented by a component, set pin connections, determine what is displayed (in the case of Graphs and Tables), calibrate (in the case of Sliders and Spinners) and set any other property required by the component.