<?xml version="1.0" encoding="UTF-8"?>
<!-- generator="Tiki CMS/Groupware via FeedCreator 1.7.2.1" -->
<?xml-stylesheet href="http://www.green-life-innovators.org/lib/rss/rss-style.css" type="text/css"?>
<?xml-stylesheet href="http://www.green-life-innovators.org/lib/rss/rss20.xsl" type="text/xsl"?>
<rss version="2.0">
    <channel>
        <title>Wiki</title>
        <description><![CDATA[Siki]]></description>
        <link>http://www.green-life-innovators.org/tiki-wiki_rss.php?ver=2</link>
        <lastBuildDate>Tue, 07 Sep 2010 15:58:42 +0100</lastBuildDate>
        <generator>Tiki CMS/Groupware via FeedCreator 1.7.2.1</generator>
        <image>
            <url>http://www.green-life-innovators.org/img/tiki.jpg</url>
            <title>Green Life Innovators - &quot;Green Tech the open source way&quot;</title>
            <link>http://www.green-life-innovators.org/tiki-index.php</link>
            <description><![CDATA[Feed provided by Green Life Innovators - "Green Tech the open source way". Click to visit.]]></description>
        </image>
        <language>en-us</language>
        <item>
            <title>SunAlign generic basic version</title>
            <link>http://www.green-life-innovators.org/tiki-index.php?page=SunAlign+generic+basic+version</link>
            <description><![CDATA[<style TYPE="text/css"> .diffchar { color:red; } </style>+ 100 REM <a title="SunAlign" href="tiki-index.php?page=SunAlign" class="wiki">SunAlign</a>.BAS (Generic BASIC version)<br />+ <br />+ 110 REM Calculates position of sun in sky, as azimuth (compass bearing<br />+ 120 REM measured clockwise from True North) and angle of elevation, as<br />+ 130 REM seen from any place on earth, on any date and any time.<br />+ 140 REM Also calculates alignment of a heliostat mirror.<br />+ <br />+ 150 REM David Williams<br />+ 160 REM P.O. Box 48512<br />+ 170 REM 3605 Lakeshore Blvd. West<br />+ 180 REM Toronto, Ontario. M8W 4Y6<br />+ 190 REM Canada<br />+ <br />+ 200 REM Original date 2007 Jul 07. This version 2007 Oct 07<br />+ <br />+ 210 REM Note: For brevity, no error checks on user inputs<br />+ <br />+ 220 CLS<br />+ 230 PRINT &quot;Use negative numbers for opposite directions.&quot;<br />+ 240 INPUT &quot;Observer's latitude (degrees North)&quot;; LT<br />+ 250 INPUT &quot;Observer's longitude (degrees East)&quot;; LG<br />+ 260 INPUT &quot;Date (M#,D#)&quot;; Mth, Day<br />+ 270 INPUT &quot;Time (HH,MM) (24-hr format)&quot;; HR, MIN<br />+ 280 INPUT &quot;Time Zone (+/- hours from GMT/UT)&quot;; TZN<br />+ <br />+ 290 PY = 4 * ATN(1): REM &quot;PI&quot; not assignable in some BASICs<br />+ 300 DR = 180 / PY: REM degree/radian factor<br />+ 310 W = 2 * PY / 365: REM earth's mean orbital speed in radians/day<br />+ 320 C = -23.45 / DR: REM reverse angle of axial tilt in radians<br />+ 330 ST = SIN(C): REM sine of reverse tilt<br />+ 340 CT = COS(C): REM cosine of reverse tilt<br />+ 350 E2 = 2 * .0167: REM twice earth's orbital eccentricity<br />+ 360 SP = 12 * W: REM 12 days from December solstice to perihelion<br />+ <br />+ 370 D = INT(30.6 * ((Mth + 9) MOD 12) + 58.5 + Day) MOD 365<br />+ 380 A = W * (D + 10): REM Solstice 10 days before Jan 1<br />+ 390 B = A + E2 * SIN(A - SP)<br />+ <br />+ 400 C = (A - ATN(TAN(B) / CT)) / PY<br />+ 410 ET = 720 * (C - INT(C + .5)): REM equation of time<br />+ 420 REM in 720 minutes, earth rotates PI radians relative to sun<br />+ <br />+ 430 C = ST * COS(B)<br />+ 440 EL = ATN(C / SQR(1 - C * C)) * DR: REM solar declination<br />+ <br />+ 450 AZ = 15 * (HR - TZN) + (MIN + ET) / 4 + LG: REM longitude diff<br />+ 460 GOSUB 800<br />+ 470 R = SQR(Y * Y + Z * Z)<br />+ 480 AX = Y: AY = Z: GOSUB 710<br />+ 490 A = AA + (90 - LT) / DR<br />+ 500 Y = R * COS(A)<br />+ 510 Z = R * SIN(A)<br />+ 520 GOSUB 740<br />+ <br />+ 530 PRINT : REM AZ &amp; EL are now sun's azimuth &amp; elevation in degrees<br />+ 540 IF EL &lt; 0 THEN PRINT &quot;Sun Below Horizon&quot;: END<br />+ 550 R = AZ: GOSUB 870: PRINT &quot;Sun's azimuth: &quot;; R; &quot; degrees&quot;<br />+ 560 R = EL: GOSUB 870: PRINT &quot;Sun's elevation: &quot;; R; &quot; degrees&quot;<br />+ <br />+ 570 PRINT<br />+ 580 INPUT &quot;Calculate heliostat mirror alignment (y/n)&quot;; K$<br />+ 590 IF K$ = &quot;N&quot; OR K$ = &quot;n&quot; THEN END<br />+ <br />+ 600 SX = X: SY = Y: SZ = Z<br />+ <br />+ 610 PRINT<br />+ 620 INPUT &quot;Azimuth of target direction (degrees)&quot;; AZ<br />+ 630 INPUT &quot;Elevation of target direction (degrees)&quot;; EL<br />+ 640 GOSUB 800<br />+ 650 X = X + SX: Y = Y + SY: Z = Z + SZ: GOSUB 740<br />+ <br />+ 660 PRINT : REM AZ &amp; EL are now aim azimuth &amp; elevation in degrees<br />+ 670 PRINT &quot;Mirror aim direction (perpendicular to surface):&quot;<br />+ 680 R = AZ: GOSUB 870: PRINT &quot;Azimuth: &quot;; R; &quot; degrees&quot;<br />+ 690 R = EL: GOSUB 870: PRINT &quot;Elevation: &quot;; R; &quot; degrees&quot;<br />+ <br />+ 700 END<br />+ <br />+ 710 IF AX = 0 THEN AA = SGN(AY) * PY / 2: RETURN<br />+ 720 AA = ATN(AY / AX): IF AX &lt; 0 THEN AA = AA + PY<br />+ 730 RETURN<br />+ <br />+ 740 AX = SQR(X * X + Y * Y): AY = Z: GOSUB 710<br />+ 750 EL = AA * DR<br />+ 760 AX = Y: AY = X: GOSUB 710<br />+ 770 AZ = AA * DR<br />+ 780 IF AZ &lt; 180 THEN AZ = AZ + 180 ELSE AZ = AZ - 180<br />+ 790 RETURN<br />+ <br />+ 800 E = EL / DR<br />+ 810 A = AZ / DR<br />+ 820 Z = SIN(E)<br />+ 830 C = 0 - COS(E): REM Won't work without &quot;0&quot; in Liberty Basic<br />+ 840 X = C * SIN(A)<br />+ 850 Y = C * COS(A)<br />+ 860 RETURN<br />+ <br />+ 870 R = INT(10 * R + .5): IF R = 3600 THEN R = 0<br />+ 880 R = R / 10<br />+ 890 RETURN<br />+ <br />]]></description>
            <author>Vidar Kristiansen</author>
            <pubDate>Wed, 21 Jul 2010 17:27:37 +0100</pubDate>
        </item>
        <item>
            <title>Sunalign</title>
            <link>http://www.green-life-innovators.org/tiki-index.php?page=Sunalign</link>
            <description><![CDATA[<style TYPE="text/css"> .diffchar { color:red; } </style>+ <br />+ <a title="SunAlign generic basic version" href='tiki-index.php?page=SunAlign+generic+basic+version' class='wiki'>SunAlign generic basic version</a><br />- <br />+ <span class="diffchar"><a class="wiki external" target="_blank" href="http://www.appropedia.org/Heliostats" rel="external">Article on heliostats on appropedia.org</a><img border="0" class="externallink" src="img/icons/external_link.gif" alt=" (external link)" /></span><br />]]></description>
            <author>Vidar Kristiansen</author>
            <pubDate>Wed, 21 Jul 2010 17:25:48 +0100</pubDate>
        </item>
        <item>
            <title>Ecovillage in the Philippines</title>
            <link>http://www.green-life-innovators.org/tiki-index.php?page=Ecovillage+in+the+Philippines</link>
            <description><![CDATA[<style TYPE="text/css"> .diffchar { color:red; } </style>+ <p>Please visit <a class="wiki"  href="http://www.green-life-innovators.org/tiki-view_forum.php?forumId=39" rel="">the  project's disussion forum</a> to debate the different issues.</p><br />]]></description>
            <author>Vidar Kristiansen</author>
            <pubDate>Mon, 19 Jul 2010 09:16:35 +0100</pubDate>
        </item>
        <item>
            <title>Landscaping</title>
            <link>http://www.green-life-innovators.org/tiki-index.php?page=Landscaping</link>
            <description><![CDATA[<style TYPE="text/css"> .diffchar { color:red; } </style>+ <p>--</p><br />]]></description>
            <author>Vidar Kristiansen</author>
            <pubDate>Sun, 18 Jul 2010 16:29:41 +0100</pubDate>
        </item>
        <item>
            <title>Building village houses</title>
            <link>http://www.green-life-innovators.org/tiki-index.php?page=Building+village+houses</link>
            <description><![CDATA[<style TYPE="text/css"> .diffchar { color:red; } </style>+ <p>--</p><br />]]></description>
            <author>Vidar Kristiansen</author>
            <pubDate>Sun, 18 Jul 2010 16:29:09 +0100</pubDate>
        </item>
        <item>
            <title>Recyling</title>
            <link>http://www.green-life-innovators.org/tiki-index.php?page=Recyling</link>
            <description><![CDATA[<style TYPE="text/css"> .diffchar { color:red; } </style>+ <p>--</p><br />]]></description>
            <author>Vidar Kristiansen</author>
            <pubDate>Sun, 18 Jul 2010 16:28:32 +0100</pubDate>
        </item>
        <item>
            <title>Food supply</title>
            <link>http://www.green-life-innovators.org/tiki-index.php?page=Food+supply</link>
            <description><![CDATA[<style TYPE="text/css"> .diffchar { color:red; } </style>+ <p>--</p><br />]]></description>
            <author>Vidar Kristiansen</author>
            <pubDate>Sun, 18 Jul 2010 16:27:49 +0100</pubDate>
        </item>
        <item>
            <title>Energy to the village</title>
            <link>http://www.green-life-innovators.org/tiki-index.php?page=Energy+to+the+village</link>
            <description><![CDATA[<style TYPE="text/css"> .diffchar { color:red; } </style>+ <p>--</p><br />]]></description>
            <author>Vidar Kristiansen</author>
            <pubDate>Sun, 18 Jul 2010 16:27:21 +0100</pubDate>
        </item>
        <item>
            <title>Wastewater treatment</title>
            <link>http://www.green-life-innovators.org/tiki-index.php?page=Wastewater+treatment</link>
            <description><![CDATA[<style TYPE="text/css"> .diffchar { color:red; } </style>+ <p>--</p><br />]]></description>
            <author>Vidar Kristiansen</author>
            <pubDate>Sun, 18 Jul 2010 16:26:44 +0100</pubDate>
        </item>
        <item>
            <title>Irrigation</title>
            <link>http://www.green-life-innovators.org/tiki-index.php?page=Irrigation</link>
            <description><![CDATA[<style TYPE="text/css"> .diffchar { color:red; } </style>+ <p>--</p><br />]]></description>
            <author>Vidar Kristiansen</author>
            <pubDate>Sun, 18 Jul 2010 16:25:44 +0100</pubDate>
        </item>
    </channel>
</rss>
