[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[EnergyPlus_Support] EnergyPlus Macros Doubt



   I was looking the EnergyPlus Macros documentation and have a doubt: can I
make a macro that automatizes a simulation serie? I mean: I'm doing a serie of
simulations that objectivates evaluate the window glass influence in a
building, but I'm also changing the north orientation and the location (with
design days and ground temperatures) of the building, like this:

- North orientation: 0; 45; 90; 135; 180; 225; 270; 315 (8 orientations on
total).
- Location: 20 brazilian cities.
- Window glass: 7 kinds.


   This way I have 56 simulations on each city, that totalizes 1120 simulations
for all 20 cities. To make things easy, I wanna make an automatization like a
classic "do loop". I've already done and compilate in Q-Basic one routine that
do that, but I'm working with the .idf files and "peaces" of the .idf that are
called and inserted in the .idf file to make the final.idf, that runs in the
EPlaunch.exe.

   For example: I have an .idf file ready to run, but it has no "North Axis",
"Location", "Ground Temperatures" and "Material:Windowglass" (I just cutted
then off the file). When I open the "automatic.exe" is asked to me what cities,
glasses and orientations I wanna simulate. After choose these parameters I
execute the "automatic.exe" and a serie of .bat files are called and insert the
following lines on the .idf file to make it complete and run the
"EPlaunch.exe":

--------------------------------------------------------------------------------

North Orientation:

    90.0000000E+00,             !- North Axis {deg}

--------------------------------------------------------------------------------

Location:

 Location,
  PORTO_ALEGRE_BRA Design_Conditions,     !- Location Name
  -30.00000     ,     !- Latitude {N+ S-}
  -51.18000     ,     !- Longitude {W- E+}
  -3.000000     ,     !- Time Zone Relative to GMT {GMT+/-}
   3.000000     ;     !- Elevation {m}

 ! Using Design Conditions from "World Climate Design Data 2001 ASHRAE
Handbook"

 ! PORTO_ALEGRE_BRA Cooling (DB=>MWB) 1%, MaxDB=  33.50 MWB=  24.00
 DesignDay,
     PORTO_ALEGRE_BRA Cooling 1% Conditions DB=>MWB 12,     !- Name
   33.50000     ,     !- Max Dry-Bulb {C}
   9.500000     ,     !- Daily Temp Range {C}
   24.00000     ,     !- Wet-Bulb at Max {C}
   101289.0     ,     !- Barometric Pressure {N/M**2}
  3.0000000E+00 ,     !- Wind Speed {M/Sec}
  290.00000E+00 ,     !- Wind Direction {Degrees N=0, S=180}
   1.000000     ,     !- Clearness {0.0 to 1.1}
           0 ,     !- Rain {0-no,1-yes}
           0 ,     !- Snow on ground {0-no,1-yes}
          21 ,     !- Day of Month
          12 ,     !- Month
   SummerDesignDay,      !- Day Type
           0 ;   !- Daylight Savings Time Indicator


!-   ===========  ALL OBJECTS IN CLASS: GROUNDTEMPERATURES ===========

GroundTemperatures,
    24.7,                      !- January Ground Temperature {C}
    24.4,                      !- February Ground Temperature {C}
    23.1,                      !- March Ground Temperature {C}
    19.5,                      !- April Ground Temperature {C}
    16.5,                      !- May Ground Temperature {C}
    14.4,                      !- June Ground Temperature {C}
    14.3,                      !- July Ground Temperature {C}
    15.2,                      !- August Ground Temperature {C}
    16.9,                      !- September Ground Temperature {C}
    19.1,                      !- October Ground Temperature {C}
    21.4,                      !- November Ground Temperature {C}
    23.3;                      !- December Ground Temperature {C}

--------------------------------------------------------------------------------

Windowglass:

MATERIAL:WINDOWGLASS,
    1 - Clear 4mm,           !- Name
! Calculated from supplied properties using equations for uncoated glass
    SpectralAverage,         !- Optical Data Type
    ,                        !- Name of Window Glass Spectral Data Set
    2.9720000E-03 ,          !- Thickness {m}
    0.8425000     ,          !- Solar Transmittance at Normal Incidence
    7.4530000E-02 ,          !- Solar Reflectance at Normal Incidence: Front
Side
    7.4780000E-02 ,          !- Solar Reflectance at Normal Incidence: Back
Side
    0.9033000     ,          !- Visible Transmittance at Normal Incidence
    8.0680000E-02 ,          !- Visible Reflectance at Normal Incidence: Front
Side
    8.0720000E-02 ,          !- Visible Reflectance at Normal Incidence: Back
Side
    0.0000000E+00 ,          !- IR Transmittance at Normal Incidence
    0.8379000     ,          !- IR Hemispherical Emissivity: Front Side
    0.8379000     ,          !- IR Hemispherical Emissivity: Back Side
    0.9000000     ;          !- Conductivity {W/m-K}


=====
________________________________________________________
 Engº Fábyo Luiz Pereira
 UFRGS - Laboratório de Vapor e Refrigeração
 Rua Sarmento Leite, 425 - Sala 203 - Centro - 90050-170
 Fone / Fax: +55 51 3316-3167 / 3316-3355
 www.mecanica.ufrgs.br/lafrig
 Porto Alegre - RS - BRASIL


	
	
		
_______________________________________________________
Yahoo! Acesso Grátis - navegue de graça com conexão de qualidade! 
http://br.acesso.yahoo.com/


------------------------ Yahoo! Groups Sponsor --------------------~--> 
Make a clean sweep of pop-up ads. Yahoo! Companion Toolbar.
Now with Pop-Up Blocker. Get it for free!
http://us.click.yahoo.com/L5YrjA/eSIIAA/yQLSAA/dkFolB/TM
--------------------------------------------------------------------~-> 

The primary EnergyPlus web site is found at:
http://www.energyplus.gov

The group web site is:
http://groups.yahoo.com/group/EnergyPlus_Support/

Attachments are not allowed -- please post any files to the appropriate folder in the Files area of the Support Web Site.
 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/EnergyPlus_Support/

<*> To unsubscribe from this group, send an email to:
    EnergyPlus_Support-unsubscribe@xxxxxxxxxxxxxxx

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/