About this program:
(developed using JDK 1.0.2)Solar masking calculator for Building Analysis.
This Calulator for building analysis would help to figure out, how much sun is
entering through
an opening in a window at a particular time, on a particular location on earth.
The area which is masked as black in the graph depicts the sun position of the sun for
which light
would not directly enter the building/room.
| The user is required to provide the following input: |
| Month |
| Day |
| Hour |
| Latitude, of the location on earth. |
| East fin of the window. |
| West fin of the window. |
| Opening of the window. |
| Overhang of the window. |
| Prgram will generate the following output: ............. |
| Altitude |
| Azimuth |
| Julian day |
| Declination angle |
| Hour angle |
| Sunrise time |
| Sunset time |
For Viewing the graph the user has the following
options
Relevent Technical Information:
For the program code or more information contact
Vagish Narang
Visit my web site for more applets http://www.nbyte.com/~vnarang/new
Visit Java Ratings www.jars.com
Below is the code for the initial starting applet.
import java.awt.*;
import java.applet.*;
public class Applet2 extends Applet {
void button1_Clicked(Event event) {
(new Frame1()).show();
}
public void init() {
super.init();
//{{INIT_CONTROLS
setLayout(null);
addNotify();
resize(150,50);
button1 = new java.awt.Button("Start the mask");
button1.reshape(30,20,112,25);
add(button1);
//}}
}
public boolean handleEvent(Event event) {
if (event.target == button1 && event.id == Event.ACTION_EVENT) {
button1_Clicked(event);
return true;
}
return super.handleEvent(event);
}
//{{DECLARE_CONTROLS
java.awt.Button button1;
//}}
}
Contact with comments,
corrections or suggestions. This page and its contents are Copyright © 1998 Vagish
Narang, Inc. All rights reserved. Unauthorized redistribution prohibited. Please see legal
information page for further details.