[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: New TRNSED-based demos available for download
- Date: Thu, 6 Mar 2003 14:37:27 -0600
- Date: Thu, 6 Mar 2003 15:38:03 -0600
- From: Michaël Kummert <kummert@xxxxxxxxxxxxx>
- Subject: RE: New TRNSED-based demos available for download
Nate (and other TRNSYS users),
The post-processing used in both demos is a home-made combination of
different features:
- TRNSED allows you to execute any program when the
simulation is done with the <AFTER> command.
E.g. to run the PostProc.exe program after the
simulation, you have to include the following
line in the .TRD file:
*|<AFTER> Out\PostProc.exe
- The program called in the demos is a small batch
file (PostProc.bat) which actually calls 2 other
programs: PostProc.exe and gnuplot (wgnupl32.exe)
- PostProc.exe is a short Fortran program that reads
an HTML file (ResultsTemplate.htm) and replaces some
codes by values it finds in the monthly output file
(*.out). It saves the updated file as Results.htm.
I can give the source code of that program to anyone
who is interested.
- gnuplot is a free plotting utility, which I use to
create one (or several) monthly graph with the same
output file and save it as .GIF picture(s) which are
referenced in Results.htm
- Finally, Results.htm is displayed by TRNSED when you
click on the "Display results" pictures thanks to the
following command in the .TRD file:
*|<APPLINK1> Img\ViewResults.bmp Results.htm
(note: for that to work, input fields under
File/Setup/Links should be left blank in TRNSHELL)
So the bottom line is that it is a "standard thing" in the sense that it is
available for everyone, but it is not a "one click" thing. If users have
ideas to improve that postprocessing technique, they are welcome to contact
me directly.
I don't know a way to import data from excel. I assume you can read anything
from an excel file provided that you understand its format but I have never
seen a description of that format (may be MS has a C++ library that does the
job?)
Cheers,
Michaël
_________________________________________________________
Michaël Kummert
Solar Energy Laboratory - University of Wisconsin-Madison
1303 Engr Res Bldg, 1500 Engineering Drive
Madison, WI 53706
Tel: +1 (608) 263-1589
Fax: +1 (608) 262-8464
E-mail: kummert@engr.wisc.edu
SEL Web Site: http://sel.me.wisc.edu
TRNSYS Web Site: http://sel.me.wisc.edu/trnsys
> -----Original Message-----
> From: owner-trnsys@relay.doit.wisc.edu
> [mailto:owner-trnsys@relay.doit.wisc.edu] On Behalf Of Blair, Nate
> Sent: Thursday, March 06, 2003 13:49
> To: 'trnsys@relay.doit.wisc.edu'
> Subject: RE: New TRNSED-based demos available for download
>
>
> Michael,
>
> We happen to be starting a new project on wind-hydrogen
> analysis and looking at what, if anything, seems sensible.
> So, I downloaded the new TRNSED demo. It looks really great!
> I also am impressed with some of the new features in Online
> (changing the scale precisely).
>
> My question is if the postprocessing is a standard thing now
> or if it is something that Oystein developed?
>
> My second question is if you know of a method for importing
> data to a component from Excel?
>
> Also, I just this morning started working with the
> Concentrating Solar Power group on doing a very small thermal
> storage project in TRNSYS so I get to keep my finger in the door.
>
> Cheers,
> Nate
>
> -----Original Message-----
> From: Michaël Kummert [mailto:kummert@engr.wisc.edu]
> Sent: Thursday, March 06, 2003 10:18 AM
> To: Trnsys Mailing List
> Subject: New TRNSED-based demos available for download
>
>
> Dear TRNSYS users,
>
> I mentioned new TRNSED-based demos in a previous email to
> this list. The demos are now available for download on the
> TRNSYS website: http://sel.me.wisc.edu/trnsys (Go to "Demos"
> and scroll to "Example Application")
>
> Two new applications are available:
>
> "Combisys": Simple model of a solar combisystem
> (space heating + domestic hot water)
>
> "h2demo": Renewable energy and Hydrogen Power System
> (This demo uses the HYDROGEMS library)
>
> Those demos were developed to show some TRNSYS capabilities
> to non-TRNSYS users but also to illustrate TRNSED
> capabilities for (advanced) TRNSYS users.
>
> Questions/comments/suggestions are welcome! (kummert@engr.wisc.edu)
>
>
> Regards,
>
> Michaël Kummert
>
> _________________________________________________________
>
> Michaël Kummert
>
> Solar Energy Laboratory - University of Wisconsin-Madison
> 1303 Engr Res Bldg, 1500 Engineering Drive
> Madison, WI 53706
>
> Tel: +1 (608) 263-1589
> Fax: +1 (608) 262-8464
> E-mail: kummert@engr.wisc.edu
>
> SEL Web Site: http://sel.me.wisc.edu
> TRNSYS Web Site: http://sel.me.wisc.edu/trnsys
>