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

Re: [TRNSYS-users] Print only in daylight hours



Quoting Soteris Kalogirou <skalogir@spidernet.com.cy>:

> I am trying to setup a printer to print the output parameters in a file only
> during daylight hours, i.e., when total radiation is greater than zero. Do
> you have any ideas on how to achieve this?

The easiest way to do it is to print every hour and then use a spreadsheet
program like Microsoft Excel to filter out the times where there is no solar
radiation.  If you only want "integrated" values of outputs during daylight
periods you can use equations and then integrate the equations.  For example,
the useful collected energy from type 1 during daylight hours:

Equations 2
I_Daylight=GT([16,7],0)    !Sets the value to one if beam radiation is greater
than 0.
Qu_Daylight=I_daylight*[1,3]

Then you simply integrate Qu_daylight and not 1,3.

Jeff

-- 
Jeff Thornton
Thermal Energy System Specialists
2916 Marketplace Drive - Suite 104
Madison WI 53719 USA
Phone: 608-274-2577
Fax: 608-278-1475