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

Re: [TRNSYS-users] Editing an existing component of a model



Dear Emmanuel,

My recommendation would be to start with the guide found in 'Volume 1 - Getting started', section 1.9. It takes you through how to create a new component from scratch and then how to create a new dll. The general steps on this guide are:
- Create a basic proforma in the Studio.
- Export the information as Fortran.
- The Studio creates the workspace for Compaq Visual Fortran. You can complete the Fortran code in this workspace.

If you want to modify an existing standard component, I would recommend that you copy it and paste it as a new component, with a new number. By doing this, the component will be compiled into a new .dll file that will be located in the Userlib directory. In addition, you will have the original component to compare with. You can use the workspace that is created by the Studio, and replace the fortran file with the copy of the component that you want to compile. After you do the example in the Volume 1, I would recommend using Volume 8 - Programmer's Guide for additional information about compiling your components.

I will be happy to help you as you work on this topic.
Best regards,

Diego

Emmanuel wrote:

Dear All

I wish to edit an existing component within an existing model in TRNSYS
16; that is I want to change some of the equations for the component to
suit my needs. May anyone tell me the sequence of steps to follow in
order to achieve that?
Thanks.

Regards
Emmanuel

________________________________________________________
Emmanuel Mashonjowa Agricultural Meteorology Group
Physics Department
University of Zimbabwe
Box MP167 Mount Pleasant
Harare, Zimbabwe
Tel: +263 (0) 4 303 211 ext. 1295
Cell: +263 (0) 91 416 497
Fax: +263 (0) 4 307 156

Laboratory of Plant Ecology
Dept. of Applied Ecology & Environmental Biology Faculty of Bioscience Engineering Ghent University Coupure Links 653
9000 Gent, Belgium
Tel: +32 (0) 9 264 6116
Mobile: +32 (0) 4 99081769
Fax: +32 (0) 9 224 4410




-----Original Message-----
From: trnsys-users-bounces@engr.wisc.edu
[mailto:trnsys-users-bounces@engr.wisc.edu] On Behalf Of
trnsys-users-request@engr.wisc.edu
Sent: Friday, February 03, 2006 8:00 PM
To: trnsys-users@engr.wisc.edu
Subject: TRNSYS-users Digest, Vol 14, Issue 3

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..."


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


--

Diego A. Arias
TRNSYS Coordinator
Solar Energy Laboratory
University of Wisconsin - Madison
1500 Engineering Drive
Madison, WI 53706