[TRNSYS-users] SET_STORAGE_VARS(STORED,NITEMS,INFO)
Louise St.Germain
lsg at uvic.ca
Fri Oct 28 13:30:38 PDT 2005
Hi David,
I suspected it was something like that. The problem still exists,
though, if you use the export to Fortran option after defining a new
components proforma the code skeleton generated still has all the old
function names. (This is how I noticed the problem, not through the
manual). It might be worth fixing the export-to-fortran wizard, unless
its already been fixed in a newer version or update.
Thanks,
-Louise
Louise St.Germain
Graduate Research Assistant
Integrated Energy Systems (IESVic)
University of Victoria
lsg at uvic.ca
-----Original Message-----
From: David Bradley [mailto:bradley at tess-inc.com]
Sent: October 28, 2005 1:17 PM
To: Louise St.Germain; 'TRNSYS Newsgroup'
Subject: RE: [TRNSYS-users] SET_STORAGE_VARS(STORED,NITEMS,INFO)
Louise, and Jörn,
Just to clarify the situation, during the development of the TRNSYS 16
beta version we used the subroutine names: SET_STORAGE_SIZE( ),
SET_STORAGE_VARS( ), and GET_STORAGE_VARS( ) but by the time the
official release was made, the subroutines were renamed: SetStorageSize(
), SetStorageVars( ), and GetStorageVars( ). The working names for those
three subroutines might have been printed in some early documentation
but with the release of 16.00.0037 in March 2005, the 08-Programmer's
Guide was updated with the correct information.
Kind regards,
david
At 02:49 PM 10/28/2005, Louise St.Germain wrote:
Hi Jörn,
I program in Fortran but had the same problem of the subroutines not
recognized.
I had to replace
SET_STORAGE_VARS(STORED,NITEMS,INFO)
With:
setStorageVars(STORED,NITEMS,INFO)
And it has worked. You might also run into problems with the related
function calls SET_STORAGE_SIZE(
) and GET_STORAGE_VARS(
), which I had
to change to setStorageSize(
) and getStorageVars(
) respectively. Im
not sure if this is the same problem as youre having with C++, but it
might be related.
Good luck,
-Louise
Louise St.Germain
Graduate Research Assistant
Integrated Energy Systems (IESVic)
University of Victoria
lsg at uvic.ca
-----Original Message-----
From: trnsys-users-bounces at engr.wisc.edu [
<mailto:trnsys-users-bounces at engr.wisc.edu>
mailto:trnsys-users-bounces at engr.wisc.edu] On Behalf Of Jörn von Grabe
Sent: October 28, 2005 7:31 AM
To: TRNSYS Newsgroup
Subject: [TRNSYS-users] SET_STORAGE_VARS(STORED,NITEMS,INFO)
Dear all,
does anyone know how to store values between timesteps in a user written
type in c++? The template looks like this
SET_STORAGE_VARS(STORED,NITEMS,INFO)
but does't work. c++ doesn't recognise the subroutine.
I will appreciate any help I can get,
regards, Jörn
[]
_______________________________________________
TRNSYS-users mailing list
TRNSYS-users at engr.wisc.edu
https://www.cae.wisc.edu/mailman/listinfo/trnsys-users
************************************************************************
****************
Thermal Energy System Specialists (TESS), LLC
David BRADLEY 2916 Marketplace Drive - Suite
104
Partner Madison, WI 53719
Phone: (608) 274-2577 USA
Fax: (608) 278-1475
E-mail: bradley at tess-inc.com
Web Pages: http://www.tess-inc.com <http://www.tess-inc.com/> and
http://www.trnsys.com <http://www.trnsys.com/>
"Providing software solutions for today's energy engineering projects"
************************************************************************
****************
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.onebuilding.org/pipermail/trnsys-users-onebuilding.org/attachments/20051028/51fddf9a/attachment-0005.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image001.jpg
Type: image/jpeg
Size: 6358 bytes
Desc: not available
URL: <http://lists.onebuilding.org/pipermail/trnsys-users-onebuilding.org/attachments/20051028/51fddf9a/attachment-0003.jpg>
More information about the TRNSYS-users
mailing list