Announcements

Announcement: We’re aware of an issue affecting starting a new topic from category pages and creating new blog posts. New topics can still be started directly from the relevant board. Learn more here.

Função ln em famílias

Função ln em famílias

alexandredDHM8H
Explorer Explorer
929 Views
6 Replies
Message 1 of 7

Função ln em famílias

alexandredDHM8H
Explorer
Explorer

Estou precisando realizar uma equação que utiliza ln (logaritmo natural) porém o Revit não está reconhecendo a função e retorna informando que o parâmetro é inválido, como posso utilizar essa função?

Alguém poderia postar um arquivo de família com esta função funcionando

0 Likes
Accepted solutions (1)
930 Views
6 Replies
Replies (6)
Message 2 of 7

RC_RVT
Advocate
Advocate

can you upload a screenshot of what you are trying to achieve?

0 Likes
Message 3 of 7

alexandredDHM8H
Explorer
Explorer

 

A equação descrita é : 60*(sqrt(ln(2*Altura do condutor/RC)*ln(2*Altura do condutor/Raio externo do condutor)))

alexandredDHM8H_3-1732637689437.pngalexandredDHM8H_3-1732637689437.png

 

a euquação que busco resolver seria  

alexandredDHM8H_2-1732637665728.pngalexandredDHM8H_2-1732637665728.png

 

 

0 Likes
Message 4 of 7

RC_RVT
Advocate
Advocate

Try this:

60*(sqrt((ln((2*Conductor Height)/RC))*(ln((2*Conductor Height)/Conductor Outer Radius))))
0 Likes
Message 5 of 7

alexandredDHM8H
Explorer
Explorer

O erro persiste, o ln é reconhecido como parâmetro e não como função logarítmica

alexandredDHM8H_0-1732647295805.pngalexandredDHM8H_0-1732647295805.png

 

0 Likes
Message 6 of 7

RC_RVT
Advocate
Advocate
Accepted solution

is it because you are trying to get the square root of a negative number? This seems to be the holdup when I test it my end. I may well be wrong, but just asking.

 

So I have split the formula up so that each section has its own parameter:

 

LN1 = ln((2 * Conductor Height) / RC)
LN2 = ln((2 * Conductor Height) / Conductor Outer Radius)
LN3 = LN1 * LN2
LN4 = 0 - LN3
Square Root Calc = sqrt(LN4)
Square Root Negative = 0 - Square Root Calc
Zs = 60 * Square Root Negative
Zs i = 0 - Zs

 

Not sure if you would need Zs i or not.

 

Does this work for you?

Picture 1.pngPicture 1.png

Message 7 of 7

RC_RVT
Advocate
Advocate

@alexandredDHM8H did this work for you?

0 Likes