- Joined
- 27 Jan 2008
- Messages
- 23,801
- Reaction score
- 2,690
- Location
- Llanfair Caereinion, Nr Welshpool
- Country
I have used Excel many times for those calculations which come up again and again but thought I would try Java Script here is my attempt.
To work out volt drop and cable lengths as to if there are any errors not sure but instead of using Lookup as I would have done with Excel I used the for, and else but used standard figures for 1, 1.5, 2.5, 4, 6, 10 and 16 so any entries between will jump to standard sizes.
Seems to work OK it all started when I was told you can used 106 meters in a ring and be within the volt drop limits.
Entering 1.3 for Zs and 16A for Design current for circuit Ib does give some interesting results only 43 meters rather than 53 (half that used with ring) which does point to the problem when splitting a ring into two radials. It is of course the fact that the ring has a design current of 26 not 32 amp.
But also to get the 106 meters gives a ELI of 1.50 not 1.44 but the real pain was adding the correction for mA/V/m however the figures do seem to be tying in with what is said so think they are correct until some one points out my errors.
To work out volt drop and cable lengths as to if there are any errors not sure but instead of using Lookup as I would have done with Excel I used the for, and else but used standard figures for 1, 1.5, 2.5, 4, 6, 10 and 16 so any entries between will jump to standard sizes.
Seems to work OK it all started when I was told you can used 106 meters in a ring and be within the volt drop limits.
Entering 1.3 for Zs and 16A for Design current for circuit Ib does give some interesting results only 43 meters rather than 53 (half that used with ring) which does point to the problem when splitting a ring into two radials. It is of course the fact that the ring has a design current of 26 not 32 amp.
But also to get the 106 meters gives a ELI of 1.50 not 1.44 but the real pain was adding the correction for mA/V/m however the figures do seem to be tying in with what is said so think they are correct until some one points out my errors.