[TRNSYS-users] Monitoring the internal matrix during the development of a new components

David BRADLEY d.bradley at tess-inc.com
Fri Jan 28 08:45:08 PST 2011


Mehdi,
   If you press the F5 key while in CVF, the compiler will launch TRNExe 
and ask you to identify an input file (*.dck) that you want to run. If 
you select an input file that has your component in it then you can use 
the F9 key in CVF to put breakpoints in your code. When the compiler 
gets to the breakpoint, it will stop and wait. At this point, you can 
type variable names into the CVF "watch list" or you can hold your mouse 
over a variable and CVF will display its value. For matrices, you will 
have to type "A()" to expand and look at all the internal values or type 
"A(1,1)" to see a specific spot in the matrix.
Kind regards,
  David


On 1/26/2011 16:53, Mehdi Shahrestani wrote:
>
> Dear Everybody
>
> I have a question in watching the internal values in new components.
>
> I am writing a new component with CVF 6.6, meanwhile I have a two 
> dimensional matrix.
>
> At this stage which I am writing the script, I really need to monitor 
> and find the errors. But I don't know how I can see an internal matrix 
> of a new component.
>
> It should be noted that the desired matrix is not an output but it is 
> an internal matrix which is used to generate the outputs.
>
> The matrix is A(10,100), I was wondering if you could give me a clue 
> to deal with this situation.
>
> Many thanks for your time spending on this question
>
> Mehdi Shahrestani
>
>
> _______________________________________________
> 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/20110128/62b5b09f/attachment-0005.htm>


More information about the TRNSYS-users mailing list