Component Guide I: Atomic Components

From Numerus
Revision as of 18:33, 12 March 2018 by Rsalter (talk | contribs) (Created page with "=Overview= Nova models are constructed out of ''components'', which are visual tokens that are placed on the Model Canvas. ...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

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 Sequence, Local Variable, DataInput, DataOutput, and Command
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.
Controls and Displays
These include Table, Graph, Slider and Spinner. They appear in the Dashboard and as stubs in the Model Canvas.
Special
These are special purpose components consisting of Code Chip and Label.
Plugins
These are extensions to the component set and have various functions. They appear in the Dashboard and as stubs in the Model Canvas.

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.