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

[TRNSYS-users] Vector of data as OUTPUT of a component



Hi All,

 

I have created my own TRNSYS component, and it is working fine (encoded, compiled and tracked using MVS2005 project solution). Outputs of my model are 4 temperatures vectors of size 10 each. Vector components are updated every time step.

 

Example:

 

Ta (a1,a2,a3,a4,a5,a6,a7,a8,a9,a10)

Tb (b1,b2,b3,b4,b5,b6,b7,b8,b9,b10)

Tc (c1,c2,c3,c4,c5,c6,c7,c8,c9,c10)

Td (d1,d2,d3,d4,d5,d6,d7,d8,d9,d10)

 

I’d like to know how could I do in order to set that information as output. Do I need to define an output for each component and vector (what will mean having 40 outputs) or is there any direct way to refer OUT(1)=T, being T a vector of 10 components.

 

Hope question can be understood,

 

Miguel

 

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

Dr. Miguel Ángel Reyes Belmonte

IMDEA ENERGY Institute

Avda. Ramón de la Sagra, 3

Parque Tecnológico de Móstoles

E-28935 Móstoles, Madrid, Spain

Telf.: +34 91 737 1150

e-mail: miguelangel.reyes@imdea.org

web: http://www.energy.imdea.org

https://es.linkedin.com/pub/miguel-angel-reyes/7b/347/b77

orcid.org/0000-0002-9666-2388