Message Boards Message Boards

0
|
3156 Views
|
2 Replies
|
0 Total Likes
View groups...
Share
Share this post:

Why is this calculation list returning the same value for each iteration?

POSTED BY: Drew Clark
2 Replies

I resolved the issue.

POSTED BY: Drew Clark

If date[[i, 6]] == 1 is True, then it will trigger solarcalc[[1, 2]] += solardata[[i, 3]] every time, for every line. That is why all position 2 are the same. Notice that for 'number of minutes' it was, date[[i, 6]] == 1 then date[[i, 6]] == 2 then date[[i, 6]] == 3 ...

Reply to this discussion
Community posts can be styled and formatted using the Markdown syntax.
Reply Preview
Attachments
Remove
or Discard

Group Abstract Group Abstract