Personal tools

Difference between revisions of "Direct models"

From PhotoVoltaic Logger new generation

Jump to: navigation, search
(Created page with "== Direct models == === Counter === A counter stores impulses from sensors, for example S0 impulses from watt meters. The real data will be calculated during readout by the...")
(No difference)

Revision as of 22:25, 1 March 2014

Direct models

Counter

A counter stores impulses from sensors, for example S0 impulses from watt meters.

The real data will be calculated during readout by the time difference between the readings and the defined resolution.

It can handle both types of stored data:

  • Store realtime data (every tick) as value 1
  • Store accumulated tick counts, e.g. accumulated for a minute

Meter

A meter channel stores always increasing measuring data, so every reading must be greater or equal as the last reading.

Meter channels can have an auto adjust flag set.

This is used for sensor equipments, which resets their internal counter for example at power loss.

If a meter channel is flagged as auto adjust, the following will happen

  • If the actual reading is lower than last reading, the offset value will set to the last reading
  • The actual reading will be stored as offset + value as for any other channel with offset.

Sensor

A sensor is the most generic model for universal use, it stores any value as is.

Switcher

A switcher model will store actual reading only, if the actual value is different from the last stored reading.

Switching sensors are for example an inverter state or valve state.

The predefined weather condition channels (storing "sunny", "cloudy" etc.) are also based on this model.