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

Miguel Angel Reyes via TRNSYS-users trnsys-users at lists.onebuilding.org
Tue Mar 7 05:04:11 PST 2017


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:  <mailto:miguelangel.reyes at imdea.org> miguelangel.reyes at imdea.org

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

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

orcid.org/0000-0002-9666-2388

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.onebuilding.org/pipermail/trnsys-users-onebuilding.org/attachments/20170307/9189d6b5/attachment-0003.htm>


More information about the TRNSYS-users mailing list