Skip to content

Commit be77e3b

Browse files
committed
DSS C-API 0.13.2; comments updated; CI updated
1 parent 6d3dd2e commit be77e3b

25 files changed

+167
-165
lines changed

+DSS_MATLAB/IBus.m

Lines changed: 29 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
% IBus: DSS MATLAB interface class to DSS C-API
33
%
44
% Properties:
5-
% Coorddefined - False=0 else True. Indicates whether a coordinate has been defined for this bus
5+
% Coorddefined - Indicates whether a coordinate has been defined for this bus
66
% CplxSeqVoltages - Complex Double array of Sequence Voltages (0, 1, 2) at this Bus.
77
% Cust_Duration - Accumulated customer outage durations
88
% Cust_Interrupts - Annual number of customer-interruptions from this bus
@@ -99,183 +99,183 @@
9999
methods
100100

101101
function result = get.Coorddefined(obj)
102-
% (read-only) False=0 else True. Indicates whether a coordinate has been defined for this bus
102+
% Indicates whether a coordinate has been defined for this bus
103103
result = (calllib(obj.libname, 'ctx_Bus_Get_Coorddefined', obj.dssctx) ~= 0);
104104
obj.CheckForError();
105105
end
106106

107107
function result = get.CplxSeqVoltages(obj)
108-
% (read-only) Complex Double array of Sequence Voltages (0, 1, 2) at this Bus.
108+
% Complex Double array of Sequence Voltages (0, 1, 2) at this Bus.
109109
calllib(obj.libname, 'ctx_Bus_Get_CplxSeqVoltages_GR', obj.dssctx);
110110
obj.CheckForError();
111111
result = obj.apiutil.get_complex128_gr_array();
112112
end
113113

114114
function result = get.Cust_Duration(obj)
115-
% (read-only) Accumulated customer outage durations
115+
% Accumulated customer outage durations
116116
result = calllib(obj.libname, 'ctx_Bus_Get_Cust_Duration', obj.dssctx);
117117
obj.CheckForError();
118118
end
119119

120120
function result = get.Cust_Interrupts(obj)
121-
% (read-only) Annual number of customer-interruptions from this bus
121+
% Annual number of customer-interruptions from this bus
122122
result = calllib(obj.libname, 'ctx_Bus_Get_Cust_Interrupts', obj.dssctx);
123123
obj.CheckForError();
124124
end
125125

126126
function result = get.Distance(obj)
127-
% (read-only) Distance from energymeter (if non-zero)
127+
% Distance from energymeter (if non-zero)
128128
result = calllib(obj.libname, 'ctx_Bus_Get_Distance', obj.dssctx);
129129
obj.CheckForError();
130130
end
131131

132132
function result = get.Int_Duration(obj)
133-
% (read-only) Average interruption duration, hr.
133+
% Average interruption duration, hr.
134134
result = calllib(obj.libname, 'ctx_Bus_Get_Int_Duration', obj.dssctx);
135135
obj.CheckForError();
136136
end
137137

138138
function result = get.Isc(obj)
139-
% (read-only) Short circuit currents at bus; Complex Array.
139+
% Short circuit currents at bus; Complex Array.
140140
calllib(obj.libname, 'ctx_Bus_Get_Isc_GR', obj.dssctx);
141141
obj.CheckForError();
142142
result = obj.apiutil.get_complex128_gr_array();
143143
end
144144

145145
function result = get.Lambda(obj)
146-
% (read-only) Accumulated failure rate downstream from this bus; faults per year
146+
% Accumulated failure rate downstream from this bus; faults per year
147147
result = calllib(obj.libname, 'ctx_Bus_Get_Lambda', obj.dssctx);
148148
obj.CheckForError();
149149
end
150150

151151
function result = get.N_Customers(obj)
152-
% (read-only) Total numbers of customers served downline from this bus
152+
% Total numbers of customers served downline from this bus
153153
result = calllib(obj.libname, 'ctx_Bus_Get_N_Customers', obj.dssctx);
154154
obj.CheckForError();
155155
end
156156

157157
function result = get.N_interrupts(obj)
158-
% (read-only) Number of interruptions this bus per year
158+
% Number of interruptions this bus per year
159159
result = calllib(obj.libname, 'ctx_Bus_Get_N_interrupts', obj.dssctx);
160160
obj.CheckForError();
161161
end
162162

163163
function result = get.Name(obj)
164-
% (read-only) Name of Bus
164+
% Name of Bus
165165
result = calllib(obj.libname, 'ctx_Bus_Get_Name', obj.dssctx);
166166
obj.CheckForError();
167167
end
168168

169169
function result = get.Nodes(obj)
170-
% (read-only) Integer Array of Node Numbers defined at the bus in same order as the voltages.
170+
% Integer Array of Node Numbers defined at the bus in same order as the voltages.
171171
calllib(obj.libname, 'ctx_Bus_Get_Nodes_GR', obj.dssctx);
172172
obj.CheckForError();
173173
result = obj.apiutil.get_int32_gr_array();
174174
end
175175

176176
function result = get.NumNodes(obj)
177-
% (read-only) Number of Nodes this bus.
177+
% Number of Nodes this bus.
178178
result = calllib(obj.libname, 'ctx_Bus_Get_NumNodes', obj.dssctx);
179179
obj.CheckForError();
180180
end
181181

182182
function result = get.SectionID(obj)
183-
% (read-only) Integer ID of the feeder section in which this bus is located.
183+
% Integer ID of the feeder section in which this bus is located.
184184
result = calllib(obj.libname, 'ctx_Bus_Get_SectionID', obj.dssctx);
185185
obj.CheckForError();
186186
end
187187

188188
function result = get.SeqVoltages(obj)
189-
% (read-only) Double Array of sequence voltages at this bus. Magnitudes only.
189+
% Double Array of sequence voltages at this bus. Magnitudes only.
190190
calllib(obj.libname, 'ctx_Bus_Get_SeqVoltages_GR', obj.dssctx);
191191
obj.CheckForError();
192192
result = obj.apiutil.get_float64_gr_array();
193193
end
194194

195195
function result = get.TotalMiles(obj)
196-
% (read-only) Total length of line downline from this bus, in miles. For recloser siting algorithm.
196+
% Total length of line downline from this bus, in miles. For recloser siting algorithm.
197197
result = calllib(obj.libname, 'ctx_Bus_Get_TotalMiles', obj.dssctx);
198198
obj.CheckForError();
199199
end
200200

201201
function result = get.VLL(obj)
202-
% (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.
202+
% 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.
203203
calllib(obj.libname, 'ctx_Bus_Get_VLL_GR', obj.dssctx);
204204
obj.CheckForError();
205205
result = obj.apiutil.get_complex128_gr_array();
206206
end
207207

208208
function result = get.VMagAngle(obj)
209-
% (read-only) Array of doubles containing voltages in Magnitude (VLN), angle (degrees)
209+
% Array of doubles containing voltages in Magnitude (VLN), angle (degrees)
210210
calllib(obj.libname, 'ctx_Bus_Get_VMagAngle_GR', obj.dssctx);
211211
obj.CheckForError();
212212
result = obj.apiutil.get_float64_gr_array();
213213
end
214214

215215
function result = get.Voc(obj)
216-
% (read-only) Open circuit voltage; Complex array.
216+
% Open circuit voltage; Complex array.
217217
calllib(obj.libname, 'ctx_Bus_Get_Voc_GR', obj.dssctx);
218218
obj.CheckForError();
219219
result = obj.apiutil.get_complex128_gr_array();
220220
end
221221

222222
function result = get.Voltages(obj)
223-
% (read-only) Complex array of voltages at this bus.
223+
% Complex array of voltages at this bus.
224224
calllib(obj.libname, 'ctx_Bus_Get_Voltages_GR', obj.dssctx);
225225
obj.CheckForError();
226226
result = obj.apiutil.get_complex128_gr_array();
227227
end
228228

229229
function result = get.YscMatrix(obj)
230-
% (read-only) Complex array of Ysc matrix at bus. Column by column.
230+
% Complex array of Ysc matrix at bus. Column by column.
231231
calllib(obj.libname, 'ctx_Bus_Get_YscMatrix_GR', obj.dssctx);
232232
obj.CheckForError();
233233
result = obj.apiutil.get_complex128_gr_array();
234234
end
235235

236236
function result = get.Zsc0(obj)
237-
% (read-only) Complex Zero-Sequence short circuit impedance at bus.
237+
% Complex Zero-Sequence short circuit impedance at bus.
238238
calllib(obj.libname, 'ctx_Bus_Get_Zsc0_GR', obj.dssctx);
239239
obj.CheckForError();
240240
result = obj.apiutil.get_complex128_gr_simple();
241241
end
242242

243243
function result = get.Zsc1(obj)
244-
% (read-only) Complex Positive-Sequence short circuit impedance at bus.
244+
% Complex Positive-Sequence short circuit impedance at bus.
245245
calllib(obj.libname, 'ctx_Bus_Get_Zsc1_GR', obj.dssctx);
246246
obj.CheckForError();
247247
result = obj.apiutil.get_complex128_gr_simple();
248248
end
249249

250250
function result = get.ZscMatrix(obj)
251-
% (read-only) Complex array of Zsc matrix at bus. Column by column.
251+
% Complex array of Zsc matrix at bus. Column by column.
252252
calllib(obj.libname, 'ctx_Bus_Get_ZscMatrix_GR', obj.dssctx);
253253
obj.CheckForError();
254254
result = obj.apiutil.get_complex128_gr_array();
255255
end
256256

257257
function result = get.kVBase(obj)
258-
% (read-only) Base voltage at bus in kV
258+
% Base voltage at bus in kV
259259
result = calllib(obj.libname, 'ctx_Bus_Get_kVBase', obj.dssctx);
260260
obj.CheckForError();
261261
end
262262

263263
function result = get.puVLL(obj)
264-
% (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.
264+
% 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.
265265
calllib(obj.libname, 'ctx_Bus_Get_puVLL_GR', obj.dssctx);
266266
obj.CheckForError();
267267
result = obj.apiutil.get_complex128_gr_array();
268268
end
269269

270270
function result = get.puVmagAngle(obj)
271-
% (read-only) Array of doubles containing voltage magnitude, angle (degrees) pairs in per unit
271+
% Array of doubles containing voltage magnitude, angle (degrees) pairs in per unit
272272
calllib(obj.libname, 'ctx_Bus_Get_puVmagAngle_GR', obj.dssctx);
273273
obj.CheckForError();
274274
result = obj.apiutil.get_float64_gr_array();
275275
end
276276

277277
function result = get.puVoltages(obj)
278-
% (read-only) Complex Array of pu voltages at the bus.
278+
% Complex Array of pu voltages at the bus.
279279
calllib(obj.libname, 'ctx_Bus_Get_puVoltages_GR', obj.dssctx);
280280
obj.CheckForError();
281281
result = obj.apiutil.get_complex128_gr_array();

+DSS_MATLAB/ICapacitors.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,7 @@
104104

105105

106106
function result = get.AvailableSteps(obj)
107-
% (read-only) Number of Steps available in cap bank to be switched ON.
107+
% Number of Steps available in cap bank to be switched ON.
108108
result = calllib(obj.libname, 'ctx_Capacitors_Get_AvailableSteps', obj.dssctx);
109109
obj.CheckForError();
110110
end

0 commit comments

Comments
 (0)