You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Update ports from DSS-Python 0.13, integrating our base library, DSS C-API 0.13.
- add missing file
- DSS.AdvancedTypes mode: when enabled, can return complex numbers and matrices
- DSS.CompatFlags: some toggles for compatibility with the official OpenDSS on some specific points.
- DSS.AllowDOScmd: toggle running system commands from DSS scripts
- DSS.COMErrorResults: toggle returning empty "[]" vs "[0]" etc.
- fix many docstring typos
- fix some arrays of strings: some functions were broken during the DSSContext migration.
- use enums for some properties: easier to read, more maintainable.
Copy file name to clipboardExpand all lines: +DSS_MATLAB/IActiveClass.m
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -12,7 +12,7 @@
12
12
% ActiveClassParent - Get the name of the parent class of the active class
13
13
%
14
14
% Methods:
15
-
% ToJSON - Returns the data (as a list) of all elements from the active class as a JSON-encoded string. The `options` parameter contains bit-flags to toggle specific features. See `Obj_ToJSON` (C-API) for more. Additionally, the `ExcludeDisabled` flag can be used to excluded disabled elements from the output. (API Extension)
15
+
% ToJSON - Returns the data (as a list) of all elements from the active class as a JSON-encoded string. The `options` parameter contains bit-flags to toggle specific features. See `Obj_ToJSON` (C-API) for more. Additionally, the `ExcludeDisabled` flag can be used to excluded disabled elements from the output. (API Extension)
Copy file name to clipboardExpand all lines: +DSS_MATLAB/IBus.m
+30-19Lines changed: 30 additions & 19 deletions
Original file line number
Diff line number
Diff line change
@@ -16,20 +16,21 @@
16
16
% Nodes - Integer Array of Node Numbers defined at the bus in same order as the voltages.
17
17
% NumNodes - Number of Nodes this bus.
18
18
% SectionID - Integer ID of the feeder section in which this bus is located.
19
-
% SeqVoltages - Double Array of sequence voltages at this bus.
19
+
% SeqVoltages - Double Array of sequence voltages at this bus. Magnitudes only.
20
20
% TotalMiles - Total length of line downline from this bus, in miles. For recloser siting algorithm.
21
21
% VLL - For 2- and 3-phase buses, returns array of complex numbers represetin L-L voltages in volts. Returns -1.0 for 1-phase bus. If more than 3 phases, returns only first 3.
22
-
% VMagAngle - Array of doubles containing voltages in Magnitude (VLN), angle (deg)
22
+
% VMagAngle - Array of doubles containing voltages in Magnitude (VLN), angle (degrees)
23
23
% Voc - Open circuit voltage; Complex array.
24
24
% Voltages - Complex array of voltages at this bus.
25
25
% YscMatrix - Complex array of Ysc matrix at bus. Column by column.
26
26
% Zsc0 - Complex Zero-Sequence short circuit impedance at bus.
27
-
% Zsc1 - Complex Positive-Sequence short circuit impedance at bus..
27
+
% Zsc1 - Complex Positive-Sequence short circuit impedance at bus.
28
28
% ZscMatrix - Complex array of Zsc matrix at bus. Column by column.
29
29
% kVBase - Base voltage at bus in kV
30
30
% puVLL - Returns Complex array of pu L-L voltages for 2- and 3-phase buses. Returns -1.0 for 1-phase bus. If more than 3 phases, returns only 3 phases.
31
-
% puVmagAngle - Array of doubles containig voltage magnitude, angle pairs in per unit
31
+
% puVmagAngle - Array of doubles containing voltage magnitude, angle (degrees) pairs in per unit
32
32
% puVoltages - Complex Array of pu voltages at the bus.
33
+
% ZSC012Matrix - Array of doubles (complex) containing the complete 012 Zsc matrix. Only available after Zsc is computed, either through the "ZscRefresh" command, or running a "FaultStudy" solution. Only available for buses with 3 nodes.
33
34
% x - X Coordinate for bus (double)
34
35
% y - Y coordinate for bus(double)
35
36
% LoadList - List of strings: Full Names of LOAD elements connected to the active bus.
@@ -70,6 +71,7 @@
70
71
puVLL
71
72
puVmagAngle
72
73
puVoltages
74
+
ZSC012Matrix
73
75
x
74
76
y
75
77
LoadList
@@ -106,7 +108,7 @@
106
108
% (read-only) Complex Double array of Sequence Voltages (0, 1, 2) at this Bus.
% (read-only) For 2- and 3-phase buses, returns array of complex numbers represetin L-L voltages in volts. Returns -1.0 for 1-phase bus. If more than 3 phases, returns only first 3.
% (read-only) Returns Complex array of pu L-L voltages for 2- and 3-phase buses. Returns -1.0 for 1-phase bus. If more than 3 phases, returns only 3 phases.
0 commit comments