@@ -295,9 +295,17 @@ public enum DSSCompatFlags {
295295
296296 /// <summary>
297297 /// Toggle some InvControl behavior introduced in OpenDSS 9.6.1.1. It could be a regression
298- /// but needs further investigation, so we added this flag in the time being.
298+ /// but needs further investigation, so we added this flag in the time being.
299299 /// </summary>
300- InvControl9611 = 0x00000004
300+ InvControl9611 = 0x00000004,
301+
302+ /// <summary>
303+ /// When using "save circuit", the official OpenDSS always includes the "CalcVoltageBases" command in the
304+ /// saved script. We found that it is not always a good idea, so we removed the command (leaving it commented).
305+ /// Use this flag to enable the command in the saved script.
306+ /// </summary>
307+ SaveCalcVoltageBases = 0x00000008
308+
301309 };
302310
303311 public class Bus : ContextState
@@ -20604,6 +20612,9 @@ public double kVA
2060420612
2060520613 /// <summary>
2060620614 /// Complex array of voltages for active winding
20615+ ///
20616+ /// WARNING: If the transformer has open terminal(s), results may be wrong, i.e. avoid using this
20617+ /// in those situations. For more information, see https://github.com/dss-extensions/dss-extensions/issues/24
2060720618 /// </summary>
2060820619 public double[] WdgVoltages
2060920620 {
@@ -20623,6 +20634,9 @@ public double[] WdgVoltages
2062320634
2062420635 /// <summary>
2062520636 /// All Winding currents (ph1, wdg1, wdg2,... ph2, wdg1, wdg2 ...)
20637+ ///
20638+ /// WARNING: If the transformer has open terminal(s), results may be wrong, i.e. avoid using this
20639+ /// in those situations. For more information, see https://github.com/dss-extensions/dss-extensions/issues/24
2062620640 /// </summary>
2062720641 public double[] WdgCurrents
2062820642 {
@@ -20642,6 +20656,9 @@ public double[] WdgCurrents
2064220656
2064320657 /// <summary>
2064420658 /// All winding currents in CSV string form like the WdgCurrents property
20659+ ///
20660+ /// WARNING: If the transformer has open terminal(s), results may be wrong, i.e. avoid using this
20661+ /// in those situations. For more information, see https://github.com/dss-extensions/dss-extensions/issues/24
2064520662 /// </summary>
2064620663 public string strWdgCurrents
2064720664 {
0 commit comments