[TRNSYS-users] trnsys dynamic component
David BRADLEY
d.bradley at tess-inc.com
Fri Jun 26 13:11:40 PDT 2015
Harper,
The recommended method in Trnsys17 is to use the setStaticArrayValue()
and getStaticArrayValue() functions. Both are discussed in the
07-Programmer's Guide.
If you want to continue with the older method then I would guess that
the range check error you are seeing comes from trying to access a spot
in the storage array that is beyond the range reserved by the Type.
Check to make sure that the setStorageSize() function call is correct.
kind regards,
David
On 06/25/2015 11:52, LUO Xiaojun wrote:
>
> Hi all:
>
>
> I'm trying to complie a dynamic component by Fortran 90. However, when
> I write *GetStoragevVars(stored,nitems,info)*, it always show the
> error "range check error". I'm not sure whether this function is
> useful in TRNSYS17 component. Have you ever complied any dynamic
> component in Trnsys, in which the variable is a function of time?
> Could you please give me some suggestions on how to use the dynamic
> storage in TRNSYS17?
>
>
> Thanks a lot,
>
> Harper
>
> City University of Hong Kong
>
>
>
>
> _______________________________________________
> TRNSYS-users mailing list
> TRNSYS-users at lists.onebuilding.org
> http://lists.onebuilding.org/listinfo.cgi/trnsys-users-onebuilding.org
--
***************************
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/20150626/fa5c8197/attachment-0003.htm>
More information about the TRNSYS-users
mailing list