permacomputing

Source repository for the main permacomputing wiki site
git clone http://git.permacomputing.net/repos/permacomputing.git # read-only access
Log | Files | Refs

Basics_of_programming_permacomputing_systems.mdwn (2232B)


      1 ##Basics of programming permacomputing systems
      2 
      3 ###1. Variables
      4 
      5 * **Energy**
      6 * **Air Humidity**
      7 * **Soil Humidity**
      8 * **Light**
      9 * **Temperature**
     10 
     11 
     12 ###2. Functions
     13 
     14 **Water()** 
     15 
     16 Bring water to plants or to animals
     17 
     18 **Sleep()**
     19 
     20 One of the most important functions, limiting the computing energy resources needed
     21 
     22 
     23 ###3. Conditions
     24 
     25 IF Temperature Water();
     26 
     27 IF ! Light Sleep();
     28 
     29 multiple conditions:
     30 
     31 IF ! Soil humidity and Temperature Water();
     32 
     33 
     34 
     35 ###4. Loops
     36 
     37 Performing the activity in permanent cycle. It is always related to affected environment.
     38 
     39                                                          \o       vo  |    \o   _/o
     40                                                           o__O   /    o    o\_/Oo
     41                                                             o\o  \    \     _/o
     42                       _                                       V \/o    V  _/     __O
     43                      /                                       oo\_\_    ! /    _ /o
     44               Y     || D                                            \  |  __ /oo
     45               |      \\__                                             \ | /
     46              _|______//__                                              ||
     47              |          |                                               ||
     48              | U(q+)[.] |                                             ||||
     49              |__________|++                               ~ ~ ~ ~
     50                         /  \_______________> ~      ~ ~ ~   ~ ~ ~               \/   \/   
     51     >__________________/
     52                                                             ~ ~ ~ ~ ~   ~ ~                                   
     53 
     54 
     55     SBC with LTE antenna and camera watering a plant and photographing her.
     56 
     57 
     58 
     59 ####4.1 Loop balancing
     60 
     61 Loop EMFs:
     62 
     63 **EMF(comp)** - Energy and mineral flow of whole lifecycle of a permacomputing device.
     64 
     65 **EMF(org)** - Energy and mineral flow in biological organisms affected in environment.
     66 
     67 
     68     EMF(comp) <= EMF(org)
     69 
     70 In this basic balancing equation we can see how important are Sleep() and Water() functions and overall connection to environment. Without positive EMF in organisms, there is a negative bias of computing system.
     71 
     72 Optimizing EMF(comp):
     73 
     74 IF ! Light Sleep();
     75 
     76 
     77 
     78 
     79 
     80 
     81   
     82 
     83 
     84 
     85