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

[TRNSYS-users] TRNSYS-users Digest, Vol 8, Issue 8



Send TRNSYS-users mailing list submissions to
	trnsys-users@engr.wisc.edu

To subscribe or unsubscribe via the World Wide Web, visit
	https://www.cae.wisc.edu/mailman/listinfo/trnsys-users
or, via email, send a message with subject or body 'help' to
	trnsys-users-request@engr.wisc.edu

You can reach the person managing the list at
	trnsys-users-owner@engr.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. compiling of old user written TYPES (here: TYPE 71: UNGLAZED
      TRANSPIRED COLLECTOR SYSTEM) (bdo@stb.rwth-aachen.de)
   2. assign special cards label with getlabel. (javier mota)
   3. (no subject) (javier mota)
   4. Re: (no subject) (Micha?l Kummert)
--- Begin Message ---
Dear experts,

I try to integrated "unglazed transpired solar collectors" (Solarwall) 
to my modell by using the user written TYPE 71 taken frome the SEL-site, 
but without success. Starting the simulation, I get the error code 100 
(bad data card), although the number of parameters and inputs is correct.
Is the old source code (written 1995) not compatible to TRNSYS 15?
Is the compiler (CVF 6.1) the problem?
Has anybody a more up to date solution for such a system?

Thanks for any help.


Bernd.


-- 
**************************************************************
*
*  Dipl.-Ing. Bernd D?ring
*  Lehrstuhl f?r Stahlbau
*  Mies-van-der-Rohe-Str. 1
*
*  52074 Aachen
*
*  Tel.:      ++49 (0)241 80 25180
*             ++49 (0)241 80 25177
*
*  Fax:       ++49 (0)241 80 22140
*
*
*  http://www.stb.rwth-aachen.de
*  http://www.stb.rwth-aachen.de/Mitarbeiter/doering.html
*
**************************************************************




--- End Message ---
--- Begin Message ---
Dear all,I am Javier Mota from 3i madrid
I?m trying to read label from special cards in the component i?m 
programming.
I have specified in the proforma  in special card:
1 LABELS number_of l_abels_ 1
2 the file i want to select.
In the program I use the order name=getlabel(info[0],1);
But when I try to simulate  trnsys shows me an error of access violation.
may anybody says me what is wrong.
Thanks in advance

_________________________________________________________________
Descubre la descarga digital con MSN Music. M?s de medio mill?n de 
canciones. http://music.msn.es/



--- End Message ---
--- Begin Message ---
Dear all;I ?m javier Mota from 3i,Madrid
I am trying to use Access functions in type programmed by me.
The problem is that when I call a function like getDeckFileName or others 
function with get...
TRNSYS shows mw an error which says "error aceess violation...".But when I 
build the dll all look OK.
What may be the problem.Must I configure something in an special way.
Thank you in advance.

_________________________________________________________________
Un amor, una aventura, compa??a para un viaje. Reg?strate gratis en MSN Amor

& Amistad. http://match.msn.es/match/mt.cfm?pg=channel&tcid=162349



--- End Message ---
--- Begin Message ---
Javier,

> I am trying to use Access functions in type programmed by me.
> The problem is that when I call a function like getDeckFileName or 
> others function with get...
> TRNSYS shows mw an error which says "error aceess violation...".But when 
> I build the dll all look OK.
> What may be the problem.Must I configure something in an special way.

Just 2 thoughts:
If even the most commonly used functions (e.g. getSimulationTimeStep()) 
fail, you  may be using a wrong arguments passing convention. TRNSYS 
uses "C, by reference" and passes the string length after all arguments.
The "export as C++" wizard in the Studio will generate a C++ project 
with the correct settings for you, in case you did not use it.
If only some functions fail, you may want to check their declaration in 
Trnsys.h and compare them with their definition in TrnsysFunctions.f90.

Good luck,

Micha?l


--- End Message ---
_______________________________________________
TRNSYS-users mailing list
TRNSYS-users@engr.wisc.edu
https://www.cae.wisc.edu/mailman/listinfo/trnsys-users