Dear all,
I have set up a very simple zone only including one airlink--Large Opening. But I run it, the list file shows Parameters for TRNFlow are missing. Please, check defined parameters! I only define one Opening with Daily Schedule, and I set up one Daily Schedule using Type 14, meanwhile, I define a Output NTYPEs 207 and link Type 65 with Type 56, I want to observe Output NTYPEs 207(total outdoor air flow into airnode). Only these, but the list file shows Parameters for TRNFlow are missing. Please, check defined parameters! I don't know what other Parameters are lack, if list file can tell what are missing, that's better. Do you think how to find missing Parameters ? Which Parameters are easy to be misses? Indeed I can not find them.
Thanks!
Br.
wang
ps.:the listing file shows:
TRNFLOW (2003-06-04) based on COMIS 3.1
Copyright (C) 2001 EMPA
-------------------------------------------------------
Note: as soon as TRNFLOW is switched on, all couplings
between zones which are not in the air flow network and
those included in the network are reset to zero!
-------------------------------------------------------
No SET-file; using defaults
*******************************
Reading Input File *
*******************************
*******************************
Checking HVAC T-Junction data *
*******************************
*******************************
Looking for RF components *
*******************************
*** Notice at time : 0.000000
Generated by Unit : 56
Generated by Type : 56
Message : Star network calculation: every iteration step of TRNSYS
*** Fatal Error at time : 0.000000
Generated by Unit : 56
Generated by Type : 56
Message : Parameters for TRNFlow are missing. Please, check defined parameters!
*** An error has forced TRNSYS to abort2010/8/16 <trnsys-users-request@cae.wisc.edu>Send TRNSYS-users mailing list submissions to
trnsys-users@cae.wisc.edu
To subscribe or unsubscribe via the World Wide Web, visit
https://www-old.cae.wisc.edu/mailman/listinfo/trnsys-users
or, via email, send a message with subject or body 'help' to
trnsys-users-request@cae.wisc.edu
You can reach the person managing the list at
trnsys-users-owner@cae.wisc.edu
When replying, please edit your Subject line so it is more specific
than "Re: Contents of TRNSYS-users digest..."
Today's Topics:
1. Converting *.try into *.epw (Mavi Cambronero V?zquez)
2. Re: Stored variables (C++)
(Carlos Flores | DECCW. Sydney, Australia)
3. Re: Stored variables (C++)
(Carlos Flores | DECCW. Sydney, Australia)
4. Problem compiling with PGI Visual Fortran 10.3
(Carlos Flores | DECCW. Sydney, Australia)
5. Re: Stored variables (C++)
(Carlos Flores | DECCW. Sydney, Australia)
---------- 已转发邮件 ----------
From: "Mavi Cambronero Vázquez" <maviqnk@gmail.com>
To: trnsys-users@cae.wisc.edu
Date: Mon, 16 Aug 2010 11:08:52 +0200
Subject: [TRNSYS-users] Converting *.try into *.epwHi!Does anyone know how to convert meteorogical files from .try into .epw? I found an application but it´s only valid for UK meteorogical data....Thanks in advance!
---------- 已转发邮件 ----------
From: "Carlos Flores | DECCW. Sydney, Australia" <cflores@ing.uchile.cl>
To: trnsys-users@engr.wisc.edu
Date: Mon, 9 Aug 2010 19:19:19 +1000
Subject: Re: [TRNSYS-users] Stored variables (C++)
Apologies for double-posting. I just realised that my 'cflores' account was the one subscribed to this list. Here is my question again.
--------------------------------------------------------------Hey everyone,I have TRNSYS 16 and I am programming a new module using C++. I've had absolutely all the problems that have been mentioned in the past with regards to stored variables (such as un-updated TRNSYS.h file) and I've solved most of them, but I have been unable to solve one related to pointers.
For some reason, in TRNSYS.h the functions setStorageVars and setStorageSize need pointer inputs (int*, double*) to work, as opposed to the simple int or double variables used in FORTRAN. I have spent a lot of time and I have not being able to work this through, and I need to fix this within the next few days or it will have consequences on the project deadline =(Does anybody have the answer to one of these two questions?1) Do you have any example (*.ccp) of a module programmed in C++ that uses stored variables? That would probably be easiest way to understand how to insert the correct inputs in the setStorageVars function, or2) Do you know how to insert the 'nitems' and 'stored' array in a way that the setStorageVars function will understand?The template generated for C++ does not address these issues and I am unsure how to fix them.Any help would be highly appreciated! Thanks!Carlos FloresEnergy Research ProgramUniversidad de Chile
---------- 已转发邮件 ----------
From: "Carlos Flores | DECCW. Sydney, Australia" <cflores@ing.uchile.cl>
To: "keilholz, werner" <werner.keilholz@cstb.fr>
Date: Wed, 11 Aug 2010 07:09:29 +1000
Subject: Re: [TRNSYS-users] Stored variables (C++)
Hey Werner,That is a shame. It's sad that TRNSYS does not have a proper support for C++, specially when they claim they do. It made me waste a couple of days of work.Thanks very much for your answer and for helping me not to waste my time any longer.Kind regards,CarlosOn Mon, Aug 9, 2010 at 10:11 PM, keilholz, werner <werner.keilholz@cstb.fr> wrote:
Hi Carlos,
The setStorageVars problem, too, has been encountered before:
http://www.mail-archive.com/trnsys-users@engr.wisc.edu/msg01920.html
Basically, my recommendation is not to use it in C or C++ - it’s a bit like asking where you can get fresh hay for your car...
Werner
De : carlosfloreslenero@gmail.com [mailto:carlosfloreslenero@gmail.com] De la part de Carlos Flores | DECCW. Sydney, Australia
Envoyé : lundi 9 août 2010 11:03
À : trnsys-users@engr.wisc.edu
Objet : Re: [TRNSYS-users] Stored variables (C++)
Hey everyone,
I have TRNSYS 16 and I am programming a new module using C++. I've had absolutely all the problems that have been mentioned in the past with regards to stored variables (such as un-updated TRNSYS.h file) and I've solved most of them, but I have been unable to solve one related to pointers.
For some reason, in TRNSYS.h the functions setStorageVars and setStorageSize need pointer inputs (int*, double*) to work, as opposed to the simple int or double variables used in FORTRAN. I have spent a lot of time and I have not being able to work this through, and I need to fix this within the next few days or it will have consequences on the project deadline =(
Does anybody have the answer to one of these two questions?
1) Do you have any example (*.ccp) of a module programmed in C++ that uses stored variables? That would probably be easiest way to understand how to insert the correct inputs in the setStorageVars function, or
2) Do you know how to insert the 'nitems' and 'stored' array in a way that the setStorageVars function will understand?
The template generated for C++ does not address these issues and I am unsure how to fix them.
Any help would be highly appreciated! Thanks!
Carlos Flores
Energy Research Program
Universidad de Chile
--Carlos FloresProject OfficerBSc, MSc (Mech Eng)Department of Environment, Climate Change and Water
National Australian Built Environment Rating Scheme (NABERS Energy)
---------- 已转发邮件 ----------
From: "Carlos Flores | DECCW. Sydney, Australia" <cflores@ing.uchile.cl>
To: trnsys-users@engr.wisc.edu
Date: Wed, 11 Aug 2010 22:55:44 +1000
Subject: [TRNSYS-users] Problem compiling with PGI Visual Fortran 10.3
Hello everyone,I've got a quick question. I recently installed PGI VF 2008 (v10.3) after my failed attempt to use C++. I had to use PGI's as it is the version used in the IT department at the university.Now, TRNSYS generates a DSP file (with relevant links to TRNDll and other files) along with a .FOR template. The problem is that after installing GPI Visual Fortran, the DSP file is still not being recognised by Visual Studio (2008). If I try to open the file it tells me that the file is corrupted, and it seems to be associated with a C++ project rather than Fortran.So I gues my question is: Is there any way I can fix this?Alternatively, if I start a new fortran project in Visual Studio from scratch, and I include my FOR source code. How can I let Visual Studio know where are the libraries with the necessary functions to compile my code (e.g. TRNDll.dll)?Thanks everyone!CarlosEnergy Research ProgramUniversidad de Chile
---------- 已转发邮件 ----------
From: "Carlos Flores | DECCW. Sydney, Australia" <carlosfloreslenero@gmail.com>
To: trnsys-users@engr.wisc.edu
Date: Sun, 8 Aug 2010 15:26:22 +1000
Subject: Re: [TRNSYS-users] Stored variables (C++)
Hey everyone,I have TRNSYS 16 and I am programming a new module using C++. I've had absolutely all the problems that have been mentioned in the past with regards to stored variables (such as un-updated TRNSYS.h file) and I've solved most of them, but I have been unable to solve one related to pointers.
For some reason, in TRNSYS.h the functions setStorageVars and setStorageSize need pointer inputs (int*, double*) to work, as opposed to the simple int or double variables used in FORTRAN. I have spent a lot of time and I have not being able to work this through, and I need to fix this within the next few days or it will have consequences on the project deadline =(Does anybody have the answer to one of these two questions?1) Do you have any example (*.ccp) of a module programmed in C++ that uses stored variables? That would probably be easiest way to understand how to insert the correct inputs in the setStorageVars function, or2) Do you know how to insert the 'nitems' and 'stored' array in a way that the setStorageVars function will understand?The template generated for C++ does not address these issues and I am unsure how to fix them.Any help would be highly appreciated! Thanks!Carlos FloresEnergy Research ProgramUniversidad de Chile
_______________________________________________
TRNSYS-users mailing list
TRNSYS-users@cae.wisc.edu
https://www-old.cae.wisc.edu/mailman/listinfo/trnsys-users