From GridLAB-D Wiki
Jump to: navigation, search

This object has some very bizarre implementation.

  1. I've already corrected this in the code, but using the z-value in your described matrices implies an impedance value at a certain frequency. Taking z and using it in the equation 1/(jwC) to replace C is incorrect. I would recommend that if you want to use frequency as an input, make it part of the y = Ax equation.
  2. Describing the constant current portion of the load as an angle and magnitude is very misleading (and implemented incorrectly in the code). Whenever describing an angle, it's always in reference to something. In this case it is not. In fact, for three phase power, it should be in reference to 3 different angles. Recommend re-writing this just like the other constant portions with a P and Q. Then describe the angle of the constant current in its relation to the phase it is being applied to. For example, a constant current load of 10 + 10j (P+Qj -> 14.14 < 45d) applied to phase B at voltage 120 < -120d, would then be applied as a current of 14.14 < -75d, while phase A at 120 < 0d would have a constant current applied at 14.14 < 45d.
  3. Are the linear transformation values supposed to be the total 3-phase power, or the power per phase?