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

Re: [TRNSYS-users] New component / changing number of variables inCVF



After re-compiling the source code did you link it to create a new DLL which contains your changes?  You may also have to remove any other DLL's that contain the previous source code....

Jeff

Jeff Thornton
President - TESS, LLC

22 North Carroll Street - Suite 370
Madison WI 53703 USA

Phone: 608-274-2577
Fax: 608-278-1475
E-mail: thornton@tess-inc.com
Web: www.tess-inc.com







----- Original Message -----

From: "" <knut.erik.enerstvedt@niva.no>
Sent: Fri, October 9, 2009 1:57
Subject: Re: [TRNSYS-users] New component / changing number of variables inCVF


Mathaeus,

I the number of outputs in the source code matches the number of outputs in the Proforma, then you should see the correct number of outputs when using your new component in the Studio. Make sure that you set Role to "output" when you define the new variable in the Proforma. You can click on the Outputs tab (after clicking on Variables) to see a list of all output variables.

Hope this helps,

Knut Erik  




Dear all,
 
I am programming a new type for TRNSYS using Compaq Visual Fortran (cvf) and I would currently like to add some outputs. I alrea! dy changed the number of outputs in the fortran environment to
 
1)      NOUT=2,
2)      I performed a simple calculation, eg a=2,
3)      and set an output as OUT(2)=a .
 
After recompiling still no changes appeared so I decided to extend the number of variables in my trnsys type environment (performa).
 
Even though, no changes appear – there is only one output available in the TRNSYS project environment.
 
Does any of you know an appropriate solution?
 
Sincerely
 
Mathaeus
 




------------------------------------------------------------------------------------------------------------
Meld deg på vårt nyhetsbrev på
www.niva.no
_______________________________________________
TRNSYS-users mailing list
TRNSYS-users@cae.wisc.edu
https://www-old.cae.wisc.edu/mailman/listinfo/trnsys-users