[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [TRNSYS-users] Problem with TYPE190 (HYDROGEMS wind turbine)
Todd,
There is a bug in Type 190, it is not allocating storage correctly to
keep the power curve data. A side effect is that all units are storing /
retrieveing their data from the same place, which explains why all units
use data from the last one in the deck.
That bug was also present in Type 90 but it was fixed in 2002. Please
remember that the HYDROGEMS library is a free add-on provided "as-is".
If you want to fix the problem, you just have to change the following
section in the code (lines 1332 and after):
--- BEFORE ---
C SET NUMBER OF S ARRAY STORAGE SPOTS NEEDED (10 + 2 FOR EACH DATA PAIR)
INFO(10) = 10 + 2*NUM_PAIR
C READ DATA FILE AND STORE IT IN S ARRAY
--- AFTER ---
C SET NUMBER OF S ARRAY STORAGE SPOTS NEEDED (10 + 2 FOR EACH DATA PAIR)
INFO(10)=10 + 2*NUM_PAIR
! Allocate storate in the S Array by calling Typeck
CALL TYPECK(1,INFO,4,7,0)
C READ DATA FILE AND STORE IT IN S ARRAY
Note that the first comment line might be wrapped in this email,
everything up to "PAIR)" is on the same line.
I hope this helps,
Michaël Kummert
Todd Houstein wrote:
I am using TRNSYS 15 with IISiBat 3 to build a model of a Remote Area Power
System with two different types of wind turbine. I have previously written
in about this. Michael Kummert was correct in his reply... I had not given
the two components unique Logical Unit numbers (thanks Michael!)... Since I
have corrected this the simulation runs without error. However I now have a
different problem...
Both wind turbines end up being simulated with the same parameters.
The two components have different external files specified for them. The
external files have different power vs wind speed relationships defined
within them. I have tested them individually in a simulation and have
verified that they are being simulated as desired. But when I put them both
in the same project together they both take on the parameters from only one
of the external files. Interestingly, they both take on the parameters from
the external file of the one that is last in the specified component order!
Regards,
Todd Houstein
Hydrogen & Allied Renewable Technologies (HART) research team
School of Engineering
University of Tasmania
+61 3 6226 2094
-----Original Message-----
From: Michael Kummert
Sent: Wednesday, 13 October 2004 3:45
To: 'trnsys-users@engr.wisc.edu'
Subject: Re: [TRNSYS-users] Problem with TYPE190 (HYDROGEMS wind turbine)
Todd,
I'm using TRNSYS 15 with IISiBat 3 to build a model of a Remote Area
Power
System (RAPS) with two different types of wind turbine (both modeled
using
Type 190 from the HYDROGEMS library). The .dck file has no errors, but
the
.lst file shows one error...
***** ERROR ***** TRNSYS ERROR # 71
LOGICAL UNIT FOR ASSIGN STATEMENT HAS BEEN PREVIOUSLY ASSIGNED
*|? File with WECS parameters? |1000
It looks like you did not change the logical unit number (par(7)) in
Type 190. All logical unit numbers must be given a unique value.
I hope this helps,
Michael Kummert
--
_________________________________________________________
Michael Kummert
Solar Energy Laboratory - University of Wisconsin-Madison
1303 Engr Res Bldg, 1500 Engineering Drive
Madison, WI 53706
Tel: +1 (608) 263-1589
Fax: +1 (608) 262-8464
E-mail: kummert@engr.wisc.edu
SEL Web Site: http://sel.me.wisc.edu
TRNSYS Web Site: http://sel.me.wisc.edu/trnsys
_______________________________________________
TRNSYS-users mailing list
TRNSYS-users@engr.wisc.edu
https://www.cae.wisc.edu/mailman/listinfo/trnsys-users
_______________________________________________
TRNSYS-users mailing list
TRNSYS-users@engr.wisc.edu
https://www.cae.wisc.edu/mailman/listinfo/trnsys-users
--
_________________________________________________________
Michaël Kummert
Solar Energy Laboratory - University of Wisconsin-Madison
1303 Engr Res Bldg, 1500 Engineering Drive
Madison, WI 53706
Tel: +1 (608) 263-1589
Fax: +1 (608) 262-8464
E-mail: kummert@engr.wisc.edu
SEL Web Site: http://sel.me.wisc.edu
TRNSYS Web Site: http://sel.me.wisc.edu/trnsys