[TRNSYS-users] windspeed tess tool

4 posts / 0 new
Last post

Dear people,
While i was implementing a way to take the height of the building into account I found out it is not possible to do something to the power in the calculator so i can not do (height module/height wheater station)^1/a, but then i came across the windspeed calculator tool in the tess library but this was does not have documentation yet so i opened the sourcecode but i could not figure out if you did to the power or used the one with ln function? I'm not a hero in Fortran, i saw something about making boundaries. So I hope someone can make this clear to me
Best regards,
Benjamin Stobbe

benjamin stobbe's picture
Offline
Joined: 2016-04-05
Reputation: 0

Hi,

you have to write:

(height module/height wheater station)**1/a

Best regards,
Jens

Am 28.01.2016 um 07:46 schrieb benjamin stobbe:

Jens Jungclaus's picture
Offline
Joined: 2016-04-05
Reputation: 0

Thanks Jens, also for the fast reply

benjamin stobbe's picture
Offline
Joined: 2016-04-05
Reputation: 0

TRNSYS understands the caret (aka circumflex accent, ^), even though it will
appear in red in the equation editor.
Also note that if you intend "1/a" to be the exponent you need parentheses:

result = variable^(1/a)
or
result = variable**(1/a)

Micha?l Kummert
Polytechnique Montr?al

=?iso-8859-1?Q?Micha=EBl_Kummert?='s picture
Joined: 2011-10-02
Reputation: 0