Lambda Order of Operations #96
Replies: 2 comments
-
The returned value should be 15 since there isn't anything making the values positive within the lambda. To do that you could do something like: Also, if you're getting negative watts when you shouldn't be, the CT is likely backwards on the wire. |
Beta Was this translation helpful? Give feedback.
-
Thanks. I'm trying to get rid of the transient negative values when nothing is running on the circuit. img I saw thread #87 where you gave the same advice. While going through and checking every single one of my 36 clamps sounds like a fun endeavor, it seem like throwing an abs() in front of things seems more fool proof. I was also thinking of an if statement to ignore all the values lower than 1 watt but I have not gotten that far. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
What's the order of operations on the lambda command.
Is it adding all the values then returning a positive? Or does it make every value positive before adding?
ct1=10
ct2=10
ct3= -5
Is the returned value 15 or 25?
Beta Was this translation helpful? Give feedback.
All reactions