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

Re: [TRNSYS-users] Help with type 15



Daniela,
 I am not sure I understand what you are trying to do but on a very general level, the two instances of Type15 will each produce outputs from their respective weather files throughout the entire simulation. If you want a component to receive data from one instance of Type15 at the start of the simulation and then to change so that it receives data from the other instance of Type15 at a later point in the simulation then you will need to use some equations that make the switch. For example, if you write the two equations:

switchTime = GT(TIME,5088)
T_ambient = T_ambient_1*(1-switchTime) + T_ambient_2*(switchTime)

the value of T_ambient will be equal to T_ambient_1 from hour 0 to hour 5088 and then will be equal to the value of T_ambient_2 until the end of the simulation.

I hope this helps.
kind regards,
 David



On 04/22/2016 03:32, Daniela Vásconez wrote:

Dear all,

I am using Type 15 (Weather files) for obtaining data from longitude and latitude. In an application I'm developing, I need to enter data of longitude and latitude of 2 or more cities in the same simulation.

When the simulation start, the Type-65 reads correctly the longitude and latitude data of the city 1, but as time passes the data of the first city change and takes data from the second city until the end of the simulation.

I checked all the connections of type 15 and type55. I do not know what is the problem.

If you had some relative experience, PLEASE tell me how to solve this problem.

Thanks in advance!

Daniela

 

 



_______________________________________________
TRNSYS-users mailing list
TRNSYS-users@lists.onebuilding.org
http://lists.onebuilding.org/listinfo.cgi/trnsys-users-onebuilding.org

-- 
***************************
David BRADLEY
Principal
Thermal Energy Systems Specialists, LLC
22 North Carroll Street - suite 370
Madison, WI  53703 USA

P:+1.608.274.2577
F:+1.608.278.1475
d.bradley@tess-inc.com

http://www.tess-inc.com
http://www.trnsys.com