[TRNSYS-users] EES and TRNSYS, TYPE66

David Bradley bradley at tess-inc.com
Tue May 19 14:23:09 PDT 2009


Mathaeus,
  There is a limit to the number of inputs that can be transfered to and 
from EES because in Type66, the character (string) variable that 
transfers the information has to be declared with a certain (maximum) 
length. The length can be modified by recompiling Type66 with a modified 
value of szdelivertext. I am a bit more surprised by your second 
question - I thought that Type66 was clearing the clipboard each time, 
not just adding to it. Also, I had thought that Windows would handle 
that (by dropping some older things off the clipboard). Could you please 
send me your project so that I can have a look?
Kind regards,
 David


mathaeus.nierzwicki at solarenergy.ch wrote:
>
> Dear TRNSYS users,
>
>  
>
> I am currently running simulations on TRNSYS, which is connected to an 
> EES calculation (Engineering Equation Solver) and I experienced some 
> basic but severe problems.
>
>  
>
> 1.      It seems that there is a maximum number of EES-outputs, for 
> EES as well as for TRNSYS. EES maximum: in my case, the EES module 
> does not calculate, if there are more than 53 defined outputs (found 
> out by trial&error). TRNSYS maximum: the simulation stops after one 
> simulation period if there are more than 34 variables sent by EES to 
> TRNSYS (found out by trial&error). Thus one generally has to limit the 
> number of EES outputs.
>
> Questions:
>
> 1.1.Does this hold?
>
> 1.2.If yes, why?
>
> 1.3.Can I change or manipulate this? AND
>
> 1.4.If yes, how?
>
>  
>
> 2.      If the simulation is running (with less than or equal to 34 
> EES outputs), it is stopped after a time of 158 hours, which in my 
> case corresponds to 3160 time steps. EES seems to stop the simulation, 
> showing the warnings "Out of system resources" and "CANVAS does not 
> allow drawing".
>
> Presumably, the reason might be the clipboard size, which is filled by 
> too many symbols after the given period -- according to EES, there is 
> indeed a maximum of some 65.000 symbols that can be copied into the 
> clipboard. If this holds, I am asking myself, if this is this the 
> maximum number of symbols for A) a single copy-operation or B) for the 
> sum of all copy-operations? Well, A) cannot be true, because I do not 
> have such an amount of symbols defined as output. But if B) turns out 
> to be true, my clipboard has to be deleted as soon as it gets full. 
> Then, my questions would be:
>
> 2.1. Can the clipboard be deleted automatically without stopping the 
> simulation?
>
> 2.2. It this is so, how?
>
>  
>
> Thank you for your help,
>
>  
>
> Sincerely yours
>
>  
>
> Mathaeus Nierzwicki
>
>  
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> TRNSYS-users mailing list
> TRNSYS-users at cae.wisc.edu
> https://www-old.cae.wisc.edu/mailman/listinfo/trnsys-users
>   

-- 
***********************************************************************
Thermal Energy System Specialists (TESS), LLC 
David BRADLEY                      22 N. Carroll Street - Suite 370 
Partner                            Madison, WI 53703 
                                   USA
P: +1.608.274.2577 
F: +1.608.278.1475
E-mail: bradley at tess-inc.com 
Web Pages:  http://www.tess-inc.com    and      http://www.trnsys.com

***********************************************************************

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


More information about the TRNSYS-users mailing list