Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- {nodeVoltages: Array(11), totalPower: Array(1), xlength: Array(11)}
- nodeVoltages: Array(11)
- 0:48
- 1:47.71306060387108
- 2:47.250273223993105
- 3:46.59686907269243
- 4:45.71876416434013
- 5:44.53304242029258
- 6:42.745236969423615
- 7:Complex {re: 40.38334500994142, im:1.919295696316476, __ember1513267958317: "ember368"}
- 8:Complex { re:39.55961661806138, im:3.8933604519196416, __ember1513267958317: "ember369"}
- var nodeVoltage2 = parser.eval(expression2);
- //checks if there are imaginary values and removes them
- if (nodeVoltage2 == im) {
- nodeVoltage2.splice(2,1)
- }
- //adds value to result array for analysis
- nodeVoltages.push(nodeVoltage2);
Add Comment
Please, Sign In to add comment