[TRNSYS-users] Problem with Programming in TRNSYS and CVF 6b

David BRADLEY d.bradley at tess-inc.com
Mon Jul 16 08:26:02 PDT 2012


Dear Konstantinos,
   This is odd; the calling structure of TRNSYS has not changed. At the 
beginning of every timestep, INFO(7) is set to 0. If there are 
iterations within the timestep, INFO(7) carries the iteration number. It 
is then reset to 0 at the start of the next time step.

   If you are using TRNSYS 17, there are a number of access functions 
that are recommended to replace the direct calls to look at the value of 
elements in the INFO() array however if you stick with the Trnsys16 
coding standard, there is no reason why you can't look directly at the 
value of the INFO() array elements.

   The first thing I would try to do is to recompile everything (ideally 
putting your component directly into the TRNDll if possible since that 
way you will only have one DLL to worry about). Then debug; put a 
breakpoint into your code on an

IF (INFO(7) .eq. 0) THEN

line. Run your simulation and can you please tell me what value INFO(7) 
has after it is set to -1? The only thing I can think of is that the 
simulation is getting an error and stopping in some other piece of code 
before it ever gets to the first time step.
Best,
  David


On 7/14/2012 09:31, ??d???p?????? ???sta?t???? wrote:
>
> Dear TRNSYS Users
>
> I am having a problem on programming a new module in trnsys.  Year Ago 
> I had create a module and it was working in TRNSYS.
>
> I am trying now to use it again but I doesn't. As I have found until 
> now the INFO(7) = -2 works ok, the INFO(7) = -1 Works OK but the 
> INFO(7)=0 never happens so the code cannot initialize
>
> Does anyone have any solution to this problem  ?
>
> Thank you in advanced
>
> K. Ordoumpozanis
>
>
>
> _______________________________________________
> TRNSYS-users mailing list
> TRNSYS-users at cae.wisc.edu
> https://mailman.cae.wisc.edu/listinfo/trnsys-users

-- 
***************************
David BRADLEY
Principal
Thermal Energy Systems Specialists, LLC
22 North Carroll Street - suite 370
Madison, WI  53703 USA

P:+1.608.274.2577
F:+1.608.278.1475
d.bradley at tess-inc.com

http://www.tess-inc.com
http://www.trnsys.com



-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.onebuilding.org/pipermail/trnsys-users-onebuilding.org/attachments/20120716/913b04c9/attachment-0005.htm>


More information about the TRNSYS-users mailing list