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

Re: [TRNSYS-users] Accessing TRNSYS with external program



Rats, Dave just beat me.
I will just add that you can use the /N switch to suppress the "Continue Yes/No" dialog box at the end of the simulation. In a batch file, you could use the following line:
"C:\Program Files\Trnsys16\Exe\TRNExe.exe" "C:\My Folder\My deck.dck" /N
Also, may be the parametric runs feature in TRNEdit could be useful to you? (in TRNEdit, try the Parametrics menu)

I hope this helps

Michaël Kummert

David Bradley wrote:
Rémi,
There are a few ways that TRNSYS can be launched. One is that you can use the command line: TRNExe.exe FileNameToRun.dck. The other alternative is to use Windows API calls to launch TRNSYS. For reference on how to launch external programs, you might refer to the TRNSYS CallProgram subroutine.
Kind regards,
  David

At 03:47 PM 2/10/2005, Charron, Rémi wrote:

Hello All,

I wish to create a program that will generate a Parameter Replacement file
(Type70) based on given inputs.  How do I call Trnsys from this external
program to evaluate the impact of my new parameters.  I want to evaluate
multiple Type70-files and don't want to have to manually open Trnsys to
evaluate the new parameters.

Thank you for your time.

Rémi

_______________________________________________
TRNSYS-users mailing list
TRNSYS-users@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@tess-inc.com
Web Pages:  http://www.tess-inc.com     and      http://www.trnsys.com

"Providing software solutions for today's energy engineering projects"
****************************************************************************************



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



--
_________________________________________________________

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