The logic » History » Version 6

Version 5 (David Božjak, 13.12.2010 16:36) → Version 6/22 (David Božjak, 13.12.2010 16:49)

h1. The logic

{{toc}}

h2. Basic concept

System Eneratptor is designed to take predefined actions in response to events in the surrounding world. The logic system is designed to be easily calibrated and managed. In addition to its predefined logic it allows the human administrator (through HMI) to reverse any automated or scripted decision and to execute any of the predefined actions, thus allowing the operator to tweak the system according to her best judgement.

!Logika.jpg!

The logic of the system consists of the following concepts:
* Device driver
* Mailbox
* Decision making software
* Predefined action list
* Action
* [[Human Control Interface]]

The basic idea behind this design is modularity. Eneraptor supports any device and can execute any action as long as the driver follows our standard.

h2. Concepts described in detail

h3. Device driver

Device driver is basically a program. The eneratptor system doesn't know anything about it, the only crucial part is the driver-mailbox communication through witch data is supplied. More about date in the _message specification_. The device driver has to know how to reach the mailbox and how to correctly format the message. The device driver does not receive any confirmation from the message recipient.

This driver is not necessarily the same software which is supplied by the manufacturer, it is only a program that communicates with the eneratpr Mailbox.

h3. Mailbox

Mailbox is a bridge between the device drivers and the decision making software. It is a buffer of messages that the decision making software can read at its own pace.


h3. Decision making software

h3. Predefined action list

h3. Action