[TRNSYS-users] Accessing TRNSYS with external program
Michaël Kummert
kummert at engr.wisc.edu
Fri Feb 11 08:28:07 PST 2005
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 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 and http://www.trnsys.com
>
> "Providing software solutions for today's energy engineering projects"
> ****************************************************************************************
>
>
>
>
> _______________________________________________
> TRNSYS-users mailing list
> TRNSYS-users at 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 at engr.wisc.edu
SEL Web Site: http://sel.me.wisc.edu
TRNSYS Web Site: http://sel.me.wisc.edu/trnsys
More information about the TRNSYS-users
mailing list