Saturday, December 3, 2011

ARCH 653 Final Project - Sukjoon Oh

1. Introduction

Ø The previous model of project 1 was used to utilize Revit API to pass parameters between the project and the families.
Ø The parametric model was made to change the angles of the PV (Photovoltaic) panels on the roof.
Ø What is API? What did I do for this project?
          API stands for Application Programming Interface. In the case of the Revit, programmers like me can make the application using a C# language. I used a Microsoft Visual C# 2010 Express for developing C# code.
           Revit Core Software can accept the application which programmers make by the Revit API. Then, programmers can make various applications such as parametric modeling. A diagram of the contents explained above is as followings.  
(Autodesk, 2011)
 






2. Parametric Modeling Process by using Revit API
  2.1. Made weather data model
Ø  Got weather data of Copenhagen, Denmark where my building is. It is from an EnergyPlus weather format (.epw) on the U.S. DOE website
(U.S. DOE, 2011)
Ø  Used a weather manager program of an Autodesk Ecotect with the EnergyPlus weather format
Ø  Used the Autodesk Ecotect based on the weather manager program to see altitude and azimuth of the sun in Copenhagen, Denmark
2.2. Studied the inclination of the PV panels on the roof
      Ø  Got the equations from the website 

(Solar Collectors and Photovoltaic in energyPro, 2011)
**Need to modify the equations for a correct angle
 
Assumptions : 1. Orientation of PV panels is south 2. The orientation of each PV panel doesn't affect the inclination of the PV panels from horizontal.
Ø  Understood these equations in order to apply them to the PV panels on the roof (see below section 2.3.)

2.3. Made database based on above studies by using a CSV file
Ø  Set the first row as a time line and the first column as names of the angle and date (June 4th)
Ø  The blue line is for the inclination of the Blue PV panels (on the right side of the roof). The green line is for the inclination of Green PV panels (on the left side of the roof).
(figure 2.3.1.)

Ø  The right side of the roof : Got the optimized angle (named as angle3, angle3 values are on the “Blue PV : Jun 4th” row like above figure 2.3.1.) for facing the sun
The optimized angle = angle3 = the inclination of the Blue PV from horizontal – the inclination of the roof (a1)
 
Ø  The left side of the roof : Got the optimized angle (named as angle3, angle3 values are on the “Green PV : Jun 4th” row like above figure 2.3.1) for facing the sun
The optimized angle = angle3 = the inclination of the Green PV from horizontal + the inclination of the roof (a2)
Ø  Made the database from the above explanations

2.4. Programmed C# codes by using a Microsoft Visual C# 2010 Express
  2.4.1. Identified principles
Ø  I understood the principles of C# codes from Project2 and CurtainPanels explained in lectures.
  2.4.2. Made C# codes for the project file
  2.4.3. Made C# codes for the mass family
  2.4.4. Connected angle factors with the CSV file data
  2.4.5. Set parameter of the angle of the PV panels
  2.4.6. Changed the degree values of the angle to the radian values

3. Results of Parametric Modeling by the Revit API
3.1. 12:00pm, June 4

Ø  Put 12:00pm on the column coordinate in the visual C# express

Ø  Executed the C# command file

Ø  Checked the inclinations of the Blue PV panels and Green PV panels by the message box



Ø  The inclinations of the Blue PV panels and Green PV panels was changed based on the excel database

(The inclination of the Blue PV panels from the roof = 5°,
The inclination of the Green PV panels from the roof = 22° )


Ø  Checked the inclination of PV panels with the weather data model


3.2. 4:00pm, June 4

Ø  Put 4:00pm on the column coordinate in the visual C# express

Ø  Executed the C# command file

Ø  Checked the inclinations of the Blue PV panels and Green PV panels by the message box


Ø  The inclinations of the Blue PV panels and Green PV panels was changed based on the excel database

(The inclination of the Blue PV panels from the roof = 65°,
The inclination of the Green PV panels from the roof = 93° )


Ø  Checked the inclination of PV panels with the weather data model

4. Limitations
Ø  The orientation of each PV panel wasn’t considered for facing the sun at the optimized angle. 

5. References


Solar Collectors and Photovoltaic in energyPro, website: http://www.emd.dk/files/energypro/Solar%20Collector%20and%20Photovoltaic%20in%20energyPRO.pdf (accessed Dec 5, 2011)

No comments:

Post a Comment