DSS C-API and dss.hpp
DSS C-API and dss.hpp expose a customized and extended implementation of OpenDSS to C and C++.
dss_capi.h
Go to the documentation of this file.
1
2#ifndef DSS_CAPI_DLL_H
3#define DSS_CAPI_DLL_H
4#define DSS_CAPI_VERSION "0.12.1"
5#ifndef DSS_CAPI_DLL
6//#define DSS_CAPI_DLL __declspec(dllimport)
7#define DSS_CAPI_DLL
8#endif
9
10#ifdef __cplusplus
11# ifdef _MSC_VER
12# if _MSC_VER <= 1500
13# include "./stdint_compat.h"
14# else
15# include <cstdint>
16# endif
17# else
18# include <cstdint>
19# include <cstddef>
20# endif
21#else
22# ifdef _MSC_VER
23# if _MSC_VER <= 1500
24# include "./stdint_compat.h"
25# else
26# include <stdint.h>
27# endif
28# else
29# include <stdint.h>
30# include <stddef.h>
31# endif
32#endif
33
34#ifdef __cplusplus
35#ifdef DSS_CAPI_NAMESPACE
36namespace dss { namespace capi {
37#endif
38extern "C" {
39#else
40#endif
42 MonitorModes_VI = 0x00000000,
43 MonitorModes_Power = 0x00000001,
44 MonitorModes_Taps = 0x00000002,
45 MonitorModes_States = 0x00000003,
46 MonitorModes_Sequence = 0x00000010,
48 MonitorModes_PosOnly = 0x00000040
49 };
50
68 };
69
73 };
74
78 };
79
86 };
87
88 enum CktModels {
91 };
92
97 };
98
102 };
103
110 };
111
121 };
122
123 enum GeneratorStatus {
124 GeneratorStatus_Variable = 0,
125 GeneratorStatus_Fixed = 1
126 };
127
128 enum LoadStatus {
129 LoadStatus_Variable = 0,
130 LoadStatus_Fixed = 1,
131 LoadStatus_Exempt = 2
132 };
133
134 enum LoadModels {
135 LoadModels_ConstPQ = 1,
136 LoadModels_ConstZ = 2,
137 LoadModels_Motor = 3,
138 LoadModels_CVR = 4,
139 LoadModels_ConstI = 5,
140 LoadModels_ConstPFixedQ = 6,
141 LoadModels_ConstPFixedX = 7,
142 LoadModels_ZIPV = 8
143 };
144
156 };
157
160 YMatrixModes_WholeMatrix = 2
161 };
162
165 StorageStates_Idling = 0,
166 StorageStates_Discharging = 1
167 };
168
171 DSSMessageType_Error = -1,
172 DSSMessageType_General = 0,
173 DSSMessageType_Info = 1,
174 DSSMessageType_Help = 2,
175 DSSMessageType_Progress = 3,
176 DSSMessageType_ProgressCaption = 4,
177 DSSMessageType_ProgressFormCaption = 5,
178 DSSMessageType_ProgressPercent = 6,
179 DSSMessageType_FireOffEditor = 7
180 };
181
182 enum DSSJSONFlags {
183 DSSJSONFlags_Full = 0x00000001, // 1 << 0,
184 DSSJSONFlags_SkipRedundant = 0x00000002, // 1 << 1;
185 DSSJSONFlags_EnumAsInt = 0x00000004, // 1 << 2,
186 DSSJSONFlags_FullNames = 0x00000008, // 1 << 3,
187 DSSJSONFlags_Pretty = 0x00000010, // 1 << 4,
188 DSSJSONFlags_ExcludeDisabled = 0x00000020, // 1 << 5,
189 DSSJSONFlags_State = 0x00000040, // 1 << 6, // NOT IMPLEMENTED
190 DSSJSONFlags_Debug = 0x00000080 // 1 << 7 // NOT IMPLEMENTED
191 };
192
193 enum BatchOperation {
194 BatchOperation_Set = 0,
195 BatchOperation_Multiply = 1,
196 BatchOperation_Increment = 2
197 };
198
202 SolverOptions_ReuseNothing = 0,
207 };
208
215 typedef int32_t (*dss_callback_plot_t)(void* ctx, char* jsonParams);
216 typedef int32_t (*dss_callback_message_t)(void* ctx, char* messageStr, int32_t messageType);
217
218 /* Functions start here */
219
220 DSS_CAPI_DLL void DSS_ResetStringBuffer(void);
221 DSS_CAPI_DLL void DSS_Dispose_PByte(int8_t** p);
222 DSS_CAPI_DLL void DSS_Dispose_PDouble(double** p);
223 DSS_CAPI_DLL void DSS_Dispose_PInteger(int32_t** p);
224 DSS_CAPI_DLL void DSS_Dispose_PPAnsiChar(char ***p, int32_t cnt);
225 DSS_CAPI_DLL char* DSS_Get_PAnsiChar(void *p, int32_t index);
226
230 DSS_CAPI_DLL void DSS_DisposeGRData(void);
231
239 DSS_CAPI_DLL void DSS_GetGRPointers(
240 char**** DataPtr_PPAnsiChar,
241 double*** DataPtr_PDouble,
242 int32_t*** DataPtr_PInteger,
243 int8_t*** DataPtr_PByte,
244 int32_t** CountPtr_PPAnsiChar,
245 int32_t** CountPtr_PDouble,
246 int32_t** CountPtr_PInteger,
247 int32_t** CountPtr_PByte
248 );
249
251 DSS_CAPI_DLL double* DSS_GR_DataPtr_PDouble(void);
252 DSS_CAPI_DLL int32_t* DSS_GR_DataPtr_PInteger(void);
253 DSS_CAPI_DLL int8_t* DSS_GR_DataPtr_PByte(void);
254 DSS_CAPI_DLL int32_t* DSS_GR_CountPtr_PDouble(void);
255 DSS_CAPI_DLL int32_t* DSS_GR_CountPtr_PInteger(void);
256 DSS_CAPI_DLL int32_t* DSS_GR_CountPtr_PByte(void);
257
258 DSS_CAPI_DLL void DSS_RegisterPlotCallback(dss_callback_plot_t cb);
259 DSS_CAPI_DLL void DSS_RegisterMessageCallback(dss_callback_message_t cb);
260
261 DSS_CAPI_DLL void DSS_NewCircuit(const char* Value);
262
266 DSS_CAPI_DLL void ActiveClass_Get_AllNames(char*** ResultPtr, int32_t* ResultCount);
270 DSS_CAPI_DLL void ActiveClass_Get_AllNames_GR(void);
271
275 DSS_CAPI_DLL int32_t ActiveClass_Get_First(void);
276
280 DSS_CAPI_DLL int32_t ActiveClass_Get_Next(void);
281
285 DSS_CAPI_DLL char* ActiveClass_Get_Name(void);
286
287 DSS_CAPI_DLL void ActiveClass_Set_Name(const char* Value);
288
292 DSS_CAPI_DLL int32_t ActiveClass_Get_NumElements(void);
293
297 DSS_CAPI_DLL char* ActiveClass_Get_ActiveClassName(void);
298
302 DSS_CAPI_DLL int32_t ActiveClass_Get_Count(void);
303
307 DSS_CAPI_DLL char* ActiveClass_Get_ActiveClassParent(void);
308
319 DSS_CAPI_DLL char* ActiveClass_ToJSON(int32_t options);
320
324 DSS_CAPI_DLL char* Bus_Get_Name(void);
325
329 DSS_CAPI_DLL int32_t Bus_Get_NumNodes(void);
330
334 DSS_CAPI_DLL void Bus_Get_SeqVoltages(double** ResultPtr, int32_t* ResultCount);
338 DSS_CAPI_DLL void Bus_Get_SeqVoltages_GR(void);
339
343 DSS_CAPI_DLL void Bus_Get_Voltages(double** ResultPtr, int32_t* ResultCount);
347 DSS_CAPI_DLL void Bus_Get_Voltages_GR(void);
348
352 DSS_CAPI_DLL void Bus_Get_Nodes(int32_t** ResultPtr, int32_t* ResultCount);
356 DSS_CAPI_DLL void Bus_Get_Nodes_GR(void);
357
361 DSS_CAPI_DLL void Bus_Get_Isc(double** ResultPtr, int32_t* ResultCount);
365 DSS_CAPI_DLL void Bus_Get_Isc_GR(void);
366
370 DSS_CAPI_DLL void Bus_Get_Voc(double** ResultPtr, int32_t* ResultCount);
374 DSS_CAPI_DLL void Bus_Get_Voc_GR(void);
375
379 DSS_CAPI_DLL double Bus_Get_kVBase(void);
380
384 DSS_CAPI_DLL void Bus_Get_puVoltages(double** ResultPtr, int32_t* ResultCount);
388 DSS_CAPI_DLL void Bus_Get_puVoltages_GR(void);
389
393 DSS_CAPI_DLL void Bus_Get_Zsc0(double** ResultPtr, int32_t* ResultCount);
397 DSS_CAPI_DLL void Bus_Get_Zsc0_GR(void);
398
402 DSS_CAPI_DLL void Bus_Get_Zsc1(double** ResultPtr, int32_t* ResultCount);
406 DSS_CAPI_DLL void Bus_Get_Zsc1_GR(void);
407
411 DSS_CAPI_DLL void Bus_Get_ZscMatrix(double** ResultPtr, int32_t* ResultCount);
415 DSS_CAPI_DLL void Bus_Get_ZscMatrix_GR(void);
416
417 DSS_CAPI_DLL uint16_t Bus_ZscRefresh(void);
418
422 DSS_CAPI_DLL void Bus_Get_YscMatrix(double** ResultPtr, int32_t* ResultCount);
426 DSS_CAPI_DLL void Bus_Get_YscMatrix_GR(void);
427
431 DSS_CAPI_DLL uint16_t Bus_Get_Coorddefined(void);
432
436 DSS_CAPI_DLL double Bus_Get_x(void);
437
441 DSS_CAPI_DLL void Bus_Set_x(double Value);
442
446 DSS_CAPI_DLL double Bus_Get_y(void);
447
451 DSS_CAPI_DLL void Bus_Set_y(double Value);
452
456 DSS_CAPI_DLL double Bus_Get_Distance(void);
457
458 DSS_CAPI_DLL int32_t Bus_GetUniqueNodeNumber(int32_t StartNumber);
459
463 DSS_CAPI_DLL void Bus_Get_CplxSeqVoltages(double** ResultPtr, int32_t* ResultCount);
467 DSS_CAPI_DLL void Bus_Get_CplxSeqVoltages_GR(void);
468
472 DSS_CAPI_DLL double Bus_Get_Int_Duration(void);
473
477 DSS_CAPI_DLL double Bus_Get_Lambda(void);
478
482 DSS_CAPI_DLL double Bus_Get_Cust_Duration(void);
483
487 DSS_CAPI_DLL double Bus_Get_Cust_Interrupts(void);
488
492 DSS_CAPI_DLL int32_t Bus_Get_N_Customers(void);
493
497 DSS_CAPI_DLL double Bus_Get_N_interrupts(void);
498
502 DSS_CAPI_DLL void Bus_Get_puVLL(double** ResultPtr, int32_t* ResultCount);
506 DSS_CAPI_DLL void Bus_Get_puVLL_GR(void);
507
511 DSS_CAPI_DLL void Bus_Get_VLL(double** ResultPtr, int32_t* ResultCount);
515 DSS_CAPI_DLL void Bus_Get_VLL_GR(void);
516
520 DSS_CAPI_DLL void Bus_Get_puVmagAngle(double** ResultPtr, int32_t* ResultCount);
524 DSS_CAPI_DLL void Bus_Get_puVmagAngle_GR(void);
525
529 DSS_CAPI_DLL void Bus_Get_VMagAngle(double** ResultPtr, int32_t* ResultCount);
533 DSS_CAPI_DLL void Bus_Get_VMagAngle_GR(void);
534
538 DSS_CAPI_DLL double Bus_Get_TotalMiles(void);
539
543 DSS_CAPI_DLL int32_t Bus_Get_SectionID(void);
544
548 DSS_CAPI_DLL void Bus_Get_LineList(char*** ResultPtr, int32_t* ResultCount);
549
553 DSS_CAPI_DLL void Bus_Get_LineList_GR(void);
554
558 DSS_CAPI_DLL void Bus_Get_LoadList(char*** ResultPtr, int32_t* ResultCount);
559
563 DSS_CAPI_DLL void Bus_Get_LoadList_GR(void);
564
568 DSS_CAPI_DLL void Bus_Get_ZSC012Matrix(double** ResultPtr, int32_t* ResultCount);
572 DSS_CAPI_DLL void Bus_Get_ZSC012Matrix_GR(void);
573
577 DSS_CAPI_DLL void Bus_Get_AllPCEatBus(char*** ResultPtr, int32_t* ResultCount);
578
582 DSS_CAPI_DLL void Bus_Get_AllPDEatBus(char*** ResultPtr, int32_t* ResultCount);
583
587 DSS_CAPI_DLL void Capacitors_Get_AllNames(char*** ResultPtr, int32_t* ResultCount);
591 DSS_CAPI_DLL void Capacitors_Get_AllNames_GR(void);
592
596 DSS_CAPI_DLL int32_t Capacitors_Get_First(void);
597
601 DSS_CAPI_DLL uint16_t Capacitors_Get_IsDelta(void);
602
606 DSS_CAPI_DLL double Capacitors_Get_kV(void);
607
611 DSS_CAPI_DLL double Capacitors_Get_kvar(void);
612
616 DSS_CAPI_DLL char* Capacitors_Get_Name(void);
617
621 DSS_CAPI_DLL int32_t Capacitors_Get_Next(void);
622
626 DSS_CAPI_DLL int32_t Capacitors_Get_NumSteps(void);
627
631 DSS_CAPI_DLL void Capacitors_Set_IsDelta(uint16_t Value);
632
636 DSS_CAPI_DLL void Capacitors_Set_kV(double Value);
637
641 DSS_CAPI_DLL void Capacitors_Set_kvar(double Value);
642
646 DSS_CAPI_DLL void Capacitors_Set_Name(const char* Value);
647
651 DSS_CAPI_DLL void Capacitors_Set_NumSteps(int32_t Value);
652
656 DSS_CAPI_DLL int32_t Capacitors_Get_Count(void);
657
658 DSS_CAPI_DLL uint16_t Capacitors_AddStep(void);
659
660 DSS_CAPI_DLL uint16_t Capacitors_SubtractStep(void);
661
665 DSS_CAPI_DLL int32_t Capacitors_Get_AvailableSteps(void);
666
670 DSS_CAPI_DLL void Capacitors_Get_States(int32_t** ResultPtr, int32_t* ResultCount);
674 DSS_CAPI_DLL void Capacitors_Get_States_GR(void);
675
679 DSS_CAPI_DLL void Capacitors_Set_States(int32_t* ValuePtr, int32_t ValueCount);
680
681 DSS_CAPI_DLL void Capacitors_Open(void);
682
683 DSS_CAPI_DLL void Capacitors_Close(void);
684
688 DSS_CAPI_DLL void CapControls_Get_AllNames(char*** ResultPtr, int32_t* ResultCount);
692 DSS_CAPI_DLL void CapControls_Get_AllNames_GR(void);
693
697 DSS_CAPI_DLL char* CapControls_Get_Capacitor(void);
698
702 DSS_CAPI_DLL double CapControls_Get_CTratio(void);
703
704 DSS_CAPI_DLL double CapControls_Get_DeadTime(void);
705
709 DSS_CAPI_DLL double CapControls_Get_Delay(void);
710
714 DSS_CAPI_DLL double CapControls_Get_DelayOff(void);
715
719 DSS_CAPI_DLL int32_t CapControls_Get_First(void);
720
724 DSS_CAPI_DLL int32_t CapControls_Get_Mode(void);
725
729 DSS_CAPI_DLL char* CapControls_Get_MonitoredObj(void);
730
734 DSS_CAPI_DLL int32_t CapControls_Get_MonitoredTerm(void);
735
739 DSS_CAPI_DLL char* CapControls_Get_Name(void);
740
744 DSS_CAPI_DLL int32_t CapControls_Get_Next(void);
745
749 DSS_CAPI_DLL double CapControls_Get_OFFSetting(void);
750
754 DSS_CAPI_DLL double CapControls_Get_ONSetting(void);
755
759 DSS_CAPI_DLL double CapControls_Get_PTratio(void);
760
764 DSS_CAPI_DLL uint16_t CapControls_Get_UseVoltOverride(void);
765
769 DSS_CAPI_DLL double CapControls_Get_Vmax(void);
770
774 DSS_CAPI_DLL double CapControls_Get_Vmin(void);
775
779 DSS_CAPI_DLL void CapControls_Set_Capacitor(const char* Value);
780
784 DSS_CAPI_DLL void CapControls_Set_CTratio(double Value);
785
786 DSS_CAPI_DLL void CapControls_Set_DeadTime(double Value);
787
791 DSS_CAPI_DLL void CapControls_Set_Delay(double Value);
792
796 DSS_CAPI_DLL void CapControls_Set_DelayOff(double Value);
797
801 DSS_CAPI_DLL void CapControls_Set_Mode(int32_t Value);
802
806 DSS_CAPI_DLL void CapControls_Set_MonitoredObj(const char* Value);
807
811 DSS_CAPI_DLL void CapControls_Set_MonitoredTerm(int32_t Value);
812
816 DSS_CAPI_DLL void CapControls_Set_Name(const char* Value);
817
821 DSS_CAPI_DLL void CapControls_Set_OFFSetting(double Value);
822
826 DSS_CAPI_DLL void CapControls_Set_ONSetting(double Value);
827
831 DSS_CAPI_DLL void CapControls_Set_PTratio(double Value);
832
836 DSS_CAPI_DLL void CapControls_Set_UseVoltOverride(uint16_t Value);
837
841 DSS_CAPI_DLL void CapControls_Set_Vmax(double Value);
842
846 DSS_CAPI_DLL void CapControls_Set_Vmin(double Value);
847
851 DSS_CAPI_DLL int32_t CapControls_Get_Count(void);
852
853 DSS_CAPI_DLL void CapControls_Reset(void);
854
858 DSS_CAPI_DLL char* Circuit_Get_Name(void);
859
863 DSS_CAPI_DLL int32_t Circuit_Get_NumBuses(void);
864
868 DSS_CAPI_DLL int32_t Circuit_Get_NumCktElements(void);
869
873 DSS_CAPI_DLL int32_t Circuit_Get_NumNodes(void);
874
878 DSS_CAPI_DLL void Circuit_Get_LineLosses(double** ResultPtr, int32_t* ResultCount);
882 DSS_CAPI_DLL void Circuit_Get_LineLosses_GR(void);
883
887 DSS_CAPI_DLL void Circuit_Get_Losses(double** ResultPtr, int32_t* ResultCount);
891 DSS_CAPI_DLL void Circuit_Get_Losses_GR(void);
892
896 DSS_CAPI_DLL void Circuit_Get_AllBusVmag(double** ResultPtr, int32_t* ResultCount);
900 DSS_CAPI_DLL void Circuit_Get_AllBusVmag_GR(void);
901
905 DSS_CAPI_DLL void Circuit_Get_AllBusVolts(double** ResultPtr, int32_t* ResultCount);
909 DSS_CAPI_DLL void Circuit_Get_AllBusVolts_GR(void);
910
914 DSS_CAPI_DLL void Circuit_Get_AllElementNames(char*** ResultPtr, int32_t* ResultCount);
918 DSS_CAPI_DLL void Circuit_Get_AllElementNames_GR(void);
919
923 DSS_CAPI_DLL void Circuit_Get_SubstationLosses(double** ResultPtr, int32_t* ResultCount);
927 DSS_CAPI_DLL void Circuit_Get_SubstationLosses_GR(void);
928
932 DSS_CAPI_DLL void Circuit_Get_TotalPower(double** ResultPtr, int32_t* ResultCount);
936 DSS_CAPI_DLL void Circuit_Get_TotalPower_GR(void);
937
938 DSS_CAPI_DLL void Circuit_Disable(const char* Name);
939
940 DSS_CAPI_DLL void Circuit_Enable(const char* Name);
941
942 DSS_CAPI_DLL int32_t Circuit_FirstPCElement(void);
943
944 DSS_CAPI_DLL int32_t Circuit_FirstPDElement(void);
945
946 DSS_CAPI_DLL int32_t Circuit_NextPCElement(void);
947
948 DSS_CAPI_DLL int32_t Circuit_NextPDElement(void);
949
953 DSS_CAPI_DLL void Circuit_Get_AllBusNames(char*** ResultPtr, int32_t* ResultCount);
957 DSS_CAPI_DLL void Circuit_Get_AllBusNames_GR(void);
958
962 DSS_CAPI_DLL void Circuit_Get_AllElementLosses(double** ResultPtr, int32_t* ResultCount);
966 DSS_CAPI_DLL void Circuit_Get_AllElementLosses_GR(void);
967
968 DSS_CAPI_DLL void Circuit_Sample(void);
969
970 DSS_CAPI_DLL void Circuit_SaveSample(void);
971
972 DSS_CAPI_DLL int32_t Circuit_SetActiveElement(const char* FullName);
973
974 DSS_CAPI_DLL double Circuit_Capacity(double Start, double Increment);
975
979 DSS_CAPI_DLL void Circuit_Get_AllBusVmagPu(double** ResultPtr, int32_t* ResultCount);
983 DSS_CAPI_DLL void Circuit_Get_AllBusVmagPu_GR(void);
984
985 DSS_CAPI_DLL int32_t Circuit_SetActiveBus(const char* BusName);
986
987 DSS_CAPI_DLL int32_t Circuit_SetActiveBusi(int32_t BusIndex);
988
992 DSS_CAPI_DLL void Circuit_Get_AllNodeNames(char*** ResultPtr, int32_t* ResultCount);
996 DSS_CAPI_DLL void Circuit_Get_AllNodeNames_GR(void);
997
1001 DSS_CAPI_DLL void Circuit_Get_SystemY(double** ResultPtr, int32_t* ResultCount);
1005 DSS_CAPI_DLL void Circuit_Get_SystemY_GR(void);
1006
1010 DSS_CAPI_DLL void Circuit_Get_AllBusDistances(double** ResultPtr, int32_t* ResultCount);
1014 DSS_CAPI_DLL void Circuit_Get_AllBusDistances_GR(void);
1015
1019 DSS_CAPI_DLL void Circuit_Get_AllNodeDistances(double** ResultPtr, int32_t* ResultCount);
1023 DSS_CAPI_DLL void Circuit_Get_AllNodeDistances_GR(void);
1024
1028 DSS_CAPI_DLL void Circuit_Get_AllNodeDistancesByPhase(double** ResultPtr, int32_t* ResultCount, int32_t Phase);
1032 DSS_CAPI_DLL void Circuit_Get_AllNodeDistancesByPhase_GR(int32_t Phase);
1033
1037 DSS_CAPI_DLL void Circuit_Get_AllNodeVmagByPhase(double** ResultPtr, int32_t* ResultCount, int32_t Phase);
1041 DSS_CAPI_DLL void Circuit_Get_AllNodeVmagByPhase_GR(int32_t Phase);
1042
1046 DSS_CAPI_DLL void Circuit_Get_AllNodeVmagPUByPhase(double** ResultPtr, int32_t* ResultCount, int32_t Phase);
1050 DSS_CAPI_DLL void Circuit_Get_AllNodeVmagPUByPhase_GR(int32_t Phase);
1051
1055 DSS_CAPI_DLL void Circuit_Get_AllNodeNamesByPhase(char*** ResultPtr, int32_t* ResultCount, int32_t Phase);
1059 DSS_CAPI_DLL void Circuit_Get_AllNodeNamesByPhase_GR(int32_t Phase);
1060
1061 DSS_CAPI_DLL int32_t Circuit_SetActiveClass(const char* ClassName);
1062
1063 DSS_CAPI_DLL int32_t Circuit_FirstElement(void);
1064
1065 DSS_CAPI_DLL int32_t Circuit_NextElement(void);
1066
1067 DSS_CAPI_DLL void Circuit_UpdateStorage(void);
1068
1072 DSS_CAPI_DLL int32_t Circuit_Get_ParentPDElement(void);
1073
1074 DSS_CAPI_DLL void Circuit_EndOfTimeStepUpdate(void);
1075
1079 DSS_CAPI_DLL void Circuit_Get_YNodeOrder(char*** ResultPtr, int32_t* ResultCount);
1083 DSS_CAPI_DLL void Circuit_Get_YNodeOrder_GR(void);
1084
1088 DSS_CAPI_DLL void Circuit_Get_YCurrents(double** ResultPtr, int32_t* ResultCount);
1092 DSS_CAPI_DLL void Circuit_Get_YCurrents_GR(void);
1093
1097 DSS_CAPI_DLL void Circuit_Get_YNodeVarray(double** ResultPtr, int32_t* ResultCount);
1101 DSS_CAPI_DLL void Circuit_Get_YNodeVarray_GR(void);
1102 DSS_CAPI_DLL void Circuit_SetCktElementName(const char* Value);
1103 DSS_CAPI_DLL void Circuit_SetCktElementIndex(int32_t Value);
1104
1108 DSS_CAPI_DLL void CktElement_Get_BusNames(char*** ResultPtr, int32_t* ResultCount);
1112 DSS_CAPI_DLL void CktElement_Get_BusNames_GR(void);
1113
1117 DSS_CAPI_DLL char* CktElement_Get_Name(void);
1118
1122 DSS_CAPI_DLL int32_t CktElement_Get_NumConductors(void);
1123
1127 DSS_CAPI_DLL int32_t CktElement_Get_NumPhases(void);
1128
1132 DSS_CAPI_DLL int32_t CktElement_Get_NumTerminals(void);
1133
1137 DSS_CAPI_DLL void CktElement_Set_BusNames(const char** ValuePtr, int32_t ValueCount);
1138
1142 DSS_CAPI_DLL void CktElement_Get_Currents(double** ResultPtr, int32_t* ResultCount);
1146 DSS_CAPI_DLL void CktElement_Get_Currents_GR(void);
1147
1151 DSS_CAPI_DLL void CktElement_Get_Voltages(double** ResultPtr, int32_t* ResultCount);
1155 DSS_CAPI_DLL void CktElement_Get_Voltages_GR(void);
1156
1160 DSS_CAPI_DLL double CktElement_Get_EmergAmps(void);
1161
1165 DSS_CAPI_DLL uint16_t CktElement_Get_Enabled(void);
1166
1170 DSS_CAPI_DLL void CktElement_Get_Losses(double** ResultPtr, int32_t* ResultCount);
1174 DSS_CAPI_DLL void CktElement_Get_Losses_GR(void);
1175
1179 DSS_CAPI_DLL double CktElement_Get_NormalAmps(void);
1180
1184 DSS_CAPI_DLL void CktElement_Get_PhaseLosses(double** ResultPtr, int32_t* ResultCount);
1188 DSS_CAPI_DLL void CktElement_Get_PhaseLosses_GR(void);
1189
1193 DSS_CAPI_DLL void CktElement_Get_Powers(double** ResultPtr, int32_t* ResultCount);
1197 DSS_CAPI_DLL void CktElement_Get_Powers_GR(void);
1198
1202 DSS_CAPI_DLL void CktElement_Get_SeqCurrents(double** ResultPtr, int32_t* ResultCount);
1206 DSS_CAPI_DLL void CktElement_Get_SeqCurrents_GR(void);
1207
1211 DSS_CAPI_DLL void CktElement_Get_SeqPowers(double** ResultPtr, int32_t* ResultCount);
1215 DSS_CAPI_DLL void CktElement_Get_SeqPowers_GR(void);
1216
1220 DSS_CAPI_DLL void CktElement_Get_SeqVoltages(double** ResultPtr, int32_t* ResultCount);
1224 DSS_CAPI_DLL void CktElement_Get_SeqVoltages_GR(void);
1225
1226 DSS_CAPI_DLL void CktElement_Close(int32_t Term, int32_t Phs);
1227
1228 DSS_CAPI_DLL void CktElement_Open(int32_t Term, int32_t Phs);
1229
1233 DSS_CAPI_DLL void CktElement_Set_EmergAmps(double Value);
1234
1238 DSS_CAPI_DLL void CktElement_Set_Enabled(uint16_t Value);
1239
1243 DSS_CAPI_DLL void CktElement_Set_NormalAmps(double Value);
1244
1245 DSS_CAPI_DLL uint16_t CktElement_IsOpen(int32_t Term, int32_t Phs);
1246
1250 DSS_CAPI_DLL void CktElement_Get_AllPropertyNames(char*** ResultPtr, int32_t* ResultCount);
1254 DSS_CAPI_DLL void CktElement_Get_AllPropertyNames_GR(void);
1255
1259 DSS_CAPI_DLL int32_t CktElement_Get_NumProperties(void);
1260
1264 DSS_CAPI_DLL void CktElement_Get_Residuals(double** ResultPtr, int32_t* ResultCount);
1268 DSS_CAPI_DLL void CktElement_Get_Residuals_GR(void);
1269
1273 DSS_CAPI_DLL void CktElement_Get_Yprim(double** ResultPtr, int32_t* ResultCount);
1277 DSS_CAPI_DLL void CktElement_Get_Yprim_GR(void);
1278
1282 DSS_CAPI_DLL char* CktElement_Get_DisplayName(void);
1283
1287 DSS_CAPI_DLL char* CktElement_Get_GUID(void);
1288
1292 DSS_CAPI_DLL int32_t CktElement_Get_Handle(void);
1293
1297 DSS_CAPI_DLL void CktElement_Set_DisplayName(const char* Value);
1298
1302 DSS_CAPI_DLL char* CktElement_Get_Controller(int32_t idx);
1303
1307 DSS_CAPI_DLL char* CktElement_Get_EnergyMeter(void);
1308
1312 DSS_CAPI_DLL uint16_t CktElement_Get_HasVoltControl(void);
1313
1317 DSS_CAPI_DLL uint16_t CktElement_Get_HasSwitchControl(void);
1318
1322 DSS_CAPI_DLL void CktElement_Get_CplxSeqVoltages(double** ResultPtr, int32_t* ResultCount);
1326 DSS_CAPI_DLL void CktElement_Get_CplxSeqVoltages_GR(void);
1327
1331 DSS_CAPI_DLL void CktElement_Get_CplxSeqCurrents(double** ResultPtr, int32_t* ResultCount);
1335 DSS_CAPI_DLL void CktElement_Get_CplxSeqCurrents_GR(void);
1336
1340 DSS_CAPI_DLL void CktElement_Get_AllVariableNames(char*** ResultPtr, int32_t* ResultCount);
1344 DSS_CAPI_DLL void CktElement_Get_AllVariableNames_GR(void);
1345
1349 DSS_CAPI_DLL void CktElement_Get_AllVariableValues(double** ResultPtr, int32_t* ResultCount);
1354
1358 DSS_CAPI_DLL double CktElement_Get_Variable(const char* MyVarName, int32_t *Code);
1359 DSS_CAPI_DLL void CktElement_Set_Variable(const char* MyVarName, int32_t *Code, double Value);
1360
1364 DSS_CAPI_DLL double CktElement_Get_Variablei(int32_t Idx, int32_t *Code);
1365 DSS_CAPI_DLL void CktElement_Set_Variablei(int32_t Idx, int32_t *Code, double Value);
1366
1371 DSS_CAPI_DLL void CktElement_Get_NodeOrder(int32_t** ResultPtr, int32_t* ResultCount);
1375 DSS_CAPI_DLL void CktElement_Get_NodeOrder_GR(void);
1376
1380 DSS_CAPI_DLL uint16_t CktElement_Get_HasOCPDevice(void);
1381
1385 DSS_CAPI_DLL int32_t CktElement_Get_NumControls(void);
1386
1390 DSS_CAPI_DLL int32_t CktElement_Get_OCPDevIndex(void);
1391
1395 DSS_CAPI_DLL int32_t CktElement_Get_OCPDevType(void);
1396
1400 DSS_CAPI_DLL void CktElement_Get_CurrentsMagAng(double** ResultPtr, int32_t* ResultCount);
1404 DSS_CAPI_DLL void CktElement_Get_CurrentsMagAng_GR(void);
1405
1409 DSS_CAPI_DLL void CktElement_Get_VoltagesMagAng(double** ResultPtr, int32_t* ResultCount);
1413 DSS_CAPI_DLL void CktElement_Get_VoltagesMagAng_GR(void);
1414
1419 DSS_CAPI_DLL uint16_t CktElement_Get_IsIsolated(void);
1420
1424 DSS_CAPI_DLL void CktElement_Get_TotalPowers(double** ResultPtr, int32_t* ResultCount);
1425
1429 DSS_CAPI_DLL void CktElement_Get_TotalPowers_GR(void);
1430
1434 DSS_CAPI_DLL void CmathLib_Get_cmplx(double** ResultPtr, int32_t* ResultCount, double RealPart, double ImagPart);
1438 DSS_CAPI_DLL void CmathLib_Get_cmplx_GR(double RealPart, double ImagPart);
1439
1443 DSS_CAPI_DLL double CmathLib_Get_cabs(double realpart, double imagpart);
1444
1448 DSS_CAPI_DLL double CmathLib_Get_cdang(double RealPart, double ImagPart);
1449
1453 DSS_CAPI_DLL void CmathLib_Get_ctopolardeg(double** ResultPtr, int32_t* ResultCount, double RealPart, double ImagPart);
1457 DSS_CAPI_DLL void CmathLib_Get_ctopolardeg_GR(double RealPart, double ImagPart);
1458
1462 DSS_CAPI_DLL void CmathLib_Get_pdegtocomplex(double** ResultPtr, int32_t* ResultCount, double magnitude, double angle);
1466 DSS_CAPI_DLL void CmathLib_Get_pdegtocomplex_GR(double magnitude, double angle);
1467
1471 DSS_CAPI_DLL void CmathLib_Get_cmul(double** ResultPtr, int32_t* ResultCount, double a1, double b1, double a2, double b2);
1475 DSS_CAPI_DLL void CmathLib_Get_cmul_GR(double a1, double b1, double a2, double b2);
1476
1480 DSS_CAPI_DLL void CmathLib_Get_cdiv(double** ResultPtr, int32_t* ResultCount, double a1, double b1, double a2, double b2);
1484 DSS_CAPI_DLL void CmathLib_Get_cdiv_GR(double a1, double b1, double a2, double b2);
1485
1486 DSS_CAPI_DLL void CtrlQueue_ClearQueue(void);
1487
1488 DSS_CAPI_DLL void CtrlQueue_Delete(int32_t ActionHandle);
1489
1493 DSS_CAPI_DLL int32_t CtrlQueue_Get_ActionCode(void);
1494
1498 DSS_CAPI_DLL int32_t CtrlQueue_Get_DeviceHandle(void);
1499
1503 DSS_CAPI_DLL int32_t CtrlQueue_Get_NumActions(void);
1504
1508 DSS_CAPI_DLL int32_t CtrlQueue_Push(int32_t Hour, double Seconds, int32_t ActionCode, int32_t DeviceHandle);
1509
1510 DSS_CAPI_DLL void CtrlQueue_Show(void);
1511
1512 DSS_CAPI_DLL void CtrlQueue_ClearActions(void);
1513
1517 DSS_CAPI_DLL int32_t CtrlQueue_Get_PopAction(void);
1518
1522 DSS_CAPI_DLL void CtrlQueue_Set_Action(int32_t Param1);
1523
1527 DSS_CAPI_DLL int32_t CtrlQueue_Get_QueueSize(void);
1528
1529 DSS_CAPI_DLL void CtrlQueue_DoAllQueue(void);
1530
1534 DSS_CAPI_DLL void CtrlQueue_Get_Queue(char*** ResultPtr, int32_t* ResultCount);
1538 DSS_CAPI_DLL void CtrlQueue_Get_Queue_GR(void);
1539
1543 DSS_CAPI_DLL int32_t DSS_Get_NumCircuits(void);
1544
1545 DSS_CAPI_DLL void DSS_ClearAll(void);
1546
1550 DSS_CAPI_DLL char* DSS_Get_Version(void);
1551
1561 DSS_CAPI_DLL uint16_t DSS_Start(int32_t code);
1562
1566 DSS_CAPI_DLL void DSS_Get_Classes(char*** ResultPtr, int32_t* ResultCount);
1570 DSS_CAPI_DLL void DSS_Get_Classes_GR(void);
1571
1575 DSS_CAPI_DLL void DSS_Get_UserClasses(char*** ResultPtr, int32_t* ResultCount);
1579 DSS_CAPI_DLL void DSS_Get_UserClasses_GR(void);
1580
1584 DSS_CAPI_DLL int32_t DSS_Get_NumClasses(void);
1585
1589 DSS_CAPI_DLL int32_t DSS_Get_NumUserClasses(void);
1590
1594 DSS_CAPI_DLL char* DSS_Get_DataPath(void);
1595
1599 DSS_CAPI_DLL void DSS_Set_DataPath(const char* Value);
1600
1601 DSS_CAPI_DLL void DSS_Reset(void);
1602
1606 DSS_CAPI_DLL char* DSS_Get_DefaultEditor(void);
1607
1608 DSS_CAPI_DLL int32_t DSS_SetActiveClass(const char* ClassName);
1609 DSS_CAPI_DLL uint16_t DSS_Get_AllowForms(void);
1610 DSS_CAPI_DLL void DSS_Set_AllowForms(uint16_t Value);
1611
1619 DSS_CAPI_DLL uint16_t DSS_Get_AllowEditor(void);
1620 DSS_CAPI_DLL void DSS_Set_AllowEditor(uint16_t Value);
1621
1633 DSS_CAPI_DLL uint16_t DSS_Get_LegacyModels(void);
1634 DSS_CAPI_DLL void DSS_Set_LegacyModels(uint16_t Value);
1635
1646 DSS_CAPI_DLL uint16_t DSS_Get_AllowDOScmd(void);
1647 DSS_CAPI_DLL void DSS_Set_AllowDOScmd(uint16_t Value);
1648
1663 DSS_CAPI_DLL uint16_t DSS_Get_AllowChangeDir(void);
1664 DSS_CAPI_DLL void DSS_Set_AllowChangeDir(uint16_t Value);
1665
1682 DSS_CAPI_DLL uint16_t DSS_Get_COMErrorResults(void);
1683 DSS_CAPI_DLL void DSS_Set_COMErrorResults(uint16_t Value);
1684
1688 DSS_CAPI_DLL void DSSElement_Get_AllPropertyNames(char*** ResultPtr, int32_t* ResultCount);
1692 DSS_CAPI_DLL void DSSElement_Get_AllPropertyNames_GR(void);
1693
1697 DSS_CAPI_DLL char* DSSElement_Get_Name(void);
1698
1702 DSS_CAPI_DLL int32_t DSSElement_Get_NumProperties(void);
1703
1712 DSS_CAPI_DLL char* DSSElement_ToJSON(int32_t options);
1713
1714 DSS_CAPI_DLL void DSSimComs_BusVoltagepu(double** ResultPtr, int32_t* ResultCount, size_t Index);
1718 DSS_CAPI_DLL void DSSimComs_BusVoltagepu_GR(size_t Index);
1719
1720 DSS_CAPI_DLL void DSSimComs_BusVoltage(double** ResultPtr, int32_t* ResultCount, size_t Index);
1724 DSS_CAPI_DLL void DSSimComs_BusVoltage_GR(size_t Index);
1725
1726 DSS_CAPI_DLL void DSSProgress_Close(void);
1727
1731 DSS_CAPI_DLL void DSSProgress_Set_Caption(const char* Value);
1732
1736 DSS_CAPI_DLL void DSSProgress_Set_PctProgress(int32_t Value);
1737
1738 DSS_CAPI_DLL void DSSProgress_Show(void);
1739
1743 DSS_CAPI_DLL char* DSSProperty_Get_Description(void);
1744
1748 DSS_CAPI_DLL char* DSSProperty_Get_Name(void);
1749
1750 DSS_CAPI_DLL char* DSSProperty_Get_Val(void);
1751
1752 DSS_CAPI_DLL void DSSProperty_Set_Val(const char* Value);
1753 DSS_CAPI_DLL void DSSProperty_Set_Name(const char* Value);
1754 DSS_CAPI_DLL void DSSProperty_Set_Index(int32_t Value);
1755
1759 DSS_CAPI_DLL char* DSS_Executive_Get_Command(int32_t i);
1760
1764 DSS_CAPI_DLL int32_t DSS_Executive_Get_NumCommands(void);
1765
1769 DSS_CAPI_DLL int32_t DSS_Executive_Get_NumOptions(void);
1770
1774 DSS_CAPI_DLL char* DSS_Executive_Get_Option(int32_t i);
1775
1779 DSS_CAPI_DLL char* DSS_Executive_Get_CommandHelp(int32_t i);
1780
1784 DSS_CAPI_DLL char* DSS_Executive_Get_OptionHelp(int32_t i);
1785
1789 DSS_CAPI_DLL char* DSS_Executive_Get_OptionValue(int32_t i);
1790
1794 DSS_CAPI_DLL char* Error_Get_Description(void);
1795
1799 DSS_CAPI_DLL int32_t Error_Get_Number(void);
1800
1804 DSS_CAPI_DLL int32_t* Error_Get_NumberPtr(void);
1805
1809 DSS_CAPI_DLL void Fuses_Get_AllNames(char*** ResultPtr, int32_t* ResultCount);
1813 DSS_CAPI_DLL void Fuses_Get_AllNames_GR(void);
1814
1818 DSS_CAPI_DLL int32_t Fuses_Get_Count(void);
1819
1823 DSS_CAPI_DLL int32_t Fuses_Get_First(void);
1824
1828 DSS_CAPI_DLL char* Fuses_Get_Name(void);
1829
1833 DSS_CAPI_DLL int32_t Fuses_Get_Next(void);
1834
1838 DSS_CAPI_DLL void Fuses_Set_Name(const char* Value);
1839
1843 DSS_CAPI_DLL char* Fuses_Get_MonitoredObj(void);
1844
1848 DSS_CAPI_DLL int32_t Fuses_Get_MonitoredTerm(void);
1849
1853 DSS_CAPI_DLL char* Fuses_Get_SwitchedObj(void);
1854
1858 DSS_CAPI_DLL void Fuses_Set_MonitoredObj(const char* Value);
1859
1863 DSS_CAPI_DLL void Fuses_Set_MonitoredTerm(int32_t Value);
1864
1868 DSS_CAPI_DLL void Fuses_Set_SwitchedObj(const char* Value);
1869
1873 DSS_CAPI_DLL int32_t Fuses_Get_SwitchedTerm(void);
1874
1878 DSS_CAPI_DLL void Fuses_Set_SwitchedTerm(int32_t Value);
1879
1883 DSS_CAPI_DLL char* Fuses_Get_TCCcurve(void);
1884
1888 DSS_CAPI_DLL void Fuses_Set_TCCcurve(const char* Value);
1889
1893 DSS_CAPI_DLL double Fuses_Get_RatedCurrent(void);
1894
1898 DSS_CAPI_DLL void Fuses_Set_RatedCurrent(double Value);
1899
1903 DSS_CAPI_DLL double Fuses_Get_Delay(void);
1904
1908 DSS_CAPI_DLL void Fuses_Open(void);
1909
1913 DSS_CAPI_DLL void Fuses_Close(void);
1914
1918 DSS_CAPI_DLL void Fuses_Set_Delay(double Value);
1919
1923 DSS_CAPI_DLL uint16_t Fuses_IsBlown(void);
1924
1928 DSS_CAPI_DLL int32_t Fuses_Get_idx(void);
1929
1933 DSS_CAPI_DLL void Fuses_Set_idx(int32_t Value);
1934
1938 DSS_CAPI_DLL void Fuses_Reset(void);
1939
1943 DSS_CAPI_DLL void Fuses_Get_State(char*** ResultPtr, int32_t* ResultCount);
1944
1948 DSS_CAPI_DLL void Fuses_Set_State(const char** ValuePtr, int32_t ValueCount);
1949
1953 DSS_CAPI_DLL void Fuses_Get_NormalState(char*** ResultPtr, int32_t* ResultCount);
1954
1958 DSS_CAPI_DLL void Fuses_Set_NormalState(const char** ValuePtr, int32_t ValueCount);
1959
1963 DSS_CAPI_DLL int32_t Fuses_Get_NumPhases(void);
1964
1968 DSS_CAPI_DLL void Generators_Get_AllNames(char*** ResultPtr, int32_t* ResultCount);
1972 DSS_CAPI_DLL void Generators_Get_AllNames_GR(void);
1973
1977 DSS_CAPI_DLL int32_t Generators_Get_First(void);
1978
1982 DSS_CAPI_DLL char* Generators_Get_Name(void);
1983
1987 DSS_CAPI_DLL int32_t Generators_Get_Next(void);
1988
1992 DSS_CAPI_DLL void Generators_Get_RegisterNames(char*** ResultPtr, int32_t* ResultCount);
1996 DSS_CAPI_DLL void Generators_Get_RegisterNames_GR(void);
1997
2001 DSS_CAPI_DLL void Generators_Get_RegisterValues(double** ResultPtr, int32_t* ResultCount);
2005 DSS_CAPI_DLL void Generators_Get_RegisterValues_GR(void);
2006
2010 DSS_CAPI_DLL uint16_t Generators_Get_ForcedON(void);
2011
2015 DSS_CAPI_DLL void Generators_Set_ForcedON(uint16_t Value);
2016
2020 DSS_CAPI_DLL void Generators_Set_Name(const char* Value);
2021
2025 DSS_CAPI_DLL double Generators_Get_kV(void);
2026
2030 DSS_CAPI_DLL double Generators_Get_kvar(void);
2031
2035 DSS_CAPI_DLL double Generators_Get_kW(void);
2036
2040 DSS_CAPI_DLL double Generators_Get_PF(void);
2041
2045 DSS_CAPI_DLL int32_t Generators_Get_Phases(void);
2046
2050 DSS_CAPI_DLL void Generators_Set_kV(double Value);
2051
2055 DSS_CAPI_DLL void Generators_Set_kvar(double Value);
2056
2060 DSS_CAPI_DLL void Generators_Set_kW(double Value);
2061
2065 DSS_CAPI_DLL void Generators_Set_PF(double Value);
2066
2070 DSS_CAPI_DLL void Generators_Set_Phases(int32_t Value);
2071
2075 DSS_CAPI_DLL int32_t Generators_Get_Count(void);
2076
2080 DSS_CAPI_DLL int32_t Generators_Get_idx(void);
2081
2085 DSS_CAPI_DLL void Generators_Set_idx(int32_t Value);
2086
2090 DSS_CAPI_DLL int32_t Generators_Get_Model(void);
2091
2095 DSS_CAPI_DLL void Generators_Set_Model(int32_t Value);
2096
2100 DSS_CAPI_DLL double Generators_Get_kVArated(void);
2101
2105 DSS_CAPI_DLL void Generators_Set_kVArated(double Value);
2106
2110 DSS_CAPI_DLL double Generators_Get_Vmaxpu(void);
2111
2115 DSS_CAPI_DLL double Generators_Get_Vminpu(void);
2116
2120 DSS_CAPI_DLL void Generators_Set_Vmaxpu(double Value);
2121
2125 DSS_CAPI_DLL void Generators_Set_Vminpu(double Value);
2126
2132 DSS_CAPI_DLL char* Generators_Get_daily(void);
2133 DSS_CAPI_DLL void Generators_Set_daily(const char* Value);
2134
2140 DSS_CAPI_DLL char* Generators_Get_duty(void);
2141 DSS_CAPI_DLL void Generators_Set_duty(const char* Value);
2142
2148 DSS_CAPI_DLL char* Generators_Get_Yearly(void);
2149 DSS_CAPI_DLL void Generators_Set_Yearly(const char* Value);
2150
2158 DSS_CAPI_DLL int32_t Generators_Get_Status(void);
2159 DSS_CAPI_DLL void Generators_Set_Status(int32_t Value);
2160
2166 DSS_CAPI_DLL uint16_t Generators_Get_IsDelta(void);
2167 DSS_CAPI_DLL void Generators_Set_IsDelta(uint16_t Value);
2168
2174 DSS_CAPI_DLL double Generators_Get_kva(void);
2175 DSS_CAPI_DLL void Generators_Set_kva(double Value);
2176
2182 DSS_CAPI_DLL int32_t Generators_Get_Class_(void);
2183 DSS_CAPI_DLL void Generators_Set_Class_(int32_t Value);
2184
2190 DSS_CAPI_DLL char* Generators_Get_Bus1(void);
2191 DSS_CAPI_DLL void Generators_Set_Bus1(const char* Value);
2192
2196 DSS_CAPI_DLL void GICSources_Get_AllNames(char*** ResultPtr, int32_t* ResultCount);
2200 DSS_CAPI_DLL void GICSources_Get_AllNames_GR(void);
2201
2205 DSS_CAPI_DLL int32_t GICSources_Get_Count(void);
2206
2210 DSS_CAPI_DLL int32_t GICSources_Get_First(void);
2211
2215 DSS_CAPI_DLL int32_t GICSources_Get_Next(void);
2216
2220 DSS_CAPI_DLL char* GICSources_Get_Name(void);
2221
2225 DSS_CAPI_DLL void GICSources_Set_Name(const char* Value);
2226
2230 DSS_CAPI_DLL int32_t GICSources_Get_Phases(void);
2231
2235 DSS_CAPI_DLL void GICSources_Set_Phases(int32_t Value);
2236
2240 DSS_CAPI_DLL char* GICSources_Get_Bus1(void);
2241
2245 DSS_CAPI_DLL char* GICSources_Get_Bus2(void);
2246
2250 DSS_CAPI_DLL double GICSources_Get_EN(void);
2251
2255 DSS_CAPI_DLL void GICSources_Set_EN(double Value);
2256
2260 DSS_CAPI_DLL double GICSources_Get_EE(void);
2261
2265 DSS_CAPI_DLL void GICSources_Set_EE(double Value);
2266
2270 DSS_CAPI_DLL double GICSources_Get_Lat1(void);
2271
2275 DSS_CAPI_DLL void GICSources_Set_Lat1(double Value);
2276
2280 DSS_CAPI_DLL double GICSources_Get_Lat2(void);
2281
2285 DSS_CAPI_DLL void GICSources_Set_Lat2(double Value);
2286
2290 DSS_CAPI_DLL double GICSources_Get_Lon1(void);
2291
2295 DSS_CAPI_DLL void GICSources_Set_Lon1(double Value);
2296
2300 DSS_CAPI_DLL double GICSources_Get_Lon2(void);
2301
2305 DSS_CAPI_DLL void GICSources_Set_Lon2(double Value);
2306
2310 DSS_CAPI_DLL double GICSources_Get_Volts(void);
2311
2315 DSS_CAPI_DLL void GICSources_Set_Volts(double Value);
2316
2320 DSS_CAPI_DLL void ISources_Get_AllNames(char*** ResultPtr, int32_t* ResultCount);
2324 DSS_CAPI_DLL void ISources_Get_AllNames_GR(void);
2325
2329 DSS_CAPI_DLL int32_t ISources_Get_Count(void);
2330
2334 DSS_CAPI_DLL int32_t ISources_Get_First(void);
2335
2339 DSS_CAPI_DLL int32_t ISources_Get_Next(void);
2340
2344 DSS_CAPI_DLL char* ISources_Get_Name(void);
2345
2349 DSS_CAPI_DLL void ISources_Set_Name(const char* Value);
2350
2354 DSS_CAPI_DLL double ISources_Get_Amps(void);
2355
2359 DSS_CAPI_DLL void ISources_Set_Amps(double Value);
2360
2364 DSS_CAPI_DLL double ISources_Get_AngleDeg(void);
2365
2369 DSS_CAPI_DLL double ISources_Get_Frequency(void);
2370
2374 DSS_CAPI_DLL void ISources_Set_AngleDeg(double Value);
2375
2379 DSS_CAPI_DLL void ISources_Set_Frequency(double Value);
2380
2384 DSS_CAPI_DLL int32_t LineCodes_Get_Count(void);
2385
2386 DSS_CAPI_DLL int32_t LineCodes_Get_First(void);
2387
2388 DSS_CAPI_DLL int32_t LineCodes_Get_Next(void);
2389
2393 DSS_CAPI_DLL char* LineCodes_Get_Name(void);
2394
2395 DSS_CAPI_DLL void LineCodes_Set_Name(const char* Value);
2396
2400 DSS_CAPI_DLL uint16_t LineCodes_Get_IsZ1Z0(void);
2401
2402 DSS_CAPI_DLL int32_t LineCodes_Get_Units(void);
2403
2404 DSS_CAPI_DLL void LineCodes_Set_Units(int32_t Value);
2405
2409 DSS_CAPI_DLL int32_t LineCodes_Get_Phases(void);
2410
2414 DSS_CAPI_DLL void LineCodes_Set_Phases(int32_t Value);
2415
2419 DSS_CAPI_DLL double LineCodes_Get_R1(void);
2420
2421 DSS_CAPI_DLL void LineCodes_Set_R1(double Value);
2422
2426 DSS_CAPI_DLL double LineCodes_Get_X1(void);
2427
2428 DSS_CAPI_DLL void LineCodes_Set_X1(double Value);
2429
2433 DSS_CAPI_DLL double LineCodes_Get_R0(void);
2434
2438 DSS_CAPI_DLL double LineCodes_Get_X0(void);
2439
2440 DSS_CAPI_DLL void LineCodes_Set_R0(double Value);
2441
2442 DSS_CAPI_DLL void LineCodes_Set_X0(double Value);
2443
2447 DSS_CAPI_DLL double LineCodes_Get_C0(void);
2448
2452 DSS_CAPI_DLL double LineCodes_Get_C1(void);
2453
2454 DSS_CAPI_DLL void LineCodes_Set_C0(double Value);
2455
2456 DSS_CAPI_DLL void LineCodes_Set_C1(double Value);
2457
2461 DSS_CAPI_DLL void LineCodes_Get_Cmatrix(double** ResultPtr, int32_t* ResultCount);
2465 DSS_CAPI_DLL void LineCodes_Get_Cmatrix_GR(void);
2466
2470 DSS_CAPI_DLL void LineCodes_Get_Rmatrix(double** ResultPtr, int32_t* ResultCount);
2474 DSS_CAPI_DLL void LineCodes_Get_Rmatrix_GR(void);
2475
2479 DSS_CAPI_DLL void LineCodes_Get_Xmatrix(double** ResultPtr, int32_t* ResultCount);
2483 DSS_CAPI_DLL void LineCodes_Get_Xmatrix_GR(void);
2484
2485 DSS_CAPI_DLL void LineCodes_Set_Cmatrix(double* ValuePtr, int32_t ValueCount);
2486
2487 DSS_CAPI_DLL void LineCodes_Set_Rmatrix(double* ValuePtr, int32_t ValueCount);
2488
2489 DSS_CAPI_DLL void LineCodes_Set_Xmatrix(double* ValuePtr, int32_t ValueCount);
2490
2494 DSS_CAPI_DLL double LineCodes_Get_NormAmps(void);
2495
2496 DSS_CAPI_DLL void LineCodes_Set_NormAmps(double Value);
2497
2501 DSS_CAPI_DLL double LineCodes_Get_EmergAmps(void);
2502
2503 DSS_CAPI_DLL void LineCodes_Set_EmergAmps(double Value);
2504
2508 DSS_CAPI_DLL void LineCodes_Get_AllNames(char*** ResultPtr, int32_t* ResultCount);
2512 DSS_CAPI_DLL void LineCodes_Get_AllNames_GR(void);
2513
2517 DSS_CAPI_DLL void Lines_Get_AllNames(char*** ResultPtr, int32_t* ResultCount);
2521 DSS_CAPI_DLL void Lines_Get_AllNames_GR(void);
2522
2526 DSS_CAPI_DLL char* Lines_Get_Bus1(void);
2527
2531 DSS_CAPI_DLL char* Lines_Get_Bus2(void);
2532
2536 DSS_CAPI_DLL int32_t Lines_Get_First(void);
2537
2541 DSS_CAPI_DLL double Lines_Get_Length(void);
2542
2546 DSS_CAPI_DLL char* Lines_Get_LineCode(void);
2547
2551 DSS_CAPI_DLL char* Lines_Get_Name(void);
2552
2556 DSS_CAPI_DLL int32_t Lines_Get_Next(void);
2557
2561 DSS_CAPI_DLL int32_t Lines_Get_Phases(void);
2562
2566 DSS_CAPI_DLL double Lines_Get_R1(void);
2567
2571 DSS_CAPI_DLL double Lines_Get_X1(void);
2572
2573 DSS_CAPI_DLL int32_t Lines_New(const char* Name);
2574
2578 DSS_CAPI_DLL void Lines_Set_Bus1(const char* Value);
2579
2583 DSS_CAPI_DLL void Lines_Set_Bus2(const char* Value);
2584
2588 DSS_CAPI_DLL void Lines_Set_Length(double Value);
2589
2593 DSS_CAPI_DLL void Lines_Set_LineCode(const char* Value);
2594
2598 DSS_CAPI_DLL void Lines_Set_Name(const char* Value);
2599
2603 DSS_CAPI_DLL void Lines_Set_Phases(int32_t Value);
2604
2608 DSS_CAPI_DLL void Lines_Set_R1(double Value);
2609
2613 DSS_CAPI_DLL void Lines_Set_X1(double Value);
2614
2618 DSS_CAPI_DLL double Lines_Get_C0(void);
2619
2623 DSS_CAPI_DLL double Lines_Get_C1(void);
2624
2625 DSS_CAPI_DLL void Lines_Get_Cmatrix(double** ResultPtr, int32_t* ResultCount);
2629 DSS_CAPI_DLL void Lines_Get_Cmatrix_GR(void);
2630
2634 DSS_CAPI_DLL double Lines_Get_R0(void);
2635
2639 DSS_CAPI_DLL void Lines_Get_Rmatrix(double** ResultPtr, int32_t* ResultCount);
2643 DSS_CAPI_DLL void Lines_Get_Rmatrix_GR(void);
2644
2648 DSS_CAPI_DLL double Lines_Get_X0(void);
2649
2650 DSS_CAPI_DLL void Lines_Get_Xmatrix(double** ResultPtr, int32_t* ResultCount);
2654 DSS_CAPI_DLL void Lines_Get_Xmatrix_GR(void);
2655
2659 DSS_CAPI_DLL void Lines_Set_C0(double Value);
2660
2664 DSS_CAPI_DLL void Lines_Set_C1(double Value);
2665
2666 DSS_CAPI_DLL void Lines_Set_Cmatrix(double* ValuePtr, int32_t ValueCount);
2667
2671 DSS_CAPI_DLL void Lines_Set_R0(double Value);
2672
2676 DSS_CAPI_DLL void Lines_Set_Rmatrix(double* ValuePtr, int32_t ValueCount);
2677
2681 DSS_CAPI_DLL void Lines_Set_X0(double Value);
2682
2683 DSS_CAPI_DLL void Lines_Set_Xmatrix(double* ValuePtr, int32_t ValueCount);
2684
2688 DSS_CAPI_DLL double Lines_Get_EmergAmps(void);
2689
2693 DSS_CAPI_DLL double Lines_Get_NormAmps(void);
2694
2698 DSS_CAPI_DLL void Lines_Set_EmergAmps(double Value);
2699
2703 DSS_CAPI_DLL void Lines_Set_NormAmps(double Value);
2704
2708 DSS_CAPI_DLL char* Lines_Get_Geometry(void);
2709
2713 DSS_CAPI_DLL void Lines_Set_Geometry(const char* Value);
2714
2718 DSS_CAPI_DLL double Lines_Get_Rg(void);
2719
2723 DSS_CAPI_DLL double Lines_Get_Rho(void);
2724
2728 DSS_CAPI_DLL double Lines_Get_Xg(void);
2729
2733 DSS_CAPI_DLL void Lines_Set_Rg(double Value);
2734
2738 DSS_CAPI_DLL void Lines_Set_Rho(double Value);
2739
2743 DSS_CAPI_DLL void Lines_Set_Xg(double Value);
2744
2748 DSS_CAPI_DLL void Lines_Get_Yprim(double** ResultPtr, int32_t* ResultCount);
2752 DSS_CAPI_DLL void Lines_Get_Yprim_GR(void);
2753
2757 DSS_CAPI_DLL void Lines_Set_Yprim(double* ValuePtr, int32_t ValueCount);
2758
2762 DSS_CAPI_DLL int32_t Lines_Get_NumCust(void);
2763
2767 DSS_CAPI_DLL int32_t Lines_Get_TotalCust(void);
2768
2772 DSS_CAPI_DLL int32_t Lines_Get_Parent(void);
2773
2777 DSS_CAPI_DLL int32_t Lines_Get_Count(void);
2778
2782 DSS_CAPI_DLL char* Lines_Get_Spacing(void);
2783
2787 DSS_CAPI_DLL void Lines_Set_Spacing(const char* Value);
2788
2789 DSS_CAPI_DLL int32_t Lines_Get_Units(void);
2790
2791 DSS_CAPI_DLL void Lines_Set_Units(int32_t Value);
2792
2796 DSS_CAPI_DLL double Lines_Get_SeasonRating(void);
2797
2801 DSS_CAPI_DLL uint16_t Lines_Get_IsSwitch(void);
2802 DSS_CAPI_DLL void Lines_Set_IsSwitch(uint16_t Value);
2803
2807 DSS_CAPI_DLL void Loads_Get_AllNames(char*** ResultPtr, int32_t* ResultCount);
2811 DSS_CAPI_DLL void Loads_Get_AllNames_GR(void);
2812
2816 DSS_CAPI_DLL int32_t Loads_Get_First(void);
2817
2818 DSS_CAPI_DLL int32_t Loads_Get_idx(void);
2819
2823 DSS_CAPI_DLL char* Loads_Get_Name(void);
2824
2828 DSS_CAPI_DLL int32_t Loads_Get_Next(void);
2829
2830 DSS_CAPI_DLL void Loads_Set_idx(int32_t Value);
2831
2835 DSS_CAPI_DLL void Loads_Set_Name(const char* Value);
2836
2840 DSS_CAPI_DLL double Loads_Get_kV(void);
2841
2845 DSS_CAPI_DLL double Loads_Get_kvar(void);
2846
2850 DSS_CAPI_DLL double Loads_Get_kW(void);
2851
2855 DSS_CAPI_DLL double Loads_Get_PF(void);
2856
2860 DSS_CAPI_DLL void Loads_Set_kV(double Value);
2861
2865 DSS_CAPI_DLL void Loads_Set_kvar(double Value);
2866
2870 DSS_CAPI_DLL void Loads_Set_kW(double Value);
2871
2875 DSS_CAPI_DLL void Loads_Set_PF(double Value);
2876
2880 DSS_CAPI_DLL int32_t Loads_Get_Count(void);
2881
2885 DSS_CAPI_DLL double Loads_Get_AllocationFactor(void);
2886
2890 DSS_CAPI_DLL double Loads_Get_Cfactor(void);
2891
2892 DSS_CAPI_DLL int32_t Loads_Get_Class_(void);
2893
2897 DSS_CAPI_DLL char* Loads_Get_CVRcurve(void);
2898
2902 DSS_CAPI_DLL double Loads_Get_CVRvars(void);
2903
2907 DSS_CAPI_DLL double Loads_Get_CVRwatts(void);
2908
2912 DSS_CAPI_DLL char* Loads_Get_daily(void);
2913
2917 DSS_CAPI_DLL char* Loads_Get_duty(void);
2918
2922 DSS_CAPI_DLL char* Loads_Get_Growth(void);
2923
2927 DSS_CAPI_DLL uint16_t Loads_Get_IsDelta(void);
2928
2932 DSS_CAPI_DLL double Loads_Get_kva(void);
2933
2937 DSS_CAPI_DLL double Loads_Get_kwh(void);
2938
2942 DSS_CAPI_DLL double Loads_Get_kwhdays(void);
2943
2947 DSS_CAPI_DLL int32_t Loads_Get_Model(void);
2948
2952 DSS_CAPI_DLL int32_t Loads_Get_NumCust(void);
2953
2957 DSS_CAPI_DLL double Loads_Get_PctMean(void);
2958
2962 DSS_CAPI_DLL double Loads_Get_PctStdDev(void);
2963
2967 DSS_CAPI_DLL double Loads_Get_Rneut(void);
2968
2972 DSS_CAPI_DLL char* Loads_Get_Spectrum(void);
2973
2977 DSS_CAPI_DLL int32_t Loads_Get_Status(void);
2978
2982 DSS_CAPI_DLL double Loads_Get_Vmaxpu(void);
2983
2987 DSS_CAPI_DLL double Loads_Get_Vminemerg(void);
2988
2992 DSS_CAPI_DLL double Loads_Get_Vminnorm(void);
2993
2997 DSS_CAPI_DLL double Loads_Get_Vminpu(void);
2998
3002 DSS_CAPI_DLL double Loads_Get_xfkVA(void);
3003
3007 DSS_CAPI_DLL double Loads_Get_Xneut(void);
3008
3012 DSS_CAPI_DLL char* Loads_Get_Yearly(void);
3013
3014 DSS_CAPI_DLL void Loads_Set_AllocationFactor(double Value);
3015
3016 DSS_CAPI_DLL void Loads_Set_Cfactor(double Value);
3017
3018 DSS_CAPI_DLL void Loads_Set_Class_(int32_t Value);
3019
3020 DSS_CAPI_DLL void Loads_Set_CVRcurve(const char* Value);
3021
3022 DSS_CAPI_DLL void Loads_Set_CVRvars(double Value);
3023
3024 DSS_CAPI_DLL void Loads_Set_CVRwatts(double Value);
3025
3026 DSS_CAPI_DLL void Loads_Set_daily(const char* Value);
3027
3028 DSS_CAPI_DLL void Loads_Set_duty(const char* Value);
3029
3030 DSS_CAPI_DLL void Loads_Set_Growth(const char* Value);
3031
3032 DSS_CAPI_DLL void Loads_Set_IsDelta(uint16_t Value);
3033
3034 DSS_CAPI_DLL void Loads_Set_kva(double Value);
3035
3036 DSS_CAPI_DLL void Loads_Set_kwh(double Value);
3037
3038 DSS_CAPI_DLL void Loads_Set_kwhdays(double Value);
3039
3040 DSS_CAPI_DLL void Loads_Set_Model(int32_t Value);
3041
3042 DSS_CAPI_DLL void Loads_Set_NumCust(int32_t Value);
3043
3044 DSS_CAPI_DLL void Loads_Set_PctMean(double Value);
3045
3046 DSS_CAPI_DLL void Loads_Set_PctStdDev(double Value);
3047
3048 DSS_CAPI_DLL void Loads_Set_Rneut(double Value);
3049
3050 DSS_CAPI_DLL void Loads_Set_Spectrum(const char* Value);
3051
3052 DSS_CAPI_DLL void Loads_Set_Status(int32_t Value);
3053
3054 DSS_CAPI_DLL void Loads_Set_Vmaxpu(double Value);
3055
3056 DSS_CAPI_DLL void Loads_Set_Vminemerg(double Value);
3057
3058 DSS_CAPI_DLL void Loads_Set_Vminnorm(double Value);
3059
3060 DSS_CAPI_DLL void Loads_Set_Vminpu(double Value);
3061
3062 DSS_CAPI_DLL void Loads_Set_xfkVA(double Value);
3063
3064 DSS_CAPI_DLL void Loads_Set_Xneut(double Value);
3065
3066 DSS_CAPI_DLL void Loads_Set_Yearly(const char* Value);
3067
3071 DSS_CAPI_DLL void Loads_Get_ZIPV(double** ResultPtr, int32_t* ResultCount);
3075 DSS_CAPI_DLL void Loads_Get_ZIPV_GR(void);
3076
3077 DSS_CAPI_DLL void Loads_Set_ZIPV(double* ValuePtr, int32_t ValueCount);
3078
3079 DSS_CAPI_DLL double Loads_Get_pctSeriesRL(void);
3080
3084 DSS_CAPI_DLL void Loads_Set_pctSeriesRL(double Value);
3085
3089 DSS_CAPI_DLL double Loads_Get_RelWeight(void);
3090
3094 DSS_CAPI_DLL void Loads_Set_RelWeight(double Value);
3095
3099 DSS_CAPI_DLL char* Loads_Get_Sensor(void);
3100
3104 DSS_CAPI_DLL char* LoadShapes_Get_Name(void);
3105
3109 DSS_CAPI_DLL void LoadShapes_Set_Name(const char* Value);
3110
3114 DSS_CAPI_DLL int32_t LoadShapes_Get_Count(void);
3115
3119 DSS_CAPI_DLL int32_t LoadShapes_Get_First(void);
3120
3124 DSS_CAPI_DLL int32_t LoadShapes_Get_Next(void);
3125
3129 DSS_CAPI_DLL void LoadShapes_Get_AllNames(char*** ResultPtr, int32_t* ResultCount);
3133 DSS_CAPI_DLL void LoadShapes_Get_AllNames_GR(void);
3134
3138 DSS_CAPI_DLL int32_t LoadShapes_Get_Npts(void);
3139
3143 DSS_CAPI_DLL void LoadShapes_Get_Pmult(double** ResultPtr, int32_t* ResultCount);
3147 DSS_CAPI_DLL void LoadShapes_Get_Pmult_GR(void);
3148
3152 DSS_CAPI_DLL void LoadShapes_Get_Qmult(double** ResultPtr, int32_t* ResultCount);
3156 DSS_CAPI_DLL void LoadShapes_Get_Qmult_GR(void);
3157
3161 DSS_CAPI_DLL void LoadShapes_Set_Npts(int32_t Value);
3162
3166 DSS_CAPI_DLL void LoadShapes_Set_Pmult(double* ValuePtr, int32_t ValueCount);
3167
3171 DSS_CAPI_DLL void LoadShapes_Set_Qmult(double* ValuePtr, int32_t ValueCount);
3172
3173 DSS_CAPI_DLL void LoadShapes_Normalize(void);
3174
3178 DSS_CAPI_DLL void LoadShapes_Get_TimeArray(double** ResultPtr, int32_t* ResultCount);
3182 DSS_CAPI_DLL void LoadShapes_Get_TimeArray_GR(void);
3183
3187 DSS_CAPI_DLL void LoadShapes_Set_TimeArray(double* ValuePtr, int32_t ValueCount);
3188
3192 DSS_CAPI_DLL double LoadShapes_Get_HrInterval(void);
3193
3197 DSS_CAPI_DLL double LoadShapes_Get_MinInterval(void);
3198
3202 DSS_CAPI_DLL double LoadShapes_Get_SInterval(void);
3203
3207 DSS_CAPI_DLL void LoadShapes_Set_SInterval(double Value);
3208
3212 DSS_CAPI_DLL void LoadShapes_Set_HrInterval(double Value);
3213
3217 DSS_CAPI_DLL void LoadShapes_Set_MinInterval(double Value);
3218
3219
3220 DSS_CAPI_DLL int32_t LoadShapes_New(const char* Name);
3221
3222 DSS_CAPI_DLL double LoadShapes_Get_PBase(void);
3223
3227 DSS_CAPI_DLL double LoadShapes_Get_Qbase(void);
3228
3229 DSS_CAPI_DLL void LoadShapes_Set_PBase(double Value);
3230
3234 DSS_CAPI_DLL void LoadShapes_Set_Qbase(double Value);
3235
3239 DSS_CAPI_DLL uint16_t LoadShapes_Get_UseActual(void);
3240
3244 DSS_CAPI_DLL void LoadShapes_Set_UseActual(uint16_t Value);
3245
3249 DSS_CAPI_DLL void Meters_Get_AllNames(char*** ResultPtr, int32_t* ResultCount);
3253 DSS_CAPI_DLL void Meters_Get_AllNames_GR(void);
3254
3258 DSS_CAPI_DLL int32_t Meters_Get_First(void);
3259
3263 DSS_CAPI_DLL char* Meters_Get_Name(void);
3264
3268 DSS_CAPI_DLL int32_t Meters_Get_Next(void);
3269
3273 DSS_CAPI_DLL void Meters_Get_RegisterNames(char*** ResultPtr, int32_t* ResultCount);
3277 DSS_CAPI_DLL void Meters_Get_RegisterNames_GR(void);
3278
3282 DSS_CAPI_DLL void Meters_Get_RegisterValues(double** ResultPtr, int32_t* ResultCount);
3286 DSS_CAPI_DLL void Meters_Get_RegisterValues_GR(void);
3287
3288 DSS_CAPI_DLL void Meters_Reset(void);
3289
3290 DSS_CAPI_DLL void Meters_ResetAll(void);
3291
3292 DSS_CAPI_DLL void Meters_Sample(void);
3293
3294 DSS_CAPI_DLL void Meters_Save(void);
3295
3299 DSS_CAPI_DLL void Meters_Set_Name(const char* Value);
3300
3304 DSS_CAPI_DLL void Meters_Get_Totals(double** ResultPtr, int32_t* ResultCount);
3308 DSS_CAPI_DLL void Meters_Get_Totals_GR(void);
3309
3313 DSS_CAPI_DLL void Meters_Get_Peakcurrent(double** ResultPtr, int32_t* ResultCount);
3317 DSS_CAPI_DLL void Meters_Get_Peakcurrent_GR(void);
3318
3322 DSS_CAPI_DLL void Meters_Set_Peakcurrent(double* ValuePtr, int32_t ValueCount);
3323
3327 DSS_CAPI_DLL void Meters_Get_CalcCurrent(double** ResultPtr, int32_t* ResultCount);
3331 DSS_CAPI_DLL void Meters_Get_CalcCurrent_GR(void);
3332
3336 DSS_CAPI_DLL void Meters_Set_CalcCurrent(double* ValuePtr, int32_t ValueCount);
3337
3341 DSS_CAPI_DLL void Meters_Get_AllocFactors(double** ResultPtr, int32_t* ResultCount);
3345 DSS_CAPI_DLL void Meters_Get_AllocFactors_GR(void);
3346
3350 DSS_CAPI_DLL void Meters_Set_AllocFactors(double* ValuePtr, int32_t ValueCount);
3351
3355 DSS_CAPI_DLL char* Meters_Get_MeteredElement(void);
3356
3360 DSS_CAPI_DLL int32_t Meters_Get_MeteredTerminal(void);
3361
3365 DSS_CAPI_DLL void Meters_Set_MeteredElement(const char* Value);
3366
3370 DSS_CAPI_DLL void Meters_Set_MeteredTerminal(int32_t Value);
3371
3375 DSS_CAPI_DLL uint16_t Meters_Get_DIFilesAreOpen(void);
3376
3377 DSS_CAPI_DLL void Meters_CloseAllDIFiles(void);
3378
3379 DSS_CAPI_DLL void Meters_OpenAllDIFiles(void);
3380
3381 DSS_CAPI_DLL void Meters_SampleAll(void);
3382
3383 DSS_CAPI_DLL void Meters_SaveAll(void);
3384
3388 DSS_CAPI_DLL void Meters_Get_AllEndElements(char*** ResultPtr, int32_t* ResultCount);
3392 DSS_CAPI_DLL void Meters_Get_AllEndElements_GR(void);
3393
3397 DSS_CAPI_DLL int32_t Meters_Get_CountEndElements(void);
3398
3402 DSS_CAPI_DLL int32_t Meters_Get_Count(void);
3403
3407 DSS_CAPI_DLL void Meters_Get_AllBranchesInZone(char*** ResultPtr, int32_t* ResultCount);
3411 DSS_CAPI_DLL void Meters_Get_AllBranchesInZone_GR(void);
3412
3416 DSS_CAPI_DLL int32_t Meters_Get_CountBranches(void);
3417
3421 DSS_CAPI_DLL double Meters_Get_SAIFI(void);
3422
3426 DSS_CAPI_DLL int32_t Meters_Get_SequenceIndex(void);
3427
3431 DSS_CAPI_DLL void Meters_Set_SequenceIndex(int32_t Value);
3432
3436 DSS_CAPI_DLL double Meters_Get_SAIFIKW(void);
3437
3438 DSS_CAPI_DLL void Meters_DoReliabilityCalc(uint16_t AssumeRestoration);
3439
3443 DSS_CAPI_DLL int32_t Meters_Get_SeqListSize(void);
3444
3448 DSS_CAPI_DLL int32_t Meters_Get_TotalCustomers(void);
3449
3453 DSS_CAPI_DLL double Meters_Get_SAIDI(void);
3454
3458 DSS_CAPI_DLL double Meters_Get_CustInterrupts(void);
3459
3463 DSS_CAPI_DLL int32_t Meters_Get_NumSections(void);
3464
3465 DSS_CAPI_DLL void Meters_SetActiveSection(int32_t SectIdx);
3466
3470 DSS_CAPI_DLL double Meters_Get_AvgRepairTime(void);
3471
3475 DSS_CAPI_DLL double Meters_Get_FaultRateXRepairHrs(void);
3476
3480 DSS_CAPI_DLL int32_t Meters_Get_NumSectionBranches(void);
3481
3485 DSS_CAPI_DLL int32_t Meters_Get_NumSectionCustomers(void);
3486
3490 DSS_CAPI_DLL int32_t Meters_Get_OCPDeviceType(void);
3491
3495 DSS_CAPI_DLL double Meters_Get_SumBranchFltRates(void);
3496
3500 DSS_CAPI_DLL int32_t Meters_Get_SectSeqIdx(void);
3501
3505 DSS_CAPI_DLL int32_t Meters_Get_SectTotalCust(void);
3506
3510 DSS_CAPI_DLL void Meters_Get_ZonePCE(char*** ResultPtr, int32_t* ResultCount);
3511
3512
3516 DSS_CAPI_DLL void Monitors_Get_AllNames(char*** ResultPtr, int32_t* ResultCount);
3520 DSS_CAPI_DLL void Monitors_Get_AllNames_GR(void);
3521
3525 DSS_CAPI_DLL char* Monitors_Get_FileName(void);
3526
3530 DSS_CAPI_DLL int32_t Monitors_Get_First(void);
3531
3535 DSS_CAPI_DLL int32_t Monitors_Get_Mode(void);
3536
3540 DSS_CAPI_DLL char* Monitors_Get_Name(void);
3541
3545 DSS_CAPI_DLL int32_t Monitors_Get_Next(void);
3546
3547 DSS_CAPI_DLL void Monitors_Reset(void);
3548
3549 DSS_CAPI_DLL void Monitors_ResetAll(void);
3550
3551 DSS_CAPI_DLL void Monitors_Sample(void);
3552
3553 DSS_CAPI_DLL void Monitors_Save(void);
3554
3558 DSS_CAPI_DLL void Monitors_Set_Mode(int32_t Value);
3559
3560 DSS_CAPI_DLL void Monitors_Show(void);
3561
3565 DSS_CAPI_DLL void Monitors_Set_Name(const char* Value);
3566
3570 DSS_CAPI_DLL void Monitors_Get_ByteStream(int8_t** ResultPtr, int32_t* ResultCount);
3574 DSS_CAPI_DLL void Monitors_Get_ByteStream_GR(void);
3575
3579 DSS_CAPI_DLL int32_t Monitors_Get_SampleCount(void);
3580
3581 DSS_CAPI_DLL void Monitors_SampleAll(void);
3582
3583 DSS_CAPI_DLL void Monitors_SaveAll(void);
3584
3588 DSS_CAPI_DLL int32_t Monitors_Get_Count(void);
3589
3590 DSS_CAPI_DLL void Monitors_Process(void);
3591
3592 DSS_CAPI_DLL void Monitors_ProcessAll(void);
3593
3597 DSS_CAPI_DLL void Monitors_Get_Channel(double** ResultPtr, int32_t* ResultCount, int32_t Index);
3601 DSS_CAPI_DLL void Monitors_Get_Channel_GR(int32_t Index);
3602
3606 DSS_CAPI_DLL void Monitors_Get_dblFreq(double** ResultPtr, int32_t* ResultCount);
3610 DSS_CAPI_DLL void Monitors_Get_dblFreq_GR(void);
3611
3615 DSS_CAPI_DLL void Monitors_Get_dblHour(double** ResultPtr, int32_t* ResultCount);
3619 DSS_CAPI_DLL void Monitors_Get_dblHour_GR(void);
3620
3624 DSS_CAPI_DLL int32_t Monitors_Get_FileVersion(void);
3625
3629 DSS_CAPI_DLL void Monitors_Get_Header(char*** ResultPtr, int32_t* ResultCount);
3633 DSS_CAPI_DLL void Monitors_Get_Header_GR(void);
3634
3638 DSS_CAPI_DLL int32_t Monitors_Get_NumChannels(void);
3639
3643 DSS_CAPI_DLL int32_t Monitors_Get_RecordSize(void);
3644
3648 DSS_CAPI_DLL char* Monitors_Get_Element(void);
3649
3653 DSS_CAPI_DLL void Monitors_Set_Element(const char* Value);
3654
3658 DSS_CAPI_DLL int32_t Monitors_Get_Terminal(void);
3659
3663 DSS_CAPI_DLL void Monitors_Set_Terminal(int32_t Value);
3664
3668 DSS_CAPI_DLL int32_t Parallel_Get_NumCPUs(void);
3669
3673 DSS_CAPI_DLL int32_t Parallel_Get_NumCores(void);
3674
3678 DSS_CAPI_DLL int32_t Parallel_Get_ActiveActor(void);
3679
3683 DSS_CAPI_DLL void Parallel_Set_ActiveActor(int32_t Value);
3684
3685 DSS_CAPI_DLL void Parallel_CreateActor(void);
3686
3690 DSS_CAPI_DLL int32_t Parallel_Get_ActorCPU(void);
3691
3695 DSS_CAPI_DLL void Parallel_Set_ActorCPU(int32_t Value);
3696
3700 DSS_CAPI_DLL int32_t Parallel_Get_NumOfActors(void);
3701
3702 DSS_CAPI_DLL void Parallel_Wait(void);
3703
3707 DSS_CAPI_DLL void Parallel_Get_ActorProgress(int32_t** ResultPtr, int32_t* ResultCount);
3711 DSS_CAPI_DLL void Parallel_Get_ActorProgress_GR(void);
3712
3716 DSS_CAPI_DLL void Parallel_Get_ActorStatus(int32_t** ResultPtr, int32_t* ResultCount);
3720 DSS_CAPI_DLL void Parallel_Get_ActorStatus_GR(void);
3721
3725 DSS_CAPI_DLL int32_t Parallel_Get_ActiveParallel(void);
3726
3730 DSS_CAPI_DLL void Parallel_Set_ActiveParallel(int32_t Value);
3731
3735 DSS_CAPI_DLL int32_t Parallel_Get_ConcatenateReports(void);
3736
3740 DSS_CAPI_DLL void Parallel_Set_ConcatenateReports(int32_t Value);
3741
3745 DSS_CAPI_DLL char* Parser_Get_CmdString(void);
3746
3750 DSS_CAPI_DLL void Parser_Set_CmdString(const char* Value);
3751
3755 DSS_CAPI_DLL char* Parser_Get_NextParam(void);
3756
3760 DSS_CAPI_DLL uint16_t Parser_Get_AutoIncrement(void);
3761
3765 DSS_CAPI_DLL void Parser_Set_AutoIncrement(uint16_t Value);
3766
3770 DSS_CAPI_DLL double Parser_Get_DblValue(void);
3771
3775 DSS_CAPI_DLL int32_t Parser_Get_IntValue(void);
3776
3780 DSS_CAPI_DLL char* Parser_Get_StrValue(void);
3781
3785 DSS_CAPI_DLL char* Parser_Get_WhiteSpace(void);
3786
3790 DSS_CAPI_DLL void Parser_Set_WhiteSpace(const char* Value);
3791
3795 DSS_CAPI_DLL char* Parser_Get_BeginQuote(void);
3796
3800 DSS_CAPI_DLL char* Parser_Get_EndQuote(void);
3801
3805 DSS_CAPI_DLL void Parser_Set_BeginQuote(const char* Value);
3806
3810 DSS_CAPI_DLL void Parser_Set_EndQuote(const char* Value);
3811
3815 DSS_CAPI_DLL char* Parser_Get_Delimiters(void);
3816
3820 DSS_CAPI_DLL void Parser_Set_Delimiters(const char* Value);
3821
3822 DSS_CAPI_DLL void Parser_ResetDelimiters(void);
3823
3827 DSS_CAPI_DLL void Parser_Get_Vector(double** ResultPtr, int32_t* ResultCount, int32_t ExpectedSize);
3831 DSS_CAPI_DLL void Parser_Get_Vector_GR(int32_t ExpectedSize);
3832
3836 DSS_CAPI_DLL void Parser_Get_Matrix(double** ResultPtr, int32_t* ResultCount, int32_t ExpectedOrder);
3840 DSS_CAPI_DLL void Parser_Get_Matrix_GR(int32_t ExpectedOrder);
3841
3845 DSS_CAPI_DLL void Parser_Get_SymMatrix(double** ResultPtr, int32_t* ResultCount, int32_t ExpectedOrder);
3849 DSS_CAPI_DLL void Parser_Get_SymMatrix_GR(int32_t ExpectedOrder);
3850
3854 DSS_CAPI_DLL int32_t PDElements_Get_Count(void);
3855
3859 DSS_CAPI_DLL double PDElements_Get_FaultRate(void);
3860
3864 DSS_CAPI_DLL int32_t PDElements_Get_First(void);
3865
3869 DSS_CAPI_DLL uint16_t PDElements_Get_IsShunt(void);
3870
3874 DSS_CAPI_DLL int32_t PDElements_Get_Next(void);
3875
3879 DSS_CAPI_DLL double PDElements_Get_pctPermanent(void);
3880
3881 DSS_CAPI_DLL void PDElements_Set_FaultRate(double Value);
3882
3883 DSS_CAPI_DLL void PDElements_Set_pctPermanent(double Value);
3884
3888 DSS_CAPI_DLL char* PDElements_Get_Name(void);
3889
3890 DSS_CAPI_DLL void PDElements_Set_Name(const char* Value);
3891
3895 DSS_CAPI_DLL double PDElements_Get_AccumulatedL(void);
3896
3900 DSS_CAPI_DLL double PDElements_Get_Lambda(void);
3901
3905 DSS_CAPI_DLL int32_t PDElements_Get_Numcustomers(void);
3906
3910 DSS_CAPI_DLL int32_t PDElements_Get_ParentPDElement(void);
3911
3915 DSS_CAPI_DLL double PDElements_Get_RepairTime(void);
3916
3920 DSS_CAPI_DLL int32_t PDElements_Get_Totalcustomers(void);
3921
3925 DSS_CAPI_DLL int32_t PDElements_Get_FromTerminal(void);
3926
3930 DSS_CAPI_DLL double PDElements_Get_TotalMiles(void);
3931
3935 DSS_CAPI_DLL int32_t PDElements_Get_SectionID(void);
3936
3940 DSS_CAPI_DLL void PDElements_Set_RepairTime(double Value);
3941
3947 DSS_CAPI_DLL void PDElements_Get_AllNames(char*** ResultPtr, int32_t* ResultCount);
3948
3952 DSS_CAPI_DLL void PDElements_Get_AllNames_GR(void);
3953
3954
3968 DSS_CAPI_DLL void PDElements_Get_AllMaxCurrents(double** ResultPtr, int32_t* ResultCount, uint16_t AllNodes);
3969
3973 DSS_CAPI_DLL void PDElements_Get_AllMaxCurrents_GR(uint16_t AllNodes);
3974
3975
3989 DSS_CAPI_DLL void PDElements_Get_AllPctNorm(double** ResultPtr, int32_t* ResultCount, uint16_t AllNodes);
3993 DSS_CAPI_DLL void PDElements_Get_AllPctNorm_GR(uint16_t AllNodes);
3994
3995
4009 DSS_CAPI_DLL void PDElements_Get_AllPctEmerg(double** ResultPtr, int32_t* ResultCount, uint16_t AllNodes);
4010
4014 DSS_CAPI_DLL void PDElements_Get_AllPctEmerg_GR(uint16_t AllNodes);
4015
4016
4022 DSS_CAPI_DLL void PDElements_Get_AllCurrents(double** ResultPtr, int32_t* ResultCount);
4023
4027 DSS_CAPI_DLL void PDElements_Get_AllCurrents_GR(void);
4028
4029
4035 DSS_CAPI_DLL void PDElements_Get_AllCurrentsMagAng(double** ResultPtr, int32_t* ResultCount);
4036
4041
4042
4048 DSS_CAPI_DLL void PDElements_Get_AllCplxSeqCurrents(double** ResultPtr, int32_t* ResultCount);
4049
4054
4055
4061 DSS_CAPI_DLL void PDElements_Get_AllSeqCurrents(double** ResultPtr, int32_t* ResultCount);
4065 DSS_CAPI_DLL void PDElements_Get_AllSeqCurrents_GR(void);
4066
4067
4073 DSS_CAPI_DLL void PDElements_Get_AllPowers(double** ResultPtr, int32_t* ResultCount);
4077 DSS_CAPI_DLL void PDElements_Get_AllPowers_GR(void);
4078
4079
4085 DSS_CAPI_DLL void PDElements_Get_AllSeqPowers(double** ResultPtr, int32_t* ResultCount);
4089 DSS_CAPI_DLL void PDElements_Get_AllSeqPowers_GR(void);
4090
4091
4097 DSS_CAPI_DLL void PDElements_Get_AllNumPhases(int32_t** ResultPtr, int32_t* ResultCount);
4101 DSS_CAPI_DLL void PDElements_Get_AllNumPhases_GR(void);
4102
4103
4109 DSS_CAPI_DLL void PDElements_Get_AllNumConductors(int32_t** ResultPtr, int32_t* ResultCount);
4113 DSS_CAPI_DLL void PDElements_Get_AllNumConductors_GR(void);
4114
4115
4121 DSS_CAPI_DLL void PDElements_Get_AllNumTerminals(int32_t** ResultPtr, int32_t* ResultCount);
4122
4126 DSS_CAPI_DLL void PDElements_Get_AllNumTerminals_GR(void);
4127
4131 DSS_CAPI_DLL void PVSystems_Get_AllNames(char*** ResultPtr, int32_t* ResultCount);
4135 DSS_CAPI_DLL void PVSystems_Get_AllNames_GR(void);
4136
4140 DSS_CAPI_DLL void PVSystems_Get_RegisterNames(char*** ResultPtr, int32_t* ResultCount);
4144 DSS_CAPI_DLL void PVSystems_Get_RegisterNames_GR(void);
4145
4149 DSS_CAPI_DLL void PVSystems_Get_RegisterValues(double** ResultPtr, int32_t* ResultCount);
4153 DSS_CAPI_DLL void PVSystems_Get_RegisterValues_GR(void);
4154
4158 DSS_CAPI_DLL int32_t PVSystems_Get_First(void);
4159
4163 DSS_CAPI_DLL int32_t PVSystems_Get_Next(void);
4164
4168 DSS_CAPI_DLL int32_t PVSystems_Get_Count(void);
4169
4173 DSS_CAPI_DLL int32_t PVSystems_Get_idx(void);
4174
4178 DSS_CAPI_DLL void PVSystems_Set_idx(int32_t Value);
4179
4183 DSS_CAPI_DLL char* PVSystems_Get_Name(void);
4184
4188 DSS_CAPI_DLL void PVSystems_Set_Name(const char* Value);
4189
4193 DSS_CAPI_DLL double PVSystems_Get_Irradiance(void);
4194
4198 DSS_CAPI_DLL void PVSystems_Set_Irradiance(double Value);
4199
4203 DSS_CAPI_DLL double PVSystems_Get_kvar(void);
4204
4208 DSS_CAPI_DLL double PVSystems_Get_kVArated(void);
4209
4213 DSS_CAPI_DLL double PVSystems_Get_kW(void);
4214
4218 DSS_CAPI_DLL double PVSystems_Get_PF(void);
4219
4223 DSS_CAPI_DLL void PVSystems_Set_kVArated(double Value);
4224
4228 DSS_CAPI_DLL void PVSystems_Set_PF(double Value);
4229
4233 DSS_CAPI_DLL void PVSystems_Set_kvar(double Value);
4234
4240 DSS_CAPI_DLL char* PVSystems_Get_daily(void);
4241 DSS_CAPI_DLL void PVSystems_Set_daily(const char* Value);
4242
4248 DSS_CAPI_DLL char* PVSystems_Get_duty(void);
4249 DSS_CAPI_DLL void PVSystems_Set_duty(const char* Value);
4250
4257 DSS_CAPI_DLL char* PVSystems_Get_yearly(void);
4258 DSS_CAPI_DLL void PVSystems_Set_yearly(const char* Value);
4259
4266 DSS_CAPI_DLL char* PVSystems_Get_Tdaily(void);
4267 DSS_CAPI_DLL void PVSystems_Set_Tdaily(const char* Value);
4268
4278 DSS_CAPI_DLL char* PVSystems_Get_Tduty(void);
4279 DSS_CAPI_DLL void PVSystems_Set_Tduty(const char* Value);
4280
4288 DSS_CAPI_DLL char* PVSystems_Get_Tyearly(void);
4289 DSS_CAPI_DLL void PVSystems_Set_Tyearly(const char* Value);
4290
4294 DSS_CAPI_DLL double PVSystems_Get_Pmpp(void);
4295 DSS_CAPI_DLL void PVSystems_Set_Pmpp(double Value);
4296
4301 DSS_CAPI_DLL double PVSystems_Get_IrradianceNow(void);
4302
4306 DSS_CAPI_DLL char* PVSystems_Get_Sensor(void);
4307
4308
4312 DSS_CAPI_DLL void Reclosers_Get_AllNames(char*** ResultPtr, int32_t* ResultCount);
4316 DSS_CAPI_DLL void Reclosers_Get_AllNames_GR(void);
4317
4321 DSS_CAPI_DLL int32_t Reclosers_Get_Count(void);
4322
4326 DSS_CAPI_DLL int32_t Reclosers_Get_First(void);
4327
4331 DSS_CAPI_DLL char* Reclosers_Get_Name(void);
4332
4336 DSS_CAPI_DLL int32_t Reclosers_Get_Next(void);
4337
4338 DSS_CAPI_DLL void Reclosers_Set_Name(const char* Value);
4339
4343 DSS_CAPI_DLL int32_t Reclosers_Get_MonitoredTerm(void);
4344
4345 DSS_CAPI_DLL void Reclosers_Set_MonitoredTerm(int32_t Value);
4346
4350 DSS_CAPI_DLL char* Reclosers_Get_SwitchedObj(void);
4351
4352 DSS_CAPI_DLL void Reclosers_Set_SwitchedObj(const char* Value);
4353
4357 DSS_CAPI_DLL char* Reclosers_Get_MonitoredObj(void);
4358
4362 DSS_CAPI_DLL int32_t Reclosers_Get_SwitchedTerm(void);
4363
4367 DSS_CAPI_DLL void Reclosers_Set_MonitoredObj(const char* Value);
4368
4369 DSS_CAPI_DLL void Reclosers_Set_SwitchedTerm(int32_t Value);
4370
4374 DSS_CAPI_DLL int32_t Reclosers_Get_NumFast(void);
4375
4379 DSS_CAPI_DLL void Reclosers_Get_RecloseIntervals(double** ResultPtr, int32_t* ResultCount);
4383 DSS_CAPI_DLL void Reclosers_Get_RecloseIntervals_GR(void);
4384
4388 DSS_CAPI_DLL int32_t Reclosers_Get_Shots(void);
4389
4390 DSS_CAPI_DLL void Reclosers_Set_NumFast(int32_t Value);
4391
4392 DSS_CAPI_DLL void Reclosers_Set_Shots(int32_t Value);
4393
4397 DSS_CAPI_DLL double Reclosers_Get_PhaseTrip(void);
4398
4402 DSS_CAPI_DLL void Reclosers_Set_PhaseTrip(double Value);
4403
4407 DSS_CAPI_DLL double Reclosers_Get_GroundInst(void);
4408
4412 DSS_CAPI_DLL double Reclosers_Get_GroundTrip(void);
4413
4417 DSS_CAPI_DLL double Reclosers_Get_PhaseInst(void);
4418
4422 DSS_CAPI_DLL void Reclosers_Set_GroundInst(double Value);
4423
4424 DSS_CAPI_DLL void Reclosers_Set_GroundTrip(double Value);
4425
4426 DSS_CAPI_DLL void Reclosers_Set_PhaseInst(double Value);
4427
4431 DSS_CAPI_DLL void Reclosers_Close(void);
4432
4436 DSS_CAPI_DLL void Reclosers_Open(void);
4437
4441 DSS_CAPI_DLL void Reclosers_Reset(void);
4442
4446 DSS_CAPI_DLL int32_t Reclosers_Get_idx(void);
4447
4451 DSS_CAPI_DLL void Reclosers_Set_idx(int32_t Value);
4452
4458 DSS_CAPI_DLL int32_t Reclosers_Get_State(void);
4459
4465 DSS_CAPI_DLL void Reclosers_Set_State(int32_t Value);
4466
4470 DSS_CAPI_DLL int32_t Reclosers_Get_NormalState(void);
4471
4475 DSS_CAPI_DLL void Reclosers_Set_NormalState(int32_t Value);
4476
4480 DSS_CAPI_DLL void RegControls_Get_AllNames(char*** ResultPtr, int32_t* ResultCount);
4484 DSS_CAPI_DLL void RegControls_Get_AllNames_GR(void);
4485
4489 DSS_CAPI_DLL double RegControls_Get_CTPrimary(void);
4490
4494 DSS_CAPI_DLL double RegControls_Get_Delay(void);
4495
4499 DSS_CAPI_DLL int32_t RegControls_Get_First(void);
4500
4504 DSS_CAPI_DLL double RegControls_Get_ForwardBand(void);
4505
4509 DSS_CAPI_DLL double RegControls_Get_ForwardR(void);
4510
4514 DSS_CAPI_DLL double RegControls_Get_ForwardVreg(void);
4515
4519 DSS_CAPI_DLL double RegControls_Get_ForwardX(void);
4520
4524 DSS_CAPI_DLL uint16_t RegControls_Get_IsInverseTime(void);
4525
4529 DSS_CAPI_DLL uint16_t RegControls_Get_IsReversible(void);
4530
4534 DSS_CAPI_DLL int32_t RegControls_Get_MaxTapChange(void);
4535
4539 DSS_CAPI_DLL char* RegControls_Get_MonitoredBus(void);
4540
4544 DSS_CAPI_DLL char* RegControls_Get_Name(void);
4545
4549 DSS_CAPI_DLL int32_t RegControls_Get_Next(void);
4550
4554 DSS_CAPI_DLL double RegControls_Get_PTratio(void);
4555
4559 DSS_CAPI_DLL double RegControls_Get_ReverseBand(void);
4560
4564 DSS_CAPI_DLL double RegControls_Get_ReverseR(void);
4565
4569 DSS_CAPI_DLL double RegControls_Get_ReverseVreg(void);
4570
4574 DSS_CAPI_DLL double RegControls_Get_ReverseX(void);
4575
4579 DSS_CAPI_DLL double RegControls_Get_TapDelay(void);
4580
4584 DSS_CAPI_DLL int32_t RegControls_Get_TapWinding(void);
4585
4589 DSS_CAPI_DLL char* RegControls_Get_Transformer(void);
4590
4594 DSS_CAPI_DLL double RegControls_Get_VoltageLimit(void);
4595
4599 DSS_CAPI_DLL int32_t RegControls_Get_Winding(void);
4600
4601 DSS_CAPI_DLL int32_t RegControls_Get_TapNumber(void);
4602
4606 DSS_CAPI_DLL void RegControls_Set_CTPrimary(double Value);
4607
4611 DSS_CAPI_DLL void RegControls_Set_Delay(double Value);
4612
4616 DSS_CAPI_DLL void RegControls_Set_ForwardBand(double Value);
4617
4621 DSS_CAPI_DLL void RegControls_Set_ForwardR(double Value);
4622
4626 DSS_CAPI_DLL void RegControls_Set_ForwardVreg(double Value);
4627
4631 DSS_CAPI_DLL void RegControls_Set_ForwardX(double Value);
4632
4636 DSS_CAPI_DLL void RegControls_Set_IsInverseTime(uint16_t Value);
4637
4641 DSS_CAPI_DLL void RegControls_Set_IsReversible(uint16_t Value);
4642
4646 DSS_CAPI_DLL void RegControls_Set_MaxTapChange(int32_t Value);
4647
4651 DSS_CAPI_DLL void RegControls_Set_MonitoredBus(const char* Value);
4652
4656 DSS_CAPI_DLL void RegControls_Set_Name(const char* Value);
4657
4661 DSS_CAPI_DLL void RegControls_Set_PTratio(double Value);
4662
4666 DSS_CAPI_DLL void RegControls_Set_ReverseBand(double Value);
4667
4671 DSS_CAPI_DLL void RegControls_Set_ReverseR(double Value);
4672
4676 DSS_CAPI_DLL void RegControls_Set_ReverseVreg(double Value);
4677
4681 DSS_CAPI_DLL void RegControls_Set_ReverseX(double Value);
4682
4686 DSS_CAPI_DLL void RegControls_Set_TapDelay(double Value);
4687
4691 DSS_CAPI_DLL void RegControls_Set_TapWinding(int32_t Value);
4692
4696 DSS_CAPI_DLL void RegControls_Set_Transformer(const char* Value);
4697
4701 DSS_CAPI_DLL void RegControls_Set_VoltageLimit(double Value);
4702
4706 DSS_CAPI_DLL void RegControls_Set_Winding(int32_t Value);
4707
4711 DSS_CAPI_DLL void RegControls_Set_TapNumber(int32_t Value);
4712
4716 DSS_CAPI_DLL int32_t RegControls_Get_Count(void);
4717
4718 DSS_CAPI_DLL void RegControls_Reset(void);
4719
4723 DSS_CAPI_DLL void Relays_Get_AllNames(char*** ResultPtr, int32_t* ResultCount);
4727 DSS_CAPI_DLL void Relays_Get_AllNames_GR(void);
4728
4732 DSS_CAPI_DLL int32_t Relays_Get_Count(void);
4733
4737 DSS_CAPI_DLL int32_t Relays_Get_First(void);
4738
4742 DSS_CAPI_DLL char* Relays_Get_Name(void);
4743
4747 DSS_CAPI_DLL int32_t Relays_Get_Next(void);
4748
4752 DSS_CAPI_DLL void Relays_Set_Name(const char* Value);
4753
4757 DSS_CAPI_DLL char* Relays_Get_MonitoredObj(void);
4758
4759 DSS_CAPI_DLL void Relays_Set_MonitoredObj(const char* Value);
4760
4764 DSS_CAPI_DLL int32_t Relays_Get_MonitoredTerm(void);
4765
4769 DSS_CAPI_DLL char* Relays_Get_SwitchedObj(void);
4770
4771 DSS_CAPI_DLL void Relays_Set_MonitoredTerm(int32_t Value);
4772
4773 DSS_CAPI_DLL void Relays_Set_SwitchedObj(const char* Value);
4774
4775 DSS_CAPI_DLL int32_t Relays_Get_SwitchedTerm(void);
4776
4780 DSS_CAPI_DLL void Relays_Set_SwitchedTerm(int32_t Value);
4781
4785 DSS_CAPI_DLL int32_t Relays_Get_idx(void);
4786
4790 DSS_CAPI_DLL void Relays_Set_idx(int32_t Value);
4791
4795 DSS_CAPI_DLL void Relays_Open(void);
4796
4800 DSS_CAPI_DLL void Relays_Close(void);
4801
4805 DSS_CAPI_DLL void Relays_Reset(void);
4806
4812 DSS_CAPI_DLL int32_t Relays_Get_State(void);
4813
4819 DSS_CAPI_DLL void Relays_Set_State(int32_t Value);
4820
4824 DSS_CAPI_DLL int32_t Relays_Get_NormalState(void);
4825
4829 DSS_CAPI_DLL void Relays_Set_NormalState(int32_t Value);
4830
4834 DSS_CAPI_DLL void Sensors_Get_AllNames(char*** ResultPtr, int32_t* ResultCount);
4838 DSS_CAPI_DLL void Sensors_Get_AllNames_GR(void);
4839
4843 DSS_CAPI_DLL int32_t Sensors_Get_Count(void);
4844
4848 DSS_CAPI_DLL void Sensors_Get_Currents(double** ResultPtr, int32_t* ResultCount);
4852 DSS_CAPI_DLL void Sensors_Get_Currents_GR(void);
4853
4857 DSS_CAPI_DLL int32_t Sensors_Get_First(void);
4858
4862 DSS_CAPI_DLL uint16_t Sensors_Get_IsDelta(void);
4863
4867 DSS_CAPI_DLL void Sensors_Get_kVARS(double** ResultPtr, int32_t* ResultCount);
4871 DSS_CAPI_DLL void Sensors_Get_kVARS_GR(void);
4872
4876 DSS_CAPI_DLL void Sensors_Get_kVS(double** ResultPtr, int32_t* ResultCount);
4880 DSS_CAPI_DLL void Sensors_Get_kVS_GR(void);
4881
4885 DSS_CAPI_DLL void Sensors_Get_kWS(double** ResultPtr, int32_t* ResultCount);
4889 DSS_CAPI_DLL void Sensors_Get_kWS_GR(void);
4890
4894 DSS_CAPI_DLL char* Sensors_Get_MeteredElement(void);
4895
4899 DSS_CAPI_DLL int32_t Sensors_Get_MeteredTerminal(void);
4900
4904 DSS_CAPI_DLL char* Sensors_Get_Name(void);
4905
4909 DSS_CAPI_DLL int32_t Sensors_Get_Next(void);
4910
4914 DSS_CAPI_DLL double Sensors_Get_PctError(void);
4915
4919 DSS_CAPI_DLL uint16_t Sensors_Get_ReverseDelta(void);
4920
4924 DSS_CAPI_DLL double Sensors_Get_Weight(void);
4925
4926 DSS_CAPI_DLL void Sensors_Reset(void);
4927
4928 DSS_CAPI_DLL void Sensors_ResetAll(void);
4929
4930 DSS_CAPI_DLL void Sensors_Set_Currents(double* ValuePtr, int32_t ValueCount);
4931
4932 DSS_CAPI_DLL void Sensors_Set_IsDelta(uint16_t Value);
4933
4934 DSS_CAPI_DLL void Sensors_Set_kVARS(double* ValuePtr, int32_t ValueCount);
4935
4936 DSS_CAPI_DLL void Sensors_Set_kVS(double* ValuePtr, int32_t ValueCount);
4937
4938 DSS_CAPI_DLL void Sensors_Set_kWS(double* ValuePtr, int32_t ValueCount);
4939
4940 DSS_CAPI_DLL void Sensors_Set_MeteredElement(const char* Value);
4941
4942 DSS_CAPI_DLL void Sensors_Set_MeteredTerminal(int32_t Value);
4943
4947 DSS_CAPI_DLL void Sensors_Set_Name(const char* Value);
4948
4949 DSS_CAPI_DLL void Sensors_Set_PctError(double Value);
4950
4951 DSS_CAPI_DLL void Sensors_Set_ReverseDelta(uint16_t Value);
4952
4953 DSS_CAPI_DLL void Sensors_Set_Weight(double Value);
4954
4958 DSS_CAPI_DLL double Sensors_Get_kVbase(void);
4959
4960 DSS_CAPI_DLL void Sensors_Set_kVbase(double Value);
4961
4965 DSS_CAPI_DLL void Sensors_Get_AllocationFactor(double** ResultPtr, int32_t* ResultCount);
4966
4970 DSS_CAPI_DLL void Sensors_Get_AllocationFactor_GR(void);
4971
4972
4976 DSS_CAPI_DLL uint16_t Settings_Get_AllowDuplicates(void);
4977
4981 DSS_CAPI_DLL char* Settings_Get_AutoBusList(void);
4982
4986 DSS_CAPI_DLL int32_t Settings_Get_CktModel(void);
4987
4988 DSS_CAPI_DLL void Settings_Set_CktModel(int32_t Value);
4989
4993 DSS_CAPI_DLL double Settings_Get_EmergVmaxpu(void);
4994
4998 DSS_CAPI_DLL double Settings_Get_EmergVminpu(void);
4999
5003 DSS_CAPI_DLL double Settings_Get_NormVmaxpu(void);
5004
5008 DSS_CAPI_DLL double Settings_Get_NormVminpu(void);
5009
5013 DSS_CAPI_DLL uint16_t Settings_Get_ZoneLock(void);
5014
5018 DSS_CAPI_DLL void Settings_Set_AllocationFactors(double Value);
5019
5023 DSS_CAPI_DLL void Settings_Set_AllowDuplicates(uint16_t Value);
5024
5028 DSS_CAPI_DLL void Settings_Set_AutoBusList(const char* Value);
5029
5033 DSS_CAPI_DLL void Settings_Set_EmergVmaxpu(double Value);
5034
5038 DSS_CAPI_DLL void Settings_Set_EmergVminpu(double Value);
5039
5043 DSS_CAPI_DLL void Settings_Set_NormVmaxpu(double Value);
5044
5048 DSS_CAPI_DLL void Settings_Set_NormVminpu(double Value);
5049
5053 DSS_CAPI_DLL void Settings_Set_ZoneLock(uint16_t Value);
5054
5058 DSS_CAPI_DLL void Settings_Get_LossRegs(int32_t** ResultPtr, int32_t* ResultCount);
5062 DSS_CAPI_DLL void Settings_Get_LossRegs_GR(void);
5063
5067 DSS_CAPI_DLL double Settings_Get_LossWeight(void);
5068
5072 DSS_CAPI_DLL uint16_t Settings_Get_Trapezoidal(void);
5073
5077 DSS_CAPI_DLL void Settings_Get_UEregs(int32_t** ResultPtr, int32_t* ResultCount);
5081 DSS_CAPI_DLL void Settings_Get_UEregs_GR(void);
5082
5086 DSS_CAPI_DLL double Settings_Get_UEweight(void);
5087
5091 DSS_CAPI_DLL void Settings_Set_LossRegs(int32_t* ValuePtr, int32_t ValueCount);
5092
5096 DSS_CAPI_DLL void Settings_Set_LossWeight(double Value);
5097
5101 DSS_CAPI_DLL void Settings_Set_Trapezoidal(uint16_t Value);
5102
5106 DSS_CAPI_DLL void Settings_Set_UEregs(int32_t* ValuePtr, int32_t ValueCount);
5107
5111 DSS_CAPI_DLL void Settings_Set_UEweight(double Value);
5112
5116 DSS_CAPI_DLL uint16_t Settings_Get_ControlTrace(void);
5117
5121 DSS_CAPI_DLL void Settings_Get_VoltageBases(double** ResultPtr, int32_t* ResultCount);
5125 DSS_CAPI_DLL void Settings_Get_VoltageBases_GR(void);
5126
5130 DSS_CAPI_DLL void Settings_Set_ControlTrace(uint16_t Value);
5131
5135 DSS_CAPI_DLL void Settings_Set_VoltageBases(double* ValuePtr, int32_t ValueCount);
5136
5140 DSS_CAPI_DLL char* Settings_Get_PriceCurve(void);
5141
5145 DSS_CAPI_DLL double Settings_Get_PriceSignal(void);
5146
5150 DSS_CAPI_DLL void Settings_Set_PriceCurve(const char* Value);
5151
5155 DSS_CAPI_DLL void Settings_Set_PriceSignal(double Value);
5156
5163 DSS_CAPI_DLL uint16_t Settings_Get_LoadsTerminalCheck(void);
5164 DSS_CAPI_DLL void Settings_Set_LoadsTerminalCheck(uint16_t Value);
5165
5176 DSS_CAPI_DLL int32_t Settings_Get_IterateDisabled(void);
5177 DSS_CAPI_DLL void Settings_Set_IterateDisabled(int32_t Value);
5178
5182 DSS_CAPI_DLL double Solution_Get_Frequency(void);
5183
5187 DSS_CAPI_DLL int32_t Solution_Get_Hour(void);
5188
5192 DSS_CAPI_DLL int32_t Solution_Get_Iterations(void);
5193
5197 DSS_CAPI_DLL double Solution_Get_LoadMult(void);
5198
5202 DSS_CAPI_DLL int32_t Solution_Get_MaxIterations(void);
5203
5207 DSS_CAPI_DLL int32_t Solution_Get_Mode(void);
5208
5212 DSS_CAPI_DLL int32_t Solution_Get_Number(void);
5213
5214
5218 DSS_CAPI_DLL void Solution_Set_Random(int32_t Random);
5219
5223 DSS_CAPI_DLL int32_t Solution_Get_Random(void);
5224
5228 DSS_CAPI_DLL double Solution_Get_Seconds(void);
5229
5233 DSS_CAPI_DLL double Solution_Get_StepSize(void);
5234
5238 DSS_CAPI_DLL double Solution_Get_Tolerance(void);
5239
5243 DSS_CAPI_DLL int32_t Solution_Get_Year(void);
5244
5248 DSS_CAPI_DLL void Solution_Set_Frequency(double Value);
5249
5253 DSS_CAPI_DLL void Solution_Set_Hour(int32_t Value);
5254
5258 DSS_CAPI_DLL void Solution_Set_LoadMult(double Value);
5259
5263 DSS_CAPI_DLL void Solution_Set_MaxIterations(int32_t Value);
5264
5268 DSS_CAPI_DLL void Solution_Set_Mode(int32_t Mode);
5269
5273 DSS_CAPI_DLL void Solution_Set_Number(int32_t Value);
5274
5278 DSS_CAPI_DLL void Solution_Set_Seconds(double Value);
5279
5283 DSS_CAPI_DLL void Solution_Set_StepSize(double Value);
5284
5288 DSS_CAPI_DLL void Solution_Set_Tolerance(double Value);
5289
5293 DSS_CAPI_DLL void Solution_Set_Year(int32_t Value);
5294
5295 DSS_CAPI_DLL void Solution_Solve(void);
5296
5300 DSS_CAPI_DLL char* Solution_Get_ModeID(void);
5301
5305 DSS_CAPI_DLL int32_t Solution_Get_LoadModel(void);
5306
5310 DSS_CAPI_DLL void Solution_Set_LoadModel(int32_t Value);
5311
5315 DSS_CAPI_DLL char* Solution_Get_LDCurve(void);
5316
5320 DSS_CAPI_DLL void Solution_Set_LDCurve(const char* Value);
5321
5325 DSS_CAPI_DLL double Solution_Get_pctGrowth(void);
5326
5330 DSS_CAPI_DLL void Solution_Set_pctGrowth(double Value);
5331
5335 DSS_CAPI_DLL int32_t Solution_Get_AddType(void);
5336
5337 DSS_CAPI_DLL void Solution_Set_AddType(int32_t Value);
5338
5342 DSS_CAPI_DLL double Solution_Get_GenkW(void);
5343
5344 DSS_CAPI_DLL void Solution_Set_GenkW(double Value);
5345
5349 DSS_CAPI_DLL double Solution_Get_GenPF(void);
5350
5354 DSS_CAPI_DLL void Solution_Set_GenPF(double Value);
5355
5359 DSS_CAPI_DLL double Solution_Get_Capkvar(void);
5360
5364 DSS_CAPI_DLL void Solution_Set_Capkvar(double Value);
5365
5369 DSS_CAPI_DLL int32_t Solution_Get_Algorithm(void);
5370
5374 DSS_CAPI_DLL void Solution_Set_Algorithm(int32_t Value);
5375
5379 DSS_CAPI_DLL int32_t Solution_Get_ControlMode(void);
5380
5381 DSS_CAPI_DLL void Solution_Set_ControlMode(int32_t Value);
5382
5386 DSS_CAPI_DLL double Solution_Get_GenMult(void);
5387
5391 DSS_CAPI_DLL void Solution_Set_GenMult(double Value);
5392
5396 DSS_CAPI_DLL char* Solution_Get_DefaultDaily(void);
5397
5401 DSS_CAPI_DLL char* Solution_Get_DefaultYearly(void);
5402
5406 DSS_CAPI_DLL void Solution_Set_DefaultDaily(const char* Value);
5407
5411 DSS_CAPI_DLL void Solution_Set_DefaultYearly(const char* Value);
5412
5416 DSS_CAPI_DLL void Solution_Get_EventLog(char*** ResultPtr, int32_t* ResultCount);
5420 DSS_CAPI_DLL void Solution_Get_EventLog_GR(void);
5421
5425 DSS_CAPI_DLL double Solution_Get_dblHour(void);
5426
5430 DSS_CAPI_DLL void Solution_Set_dblHour(double Value);
5431
5435 DSS_CAPI_DLL void Solution_Set_StepsizeHr(double Value);
5436
5440 DSS_CAPI_DLL void Solution_Set_StepsizeMin(double Value);
5441
5445 DSS_CAPI_DLL int32_t Solution_Get_ControlIterations(void);
5446
5450 DSS_CAPI_DLL int32_t Solution_Get_MaxControlIterations(void);
5451
5452 DSS_CAPI_DLL void Solution_Sample_DoControlActions(void);
5453
5457 DSS_CAPI_DLL void Solution_Set_ControlIterations(int32_t Value);
5458
5462 DSS_CAPI_DLL void Solution_Set_MaxControlIterations(int32_t Value);
5463
5464 DSS_CAPI_DLL void Solution_CheckFaultStatus(void);
5465
5466 DSS_CAPI_DLL void Solution_SolveDirect(void);
5467
5468 DSS_CAPI_DLL void Solution_SolveNoControl(void);
5469
5470 DSS_CAPI_DLL void Solution_SolvePflow(void);
5471
5472 DSS_CAPI_DLL void Solution_SolvePlusControl(void);
5473
5474 DSS_CAPI_DLL void Solution_SolveSnap(void);
5475
5476 DSS_CAPI_DLL void Solution_CheckControls(void);
5477
5478 DSS_CAPI_DLL void Solution_InitSnap(void);
5479
5483 DSS_CAPI_DLL uint16_t Solution_Get_SystemYChanged(void);
5484
5485 DSS_CAPI_DLL void Solution_BuildYMatrix(int32_t BuildOption, int32_t AllocateVI);
5486
5487 DSS_CAPI_DLL void Solution_DoControlActions(void);
5488
5489 DSS_CAPI_DLL void Solution_SampleControlDevices(void);
5490
5494 DSS_CAPI_DLL uint16_t Solution_Get_Converged(void);
5495
5499 DSS_CAPI_DLL void Solution_Set_Converged(uint16_t Value);
5500
5504 DSS_CAPI_DLL int32_t Solution_Get_Totaliterations(void);
5505
5509 DSS_CAPI_DLL int32_t Solution_Get_MostIterationsDone(void);
5510
5514 DSS_CAPI_DLL uint16_t Solution_Get_ControlActionsDone(void);
5515
5516 DSS_CAPI_DLL void Solution_Set_ControlActionsDone(uint16_t Value);
5517
5518 DSS_CAPI_DLL void Solution_Cleanup(void);
5519
5520 DSS_CAPI_DLL void Solution_FinishTimeStep(void);
5521
5525 DSS_CAPI_DLL double Solution_Get_Process_Time(void);
5526
5530 DSS_CAPI_DLL double Solution_Get_Total_Time(void);
5531
5535 DSS_CAPI_DLL void Solution_Set_Total_Time(double Value);
5536
5540 DSS_CAPI_DLL double Solution_Get_Time_of_Step(void);
5541
5545 DSS_CAPI_DLL double Solution_Get_IntervalHrs(void);
5546
5550 DSS_CAPI_DLL void Solution_Set_IntervalHrs(double Value);
5551
5555 DSS_CAPI_DLL int32_t Solution_Get_MinIterations(void);
5556
5560 DSS_CAPI_DLL void Solution_Set_MinIterations(int32_t Value);
5561
5565 DSS_CAPI_DLL void Solution_SolveAll(void);
5566
5567 DSS_CAPI_DLL void Solution_Get_IncMatrix(int32_t** ResultPtr, int32_t* ResultCount);
5568
5572 DSS_CAPI_DLL void Solution_Get_IncMatrix_GR(void);
5573
5574 DSS_CAPI_DLL void Solution_Get_Laplacian(int32_t** ResultPtr, int32_t* ResultCount);
5575
5579 DSS_CAPI_DLL void Solution_Get_Laplacian_GR(void);
5580
5581 DSS_CAPI_DLL void Solution_Get_BusLevels(int32_t** ResultPtr, int32_t* ResultCount);
5585 DSS_CAPI_DLL void Solution_Get_BusLevels_GR(void);
5586
5587 DSS_CAPI_DLL void Solution_Get_IncMatrixRows(char*** ResultPtr, int32_t* ResultCount);
5591 DSS_CAPI_DLL void Solution_Get_IncMatrixRows_GR(void);
5592
5593 DSS_CAPI_DLL void Solution_Get_IncMatrixCols(char*** ResultPtr, int32_t* ResultCount);
5597 DSS_CAPI_DLL void Solution_Get_IncMatrixCols_GR(void);
5598
5602 DSS_CAPI_DLL int32_t SwtControls_Get_Action(void);
5603
5607 DSS_CAPI_DLL void SwtControls_Get_AllNames(char*** ResultPtr, int32_t* ResultCount);
5611 DSS_CAPI_DLL void SwtControls_Get_AllNames_GR(void);
5612
5616 DSS_CAPI_DLL double SwtControls_Get_Delay(void);
5617
5621 DSS_CAPI_DLL int32_t SwtControls_Get_First(void);
5622
5626 DSS_CAPI_DLL uint16_t SwtControls_Get_IsLocked(void);
5627
5631 DSS_CAPI_DLL char* SwtControls_Get_Name(void);
5632
5636 DSS_CAPI_DLL int32_t SwtControls_Get_Next(void);
5637
5641 DSS_CAPI_DLL char* SwtControls_Get_SwitchedObj(void);
5642
5646 DSS_CAPI_DLL int32_t SwtControls_Get_SwitchedTerm(void);
5647
5651 DSS_CAPI_DLL void SwtControls_Set_Action(int32_t Value);
5652
5656 DSS_CAPI_DLL void SwtControls_Set_Delay(double Value);
5657
5661 DSS_CAPI_DLL void SwtControls_Set_IsLocked(uint16_t Value);
5662
5666 DSS_CAPI_DLL void SwtControls_Set_Name(const char* Value);
5667
5671 DSS_CAPI_DLL void SwtControls_Set_SwitchedObj(const char* Value);
5672
5676 DSS_CAPI_DLL void SwtControls_Set_SwitchedTerm(int32_t Value);
5677
5678 DSS_CAPI_DLL int32_t SwtControls_Get_Count(void);
5679
5683 DSS_CAPI_DLL int32_t SwtControls_Get_NormalState(void);
5684
5685 DSS_CAPI_DLL void SwtControls_Set_NormalState(int32_t Value);
5686
5690 DSS_CAPI_DLL int32_t SwtControls_Get_State(void);
5691
5695 DSS_CAPI_DLL void SwtControls_Set_State(int32_t Value);
5696
5697 DSS_CAPI_DLL void SwtControls_Reset(void);
5698
5702 DSS_CAPI_DLL char* Text_Get_Command(void);
5703
5707 DSS_CAPI_DLL void Text_Set_Command(const char* Value);
5708
5712 DSS_CAPI_DLL char* Text_Get_Result(void);
5713
5717 DSS_CAPI_DLL int32_t Topology_Get_NumLoops(void);
5718
5722 DSS_CAPI_DLL int32_t Topology_Get_ActiveBranch(void);
5723
5727 DSS_CAPI_DLL void Topology_Get_AllIsolatedBranches(char*** ResultPtr, int32_t* ResultCount);
5732
5736 DSS_CAPI_DLL void Topology_Get_AllLoopedPairs(char*** ResultPtr, int32_t* ResultCount);
5740 DSS_CAPI_DLL void Topology_Get_AllLoopedPairs_GR(void);
5741
5745 DSS_CAPI_DLL int32_t Topology_Get_BackwardBranch(void);
5746
5750 DSS_CAPI_DLL char* Topology_Get_BranchName(void);
5751
5755 DSS_CAPI_DLL int32_t Topology_Get_First(void);
5756
5760 DSS_CAPI_DLL int32_t Topology_Get_ForwardBranch(void);
5761
5765 DSS_CAPI_DLL int32_t Topology_Get_LoopedBranch(void);
5766
5770 DSS_CAPI_DLL int32_t Topology_Get_Next(void);
5771
5775 DSS_CAPI_DLL int32_t Topology_Get_NumIsolatedBranches(void);
5776
5780 DSS_CAPI_DLL int32_t Topology_Get_ParallelBranch(void);
5781
5782 DSS_CAPI_DLL void Topology_Set_BranchName(const char* Value);
5783
5787 DSS_CAPI_DLL void Topology_Get_AllIsolatedLoads(char*** ResultPtr, int32_t* ResultCount);
5791 DSS_CAPI_DLL void Topology_Get_AllIsolatedLoads_GR(void);
5792
5796 DSS_CAPI_DLL int32_t Topology_Get_FirstLoad(void);
5797
5801 DSS_CAPI_DLL int32_t Topology_Get_NextLoad(void);
5802
5806 DSS_CAPI_DLL int32_t Topology_Get_NumIsolatedLoads(void);
5807
5811 DSS_CAPI_DLL int32_t Topology_Get_ActiveLevel(void);
5812
5813 DSS_CAPI_DLL char* Topology_Get_BusName(void);
5814
5818 DSS_CAPI_DLL void Topology_Set_BusName(const char* Value);
5819
5823 DSS_CAPI_DLL void Transformers_Get_AllNames(char*** ResultPtr, int32_t* ResultCount);
5827 DSS_CAPI_DLL void Transformers_Get_AllNames_GR(void);
5828
5832 DSS_CAPI_DLL int32_t Transformers_Get_First(void);
5833
5837 DSS_CAPI_DLL uint16_t Transformers_Get_IsDelta(void);
5838
5842 DSS_CAPI_DLL double Transformers_Get_kV(void);
5843
5847 DSS_CAPI_DLL double Transformers_Get_kVA(void);
5848
5852 DSS_CAPI_DLL double Transformers_Get_MaxTap(void);
5853
5857 DSS_CAPI_DLL double Transformers_Get_MinTap(void);
5858
5862 DSS_CAPI_DLL char* Transformers_Get_Name(void);
5863
5867 DSS_CAPI_DLL int32_t Transformers_Get_Next(void);
5868
5872 DSS_CAPI_DLL int32_t Transformers_Get_NumTaps(void);
5873
5877 DSS_CAPI_DLL int32_t Transformers_Get_NumWindings(void);
5878
5882 DSS_CAPI_DLL double Transformers_Get_R(void);
5883
5887 DSS_CAPI_DLL double Transformers_Get_Rneut(void);
5888
5892 DSS_CAPI_DLL double Transformers_Get_Tap(void);
5893
5897 DSS_CAPI_DLL int32_t Transformers_Get_Wdg(void);
5898
5902 DSS_CAPI_DLL char* Transformers_Get_XfmrCode(void);
5903
5907 DSS_CAPI_DLL double Transformers_Get_Xhl(void);
5908
5912 DSS_CAPI_DLL double Transformers_Get_Xht(void);
5913
5917 DSS_CAPI_DLL double Transformers_Get_Xlt(void);
5918
5922 DSS_CAPI_DLL double Transformers_Get_Xneut(void);
5923
5927 DSS_CAPI_DLL void Transformers_Set_IsDelta(uint16_t Value);
5928
5932 DSS_CAPI_DLL void Transformers_Set_kV(double Value);
5933
5937 DSS_CAPI_DLL void Transformers_Set_kVA(double Value);
5938
5942 DSS_CAPI_DLL void Transformers_Set_MaxTap(double Value);
5943
5947 DSS_CAPI_DLL void Transformers_Set_MinTap(double Value);
5948
5952 DSS_CAPI_DLL void Transformers_Set_Name(const char* Value);
5953
5957 DSS_CAPI_DLL void Transformers_Set_NumTaps(int32_t Value);
5958
5962 DSS_CAPI_DLL void Transformers_Set_NumWindings(int32_t Value);
5963
5967 DSS_CAPI_DLL void Transformers_Set_R(double Value);
5968
5972 DSS_CAPI_DLL void Transformers_Set_Rneut(double Value);
5973
5977 DSS_CAPI_DLL void Transformers_Set_Tap(double Value);
5978
5982 DSS_CAPI_DLL void Transformers_Set_Wdg(int32_t Value);
5983
5987 DSS_CAPI_DLL void Transformers_Set_XfmrCode(const char* Value);
5988
5992 DSS_CAPI_DLL void Transformers_Set_Xhl(double Value);
5993
5997 DSS_CAPI_DLL void Transformers_Set_Xht(double Value);
5998
6002 DSS_CAPI_DLL void Transformers_Set_Xlt(double Value);
6003
6007 DSS_CAPI_DLL void Transformers_Set_Xneut(double Value);
6008
6009 DSS_CAPI_DLL int32_t Transformers_Get_Count(void);
6010
6014 DSS_CAPI_DLL void Transformers_Get_WdgVoltages(double** ResultPtr, int32_t* ResultCount);
6015
6019 DSS_CAPI_DLL void Transformers_Get_WdgVoltages_GR(void);
6020
6024 DSS_CAPI_DLL void Transformers_Get_WdgCurrents(double** ResultPtr, int32_t* ResultCount);
6025
6029 DSS_CAPI_DLL void Transformers_Get_WdgCurrents_GR(void);
6030
6034 DSS_CAPI_DLL char* Transformers_Get_strWdgCurrents(void);
6035
6039 DSS_CAPI_DLL int32_t Transformers_Get_CoreType(void);
6040 DSS_CAPI_DLL void Transformers_Set_CoreType(int32_t Value);
6041
6045 DSS_CAPI_DLL double Transformers_Get_RdcOhms(void);
6046 DSS_CAPI_DLL void Transformers_Set_RdcOhms(double Value);
6047
6051 DSS_CAPI_DLL void Transformers_Get_LossesByType(double** ResultPtr, int32_t* ResultCount);
6055 DSS_CAPI_DLL void Transformers_Get_LossesByType_GR(void);
6056
6060 DSS_CAPI_DLL void Transformers_Get_AllLossesByType(double** ResultPtr, int32_t* ResultCount);
6065
6069 DSS_CAPI_DLL void Vsources_Get_AllNames(char*** ResultPtr, int32_t* ResultCount);
6073 DSS_CAPI_DLL void Vsources_Get_AllNames_GR(void);
6074
6078 DSS_CAPI_DLL int32_t Vsources_Get_Count(void);
6079
6083 DSS_CAPI_DLL int32_t Vsources_Get_First(void);
6084
6088 DSS_CAPI_DLL int32_t Vsources_Get_Next(void);
6089
6093 DSS_CAPI_DLL char* Vsources_Get_Name(void);
6094
6098 DSS_CAPI_DLL void Vsources_Set_Name(const char* Value);
6099
6103 DSS_CAPI_DLL double Vsources_Get_BasekV(void);
6104
6108 DSS_CAPI_DLL double Vsources_Get_pu(void);
6109
6113 DSS_CAPI_DLL void Vsources_Set_BasekV(double Value);
6114
6118 DSS_CAPI_DLL void Vsources_Set_pu(double Value);
6119
6123 DSS_CAPI_DLL double Vsources_Get_AngleDeg(void);
6124
6128 DSS_CAPI_DLL double Vsources_Get_Frequency(void);
6129
6133 DSS_CAPI_DLL int32_t Vsources_Get_Phases(void);
6134
6138 DSS_CAPI_DLL void Vsources_Set_AngleDeg(double Value);
6139
6143 DSS_CAPI_DLL void Vsources_Set_Frequency(double Value);
6144
6148 DSS_CAPI_DLL void Vsources_Set_Phases(int32_t Value);
6149
6150
6154 DSS_CAPI_DLL void XYCurves_Get_AllNames(char*** ResultPtr, int32_t* ResultCount);
6158 DSS_CAPI_DLL void XYCurves_Get_AllNames_GR(void);
6159
6163 DSS_CAPI_DLL int32_t XYCurves_Get_Count(void);
6164
6168 DSS_CAPI_DLL int32_t XYCurves_Get_First(void);
6169
6173 DSS_CAPI_DLL char* XYCurves_Get_Name(void);
6174
6178 DSS_CAPI_DLL int32_t XYCurves_Get_Next(void);
6179
6183 DSS_CAPI_DLL void XYCurves_Set_Name(const char* Value);
6184
6188 DSS_CAPI_DLL int32_t XYCurves_Get_Npts(void);
6189
6193 DSS_CAPI_DLL void XYCurves_Get_Xarray(double** ResultPtr, int32_t* ResultCount);
6197 DSS_CAPI_DLL void XYCurves_Get_Xarray_GR(void);
6198
6202 DSS_CAPI_DLL void XYCurves_Set_Npts(int32_t Value);
6203
6207 DSS_CAPI_DLL void XYCurves_Set_Xarray(double* ValuePtr, int32_t ValueCount);
6208
6212 DSS_CAPI_DLL double XYCurves_Get_x(void);
6213
6217 DSS_CAPI_DLL double XYCurves_Get_y(void);
6218
6222 DSS_CAPI_DLL void XYCurves_Get_Yarray(double** ResultPtr, int32_t* ResultCount);
6226 DSS_CAPI_DLL void XYCurves_Get_Yarray_GR(void);
6227
6228 DSS_CAPI_DLL void XYCurves_Set_x(double Value);
6229
6233 DSS_CAPI_DLL void XYCurves_Set_y(double Value);
6234
6238 DSS_CAPI_DLL void XYCurves_Set_Yarray(double* ValuePtr, int32_t ValueCount);
6239
6243 DSS_CAPI_DLL double XYCurves_Get_Xscale(void);
6244
6248 DSS_CAPI_DLL double XYCurves_Get_Xshift(void);
6249
6253 DSS_CAPI_DLL double XYCurves_Get_Yscale(void);
6254
6258 DSS_CAPI_DLL double XYCurves_Get_Yshift(void);
6259
6263 DSS_CAPI_DLL void XYCurves_Set_Xscale(double Value);
6264
6265 DSS_CAPI_DLL void XYCurves_Set_Xshift(double Value);
6266
6270 DSS_CAPI_DLL void XYCurves_Set_Yscale(double Value);
6271
6272 DSS_CAPI_DLL void XYCurves_Set_Yshift(double Value);
6273
6274 DSS_CAPI_DLL void YMatrix_GetCompressedYMatrix(uint16_t factor, uint32_t *nBus, uint32_t *nNz, int32_t **ColPtr, int32_t **RowIdxPtr, double **cValsPtr);
6275 DSS_CAPI_DLL void YMatrix_ZeroInjCurr(void);
6276 DSS_CAPI_DLL void YMatrix_GetSourceInjCurrents(void);
6277 DSS_CAPI_DLL void YMatrix_GetPCInjCurr(void);
6278 DSS_CAPI_DLL void YMatrix_BuildYMatrixD(int32_t BuildOps, int32_t AllocateVI);
6279 DSS_CAPI_DLL void YMatrix_AddInAuxCurrents(int32_t SType);
6280 DSS_CAPI_DLL void YMatrix_getIpointer(double **IvectorPtr);
6281 DSS_CAPI_DLL void YMatrix_getVpointer(double **VvectorPtr);
6282 DSS_CAPI_DLL int32_t YMatrix_SolveSystem(double *NodeVPtr);
6283 DSS_CAPI_DLL void YMatrix_Set_SystemYChanged(uint16_t arg);
6284 DSS_CAPI_DLL uint16_t YMatrix_Get_SystemYChanged(void);
6285 DSS_CAPI_DLL void YMatrix_Set_UseAuxCurrents(uint16_t arg);
6286 DSS_CAPI_DLL uint16_t YMatrix_Get_UseAuxCurrents(void);
6287
6288
6292 DSS_CAPI_DLL double ReduceCkt_Get_Zmag(void);
6293 DSS_CAPI_DLL void ReduceCkt_Set_Zmag(double Value);
6294
6298 DSS_CAPI_DLL uint16_t ReduceCkt_Get_KeepLoad(void);
6299 DSS_CAPI_DLL void ReduceCkt_Set_KeepLoad(uint16_t Value);
6300
6304 DSS_CAPI_DLL char *ReduceCkt_Get_EditString(void);
6305 DSS_CAPI_DLL void ReduceCkt_Set_EditString(const char* Value);
6306
6310 DSS_CAPI_DLL char *ReduceCkt_Get_StartPDElement(void);
6311 DSS_CAPI_DLL void ReduceCkt_Set_StartPDElement(const char* Value);
6312
6316 DSS_CAPI_DLL char *ReduceCkt_Get_EnergyMeter(void);
6317 DSS_CAPI_DLL void ReduceCkt_Set_EnergyMeter(const char* Value);
6318
6323 DSS_CAPI_DLL void ReduceCkt_SaveCircuit(const char* CktName);
6324
6328 DSS_CAPI_DLL void ReduceCkt_DoDefault(void);
6329
6333 DSS_CAPI_DLL void ReduceCkt_DoShortLines(void);
6334
6338 DSS_CAPI_DLL void ReduceCkt_DoDangling(void);
6339
6340 DSS_CAPI_DLL void ReduceCkt_DoLoopBreak(void);
6341 DSS_CAPI_DLL void ReduceCkt_DoParallelLines(void);
6342 DSS_CAPI_DLL void ReduceCkt_DoSwitches(void);
6343 DSS_CAPI_DLL void ReduceCkt_Do1phLaterals(void);
6344 DSS_CAPI_DLL void ReduceCkt_DoBranchRemove(void);
6345
6349 DSS_CAPI_DLL void Storages_Get_AllNames(char*** ResultPtr, int32_t* ResultCount);
6350
6354 DSS_CAPI_DLL int32_t Storages_Get_First(void);
6355
6359 DSS_CAPI_DLL int32_t Storages_Get_Next(void);
6360
6364 DSS_CAPI_DLL int32_t Storages_Get_Count(void);
6365
6369 DSS_CAPI_DLL int32_t Storages_Get_idx(void);
6370
6374 DSS_CAPI_DLL void Storages_Set_idx(int32_t Value);
6375
6379 DSS_CAPI_DLL char* Storages_Get_Name(void);
6380
6384 DSS_CAPI_DLL void Storages_Set_Name(const char* Value);
6385
6389 DSS_CAPI_DLL void Storages_Get_RegisterNames(char*** ResultPtr, int32_t* ResultCount);
6390
6394 DSS_CAPI_DLL void Storages_Get_RegisterValues(double** ResultPtr, int32_t* ResultCount);
6398 DSS_CAPI_DLL void Storages_Get_RegisterValues_GR(void);
6399
6403 DSS_CAPI_DLL double Storages_Get_puSOC(void);
6404
6408 DSS_CAPI_DLL void Storages_Set_puSOC(double Value);
6409
6415 DSS_CAPI_DLL int32_t Storages_Get_State(void);
6416
6422 DSS_CAPI_DLL void Storages_Set_State(int32_t Value);
6423
6424 // Experimental API extensions
6425 DSS_CAPI_DLL int32_t CNData_Get_Count(void);
6426 DSS_CAPI_DLL int32_t CNData_Get_First(void);
6427 DSS_CAPI_DLL int32_t CNData_Get_Next(void);
6428 DSS_CAPI_DLL char *CNData_Get_Name(void);
6429 DSS_CAPI_DLL void CNData_Set_Name(const char* Value);
6430 DSS_CAPI_DLL void CNData_Get_AllNames(char*** ResultPtr, int32_t* ResultCount);
6431 DSS_CAPI_DLL void CNData_Get_AllNames_GR(void);
6432 DSS_CAPI_DLL double CNData_Get_Rdc(void);
6433 DSS_CAPI_DLL void CNData_Set_Rdc(double Value);
6434 DSS_CAPI_DLL double CNData_Get_Rac(void);
6435 DSS_CAPI_DLL void CNData_Set_Rac(double Value);
6436 DSS_CAPI_DLL double CNData_Get_GMRac(void);
6437 DSS_CAPI_DLL void CNData_Set_GMRac(double Value);
6438 DSS_CAPI_DLL int32_t CNData_Get_GMRUnits(void);
6439 DSS_CAPI_DLL void CNData_Set_GMRUnits(int32_t Value);
6440 DSS_CAPI_DLL double CNData_Get_Radius(void);
6441 DSS_CAPI_DLL void CNData_Set_Radius(double Value);
6442 DSS_CAPI_DLL int32_t CNData_Get_RadiusUnits(void);
6443 DSS_CAPI_DLL void CNData_Set_RadiusUnits(int32_t Value);
6444 DSS_CAPI_DLL int32_t CNData_Get_ResistanceUnits(void);
6445 DSS_CAPI_DLL void CNData_Set_ResistanceUnits(int32_t Value);
6446 DSS_CAPI_DLL double CNData_Get_Diameter(void);
6447 DSS_CAPI_DLL void CNData_Set_Diameter(double Value);
6448 DSS_CAPI_DLL double CNData_Get_NormAmps(void);
6449 DSS_CAPI_DLL void CNData_Set_NormAmps(double Value);
6450 DSS_CAPI_DLL double CNData_Get_EmergAmps(void);
6451 DSS_CAPI_DLL void CNData_Set_EmergAmps(double Value);
6452 DSS_CAPI_DLL double CNData_Get_EpsR(void);
6453 DSS_CAPI_DLL void CNData_Set_EpsR(double Value);
6454 DSS_CAPI_DLL double CNData_Get_InsLayer(void);
6455 DSS_CAPI_DLL void CNData_Set_InsLayer(double Value);
6456 DSS_CAPI_DLL double CNData_Get_DiaIns(void);
6457 DSS_CAPI_DLL void CNData_Set_DiaIns(double Value);
6458 DSS_CAPI_DLL double CNData_Get_DiaCable(void);
6459 DSS_CAPI_DLL void CNData_Set_DiaCable(double Value);
6460 DSS_CAPI_DLL int32_t CNData_Get_k(void);
6461 DSS_CAPI_DLL void CNData_Set_k(int32_t Value);
6462 DSS_CAPI_DLL double CNData_Get_DiaStrand(void);
6463 DSS_CAPI_DLL void CNData_Set_DiaStrand(double Value);
6464 DSS_CAPI_DLL double CNData_Get_GmrStrand(void);
6465 DSS_CAPI_DLL void CNData_Set_GmrStrand(double Value);
6466 DSS_CAPI_DLL double CNData_Get_RStrand(void);
6467 DSS_CAPI_DLL void CNData_Set_RStrand(double Value);
6468
6469 DSS_CAPI_DLL int32_t LineGeometries_Get_Count(void);
6470 DSS_CAPI_DLL int32_t LineGeometries_Get_First(void);
6471 DSS_CAPI_DLL int32_t LineGeometries_Get_Next(void);
6472 DSS_CAPI_DLL char* LineGeometries_Get_Name(void);
6473 DSS_CAPI_DLL void LineGeometries_Set_Name(const char* Value);
6474 DSS_CAPI_DLL int32_t LineGeometries_Get_Nconds(void);
6475 DSS_CAPI_DLL void LineGeometries_Set_Nconds(int32_t Value);
6476 DSS_CAPI_DLL int32_t LineGeometries_Get_Phases(void);
6477 DSS_CAPI_DLL void LineGeometries_Set_Phases(int32_t Value);
6478 DSS_CAPI_DLL void LineGeometries_Get_Cmatrix(double** ResultPtr, int32_t* ResultCount, double Frequency, double Length, int32_t Units);
6479 DSS_CAPI_DLL void LineGeometries_Get_Cmatrix_GR(double Frequency, double Length, int32_t Units);
6480 DSS_CAPI_DLL void LineGeometries_Get_Rmatrix(double** ResultPtr, int32_t* ResultCount, double Frequency, double Length, int32_t Units);
6481 DSS_CAPI_DLL void LineGeometries_Get_Rmatrix_GR(double Frequency, double Length, int32_t Units);
6482 DSS_CAPI_DLL void LineGeometries_Get_Xmatrix(double** ResultPtr, int32_t* ResultCount, double Frequency, double Length, int32_t Units);
6483 DSS_CAPI_DLL void LineGeometries_Get_Xmatrix_GR(double Frequency, double Length, int32_t Units);
6484 DSS_CAPI_DLL void LineGeometries_Get_Zmatrix(double** ResultPtr, int32_t* ResultCount, double Frequency, double Length, int32_t Units);
6485 DSS_CAPI_DLL void LineGeometries_Get_Zmatrix_GR(double Frequency, double Length, int32_t Units);
6486 DSS_CAPI_DLL void LineGeometries_Get_Units(int32_t** ResultPtr, int32_t* ResultCount);
6487 DSS_CAPI_DLL void LineGeometries_Get_Units_GR(void);
6488 DSS_CAPI_DLL void LineGeometries_Set_Units(int32_t *ValuePtr, int32_t ValueCount);
6489 DSS_CAPI_DLL void LineGeometries_Get_Xcoords(double** ResultPtr, int32_t* ResultCount);
6490 DSS_CAPI_DLL void LineGeometries_Get_Xcoords_GR(void);
6491 DSS_CAPI_DLL void LineGeometries_Set_Xcoords(double* ValuePtr, int32_t ValueCount);
6492 DSS_CAPI_DLL void LineGeometries_Get_Ycoords(double** ResultPtr, int32_t* ResultCount);
6493 DSS_CAPI_DLL void LineGeometries_Get_Ycoords_GR(void);
6494 DSS_CAPI_DLL void LineGeometries_Set_Ycoords(double* ValuePtr, int32_t ValueCount);
6495 DSS_CAPI_DLL void LineGeometries_Get_Conductors(char*** ResultPtr, int32_t* ResultCount);
6496 DSS_CAPI_DLL void LineGeometries_Get_Conductors_GR(void);
6497 DSS_CAPI_DLL uint16_t LineGeometries_Get_Reduce(void);
6498 DSS_CAPI_DLL void LineGeometries_Set_Reduce(uint16_t Value);
6499 DSS_CAPI_DLL double LineGeometries_Get_RhoEarth(void);
6500 DSS_CAPI_DLL void LineGeometries_Set_RhoEarth(double Value);
6501 DSS_CAPI_DLL double LineGeometries_Get_NormAmps(void);
6502 DSS_CAPI_DLL void LineGeometries_Set_NormAmps(double Value);
6503 DSS_CAPI_DLL double LineGeometries_Get_EmergAmps(void);
6504 DSS_CAPI_DLL void LineGeometries_Set_EmergAmps(double Value);
6505 DSS_CAPI_DLL void LineGeometries_Get_AllNames(char*** ResultPtr, int32_t* ResultCount);
6506 DSS_CAPI_DLL void LineGeometries_Get_AllNames_GR(void);
6507
6508 DSS_CAPI_DLL int32_t LineSpacings_Get_Count(void);
6509 DSS_CAPI_DLL int32_t LineSpacings_Get_First(void);
6510 DSS_CAPI_DLL int32_t LineSpacings_Get_Next(void);
6511 DSS_CAPI_DLL char* LineSpacings_Get_Name(void);
6512 DSS_CAPI_DLL void LineSpacings_Set_Name(const char* Value);
6513 DSS_CAPI_DLL int32_t LineSpacings_Get_Nconds(void);
6514 DSS_CAPI_DLL void LineSpacings_Set_Nconds(int32_t Value);
6515 DSS_CAPI_DLL int32_t LineSpacings_Get_Phases(void);
6516 DSS_CAPI_DLL void LineSpacings_Set_Phases(int32_t Value);
6517 DSS_CAPI_DLL int32_t LineSpacings_Get_Units(void);
6518 DSS_CAPI_DLL void LineSpacings_Set_Units(int32_t Value);
6519 DSS_CAPI_DLL void LineSpacings_Get_Xcoords(double** ResultPtr, int32_t* ResultCount);
6520 DSS_CAPI_DLL void LineSpacings_Get_Xcoords_GR(void);
6521 DSS_CAPI_DLL void LineSpacings_Set_Xcoords(double* ValuePtr, int32_t ValueCount);
6522 DSS_CAPI_DLL void LineSpacings_Get_Ycoords(double** ResultPtr, int32_t* ResultCount);
6523 DSS_CAPI_DLL void LineSpacings_Get_Ycoords_GR(void);
6524 DSS_CAPI_DLL void LineSpacings_Set_Ycoords(double* ValuePtr, int32_t ValueCount);
6525 DSS_CAPI_DLL void LineSpacings_Get_AllNames(char*** ResultPtr, int32_t* ResultCount);
6526 DSS_CAPI_DLL void LineSpacings_Get_AllNames_GR(void);
6527
6528 DSS_CAPI_DLL int32_t Loads_Get_Phases(void);
6529 DSS_CAPI_DLL void Loads_Set_Phases(int32_t Integer);
6530
6531 DSS_CAPI_DLL void Reactors_Get_AllNames(char*** ResultPtr, int32_t* ResultCount);
6532 DSS_CAPI_DLL void Reactors_Get_AllNames_GR(void);
6533 DSS_CAPI_DLL char* Reactors_Get_Name(void);
6534 DSS_CAPI_DLL void Reactors_Set_Name(const char* Value);
6535 DSS_CAPI_DLL int32_t Reactors_Get_First(void);
6536 DSS_CAPI_DLL int32_t Reactors_Get_Next(void);
6537 DSS_CAPI_DLL int32_t Reactors_Get_Count(void);
6538 DSS_CAPI_DLL double Reactors_Get_kV(void);
6539 DSS_CAPI_DLL void Reactors_Set_kV(double Value);
6540 DSS_CAPI_DLL double Reactors_Get_kvar(void);
6541 DSS_CAPI_DLL void Reactors_Set_kvar(double Value);
6542 DSS_CAPI_DLL int32_t Reactors_Get_Phases(void);
6543 DSS_CAPI_DLL void Reactors_Set_Phases(int32_t Integer);
6544 DSS_CAPI_DLL uint16_t Reactors_Get_IsDelta(void);
6545 DSS_CAPI_DLL void Reactors_Set_IsDelta(uint16_t Value);
6546 DSS_CAPI_DLL uint16_t Reactors_Get_Parallel(void);
6547 DSS_CAPI_DLL void Reactors_Set_Parallel(uint16_t Value);
6548 DSS_CAPI_DLL double Reactors_Get_LmH(void);
6549 DSS_CAPI_DLL void Reactors_Set_LmH(double Value);
6550 DSS_CAPI_DLL char* Reactors_Get_Bus1(void);
6551 DSS_CAPI_DLL char* Reactors_Get_Bus2(void);
6552 DSS_CAPI_DLL void Reactors_Set_Bus1(const char* Value);
6553 DSS_CAPI_DLL void Reactors_Set_Bus2(const char* Value);
6554 DSS_CAPI_DLL double Reactors_Get_R(void);
6555 DSS_CAPI_DLL void Reactors_Set_R(double Value);
6556 DSS_CAPI_DLL double Reactors_Get_X(void);
6557 DSS_CAPI_DLL void Reactors_Set_X(double Value);
6558 DSS_CAPI_DLL double Reactors_Get_Rp(void);
6559 DSS_CAPI_DLL void Reactors_Set_Rp(double Value);
6560 DSS_CAPI_DLL char* Reactors_Get_RCurve(void);
6561 DSS_CAPI_DLL void Reactors_Set_RCurve(const char* Value);
6562 DSS_CAPI_DLL char* Reactors_Get_LCurve(void);
6563 DSS_CAPI_DLL void Reactors_Set_LCurve(const char* Value);
6564 DSS_CAPI_DLL void Reactors_Get_Rmatrix(double** ResultPtr, int32_t* ResultCount);
6565 DSS_CAPI_DLL void Reactors_Get_Rmatrix_GR(void);
6566 DSS_CAPI_DLL void Reactors_Set_Rmatrix(double* ValuePtr, int32_t ValueCount);
6567 DSS_CAPI_DLL void Reactors_Get_Xmatrix(double** ResultPtr, int32_t* ResultCount);
6568 DSS_CAPI_DLL void Reactors_Get_Xmatrix_GR(void);
6569 DSS_CAPI_DLL void Reactors_Set_Xmatrix(double* ValuePtr, int32_t ValueCount);
6570 DSS_CAPI_DLL void Reactors_Get_Z(double** ResultPtr, int32_t* ResultCount);
6571 DSS_CAPI_DLL void Reactors_Get_Z_GR(void);
6572 DSS_CAPI_DLL void Reactors_Set_Z(double* ValuePtr, int32_t ValueCount);
6573 DSS_CAPI_DLL void Reactors_Get_Z1(double** ResultPtr, int32_t* ResultCount);
6574 DSS_CAPI_DLL void Reactors_Get_Z1_GR(void);
6575 DSS_CAPI_DLL void Reactors_Set_Z1(double* ValuePtr, int32_t ValueCount);
6576 DSS_CAPI_DLL void Reactors_Get_Z2(double** ResultPtr, int32_t* ResultCount);
6577 DSS_CAPI_DLL void Reactors_Get_Z2_GR(void);
6578 DSS_CAPI_DLL void Reactors_Set_Z2(double* ValuePtr, int32_t ValueCount);
6579 DSS_CAPI_DLL void Reactors_Get_Z0(double** ResultPtr, int32_t* ResultCount);
6580 DSS_CAPI_DLL void Reactors_Get_Z0_GR(void);
6581 DSS_CAPI_DLL void Reactors_Set_Z0(double* ValuePtr, int32_t ValueCount);
6582 DSS_CAPI_DLL int32_t Reactors_Get_SpecType(void);
6583
6584 DSS_CAPI_DLL int32_t TSData_Get_Count(void);
6585 DSS_CAPI_DLL int32_t TSData_Get_First(void);
6586 DSS_CAPI_DLL int32_t TSData_Get_Next(void);
6587 DSS_CAPI_DLL char *TSData_Get_Name(void);
6588 DSS_CAPI_DLL void TSData_Set_Name(const char* Value);
6589 DSS_CAPI_DLL void TSData_Get_AllNames(char*** ResultPtr, int32_t* ResultCount);
6590 DSS_CAPI_DLL void TSData_Get_AllNames_GR(void);
6591 DSS_CAPI_DLL double TSData_Get_Rdc(void);
6592 DSS_CAPI_DLL void TSData_Set_Rdc(double Value);
6593 DSS_CAPI_DLL double TSData_Get_Rac(void);
6594 DSS_CAPI_DLL void TSData_Set_Rac(double Value);
6595 DSS_CAPI_DLL double TSData_Get_GMRac(void);
6596 DSS_CAPI_DLL void TSData_Set_GMRac(double Value);
6597 DSS_CAPI_DLL int32_t TSData_Get_GMRUnits(void);
6598 DSS_CAPI_DLL void TSData_Set_GMRUnits(int32_t Value);
6599 DSS_CAPI_DLL double TSData_Get_Radius(void);
6600 DSS_CAPI_DLL void TSData_Set_Radius(double Value);
6601 DSS_CAPI_DLL int32_t TSData_Get_RadiusUnits(void);
6602 DSS_CAPI_DLL void TSData_Set_RadiusUnits(int32_t Value);
6603 DSS_CAPI_DLL int32_t TSData_Get_ResistanceUnits(void);
6604 DSS_CAPI_DLL void TSData_Set_ResistanceUnits(int32_t Value);
6605 DSS_CAPI_DLL double TSData_Get_Diameter(void);
6606 DSS_CAPI_DLL void TSData_Set_Diameter(double Value);
6607 DSS_CAPI_DLL double TSData_Get_NormAmps(void);
6608 DSS_CAPI_DLL void TSData_Set_NormAmps(double Value);
6609 DSS_CAPI_DLL double TSData_Get_EmergAmps(void);
6610 DSS_CAPI_DLL void TSData_Set_EmergAmps(double Value);
6611 DSS_CAPI_DLL double TSData_Get_EpsR(void);
6612 DSS_CAPI_DLL void TSData_Set_EpsR(double Value);
6613 DSS_CAPI_DLL double TSData_Get_InsLayer(void);
6614 DSS_CAPI_DLL void TSData_Set_InsLayer(double Value);
6615 DSS_CAPI_DLL double TSData_Get_DiaIns(void);
6616 DSS_CAPI_DLL void TSData_Set_DiaIns(double Value);
6617 DSS_CAPI_DLL double TSData_Get_DiaCable(void);
6618 DSS_CAPI_DLL void TSData_Set_DiaCable(double Value);
6619 DSS_CAPI_DLL double TSData_Get_DiaShield(void);
6620 DSS_CAPI_DLL void TSData_Set_DiaShield(double Value);
6621 DSS_CAPI_DLL double TSData_Get_TapeLayer(void);
6622 DSS_CAPI_DLL void TSData_Set_TapeLayer(double Value);
6623 DSS_CAPI_DLL double TSData_Get_TapeLap(void);
6624 DSS_CAPI_DLL void TSData_Set_TapeLap(double Value);
6625
6626 DSS_CAPI_DLL int32_t WireData_Get_Count(void);
6627 DSS_CAPI_DLL int32_t WireData_Get_First(void);
6628 DSS_CAPI_DLL int32_t WireData_Get_Next(void);
6629 DSS_CAPI_DLL char* WireData_Get_Name(void);
6630 DSS_CAPI_DLL void WireData_Set_Name(const char* Value);
6631 DSS_CAPI_DLL void WireData_Get_AllNames(char*** ResultPtr, int32_t* ResultCount);
6632 DSS_CAPI_DLL void WireData_Get_AllNames_GR(void);
6633 DSS_CAPI_DLL double WireData_Get_Rdc(void);
6634 DSS_CAPI_DLL void WireData_Set_Rdc(double Value);
6635 DSS_CAPI_DLL double WireData_Get_Rac(void);
6636 DSS_CAPI_DLL void WireData_Set_Rac(double Value);
6637 DSS_CAPI_DLL double WireData_Get_GMRac(void);
6638 DSS_CAPI_DLL void WireData_Set_GMRac(double Value);
6639 DSS_CAPI_DLL int32_t WireData_Get_GMRUnits(void);
6640 DSS_CAPI_DLL void WireData_Set_GMRUnits(int32_t Value);
6641 DSS_CAPI_DLL double WireData_Get_Radius(void);
6642 DSS_CAPI_DLL void WireData_Set_Radius(double Value);
6643 DSS_CAPI_DLL int32_t WireData_Get_RadiusUnits(void);
6644 DSS_CAPI_DLL void WireData_Set_RadiusUnits(int32_t Value);
6645 DSS_CAPI_DLL int32_t WireData_Get_ResistanceUnits(void);
6646 DSS_CAPI_DLL void WireData_Set_ResistanceUnits(int32_t Value);
6647 DSS_CAPI_DLL double WireData_Get_Diameter(void);
6648 DSS_CAPI_DLL void WireData_Set_Diameter(double Value);
6649 DSS_CAPI_DLL double WireData_Get_NormAmps(void);
6650 DSS_CAPI_DLL void WireData_Set_NormAmps(double Value);
6651 DSS_CAPI_DLL double WireData_Get_EmergAmps(void);
6652 DSS_CAPI_DLL void WireData_Set_EmergAmps(double Value);
6653 DSS_CAPI_DLL double WireData_Get_CapRadius(void);
6654 DSS_CAPI_DLL void WireData_Set_CapRadius(double Value);
6655
6661 DSS_CAPI_DLL int32_t Bus_Get_Next(void);
6662
6671 DSS_CAPI_DLL uint16_t Error_Get_EarlyAbort(void);
6672 DSS_CAPI_DLL void Error_Set_EarlyAbort(uint16_t Value);
6673
6691 DSS_CAPI_DLL uint16_t Error_Get_ExtendedErrors(void);
6692 DSS_CAPI_DLL void Error_Set_ExtendedErrors(uint16_t Value);
6693
6694 DSS_CAPI_DLL int32_t CNData_Get_idx(void);
6695 DSS_CAPI_DLL void CNData_Set_idx(int32_t Value);
6696 DSS_CAPI_DLL int32_t CapControls_Get_idx(void);
6697 DSS_CAPI_DLL void CapControls_Set_idx(int32_t Value);
6698 DSS_CAPI_DLL int32_t Capacitors_Get_idx(void);
6699 DSS_CAPI_DLL void Capacitors_Set_idx(int32_t Value);
6700 DSS_CAPI_DLL int32_t GICSources_Get_idx(void);
6701 DSS_CAPI_DLL void GICSources_Set_idx(int32_t Value);
6702 DSS_CAPI_DLL int32_t ISources_Get_idx(void);
6703 DSS_CAPI_DLL void ISources_Set_idx(int32_t Value);
6704 DSS_CAPI_DLL int32_t LineCodes_Get_idx(void);
6705 DSS_CAPI_DLL void LineCodes_Set_idx(int32_t Value);
6706 DSS_CAPI_DLL int32_t LineGeometries_Get_idx(void);
6707 DSS_CAPI_DLL void LineGeometries_Set_idx(int32_t Value);
6708 DSS_CAPI_DLL int32_t LineSpacings_Get_idx(void);
6709 DSS_CAPI_DLL void LineSpacings_Set_idx(int32_t Value);
6710 DSS_CAPI_DLL int32_t Lines_Get_idx(void);
6711 DSS_CAPI_DLL void Lines_Set_idx(int32_t Value);
6712 DSS_CAPI_DLL int32_t LoadShapes_Get_idx(void);
6713 DSS_CAPI_DLL void LoadShapes_Set_idx(int32_t Value);
6714 DSS_CAPI_DLL int32_t Meters_Get_idx(void);
6715 DSS_CAPI_DLL void Meters_Set_idx(int32_t Value);
6716 DSS_CAPI_DLL int32_t Monitors_Get_idx(void);
6717 DSS_CAPI_DLL void Monitors_Set_idx(int32_t Value);
6718 DSS_CAPI_DLL int32_t Reactors_Get_idx(void);
6719 DSS_CAPI_DLL void Reactors_Set_idx(int32_t Value);
6720 DSS_CAPI_DLL int32_t RegControls_Get_idx(void);
6721 DSS_CAPI_DLL void RegControls_Set_idx(int32_t Value);
6722 DSS_CAPI_DLL int32_t Sensors_Get_idx(void);
6723 DSS_CAPI_DLL void Sensors_Set_idx(int32_t Value);
6724 DSS_CAPI_DLL int32_t SwtControls_Get_idx(void);
6725 DSS_CAPI_DLL void SwtControls_Set_idx(int32_t Value);
6726 DSS_CAPI_DLL int32_t TSData_Get_idx(void);
6727 DSS_CAPI_DLL void TSData_Set_idx(int32_t Value);
6728 DSS_CAPI_DLL int32_t Transformers_Get_idx(void);
6729 DSS_CAPI_DLL void Transformers_Set_idx(int32_t Value);
6730 DSS_CAPI_DLL int32_t Vsources_Get_idx(void);
6731 DSS_CAPI_DLL void Vsources_Set_idx(int32_t Value);
6732 DSS_CAPI_DLL int32_t WireData_Get_idx(void);
6733 DSS_CAPI_DLL void WireData_Set_idx(int32_t Value);
6734 DSS_CAPI_DLL int32_t XYCurves_Get_idx(void);
6735 DSS_CAPI_DLL void XYCurves_Set_idx(int32_t Value);
6736
6737
6744 DSS_CAPI_DLL void Circuit_Get_ElementLosses(double** ResultPtr, int32_t* ResultCount, int32_t *ElementsPtr, int32_t ElementsCount);
6748 DSS_CAPI_DLL void Circuit_Get_ElementLosses_GR(int32_t *ElementsPtr, int32_t ElementsCount);
6749
6750
6770 DSS_CAPI_DLL void LoadShapes_Set_Points(int32_t Npts, void *HoursPtr, void *PMultPtr, void *QMultPtr, uint16_t ExternalMemory, uint16_t IsFloat32, int32_t Stride);
6771
6778 DSS_CAPI_DLL void LoadShapes_UseFloat32(void);
6779
6786 DSS_CAPI_DLL void LoadShapes_UseFloat64(void);
6787
6794 DSS_CAPI_DLL void LoadShapes_Set_MaxP(double Value);
6795
6802 DSS_CAPI_DLL double LoadShapes_Get_MaxP(void);
6803
6810 DSS_CAPI_DLL void LoadShapes_Set_MaxQ(double Value);
6811
6819 DSS_CAPI_DLL double LoadShapes_Get_MaxQ(void);
6820
6821
6827 DSS_CAPI_DLL void CktElement_Get_NodeRef(int32_t** ResultPtr, int32_t* ResultCount);
6831 DSS_CAPI_DLL void CktElement_Get_NodeRef_GR(void);
6832
6836 DSS_CAPI_DLL uint16_t YMatrix_CheckConvergence(void);
6837 DSS_CAPI_DLL void YMatrix_SetGeneratordQdV(void);
6838
6839 DSS_CAPI_DLL uint16_t YMatrix_Get_LoadsNeedUpdating(void);
6840 DSS_CAPI_DLL void YMatrix_Set_LoadsNeedUpdating(uint16_t Value);
6841 DSS_CAPI_DLL uint16_t YMatrix_Get_SolutionInitialized(void);
6842 DSS_CAPI_DLL void YMatrix_Set_SolutionInitialized(uint16_t Value);
6843
6844 DSS_CAPI_DLL int32_t YMatrix_Get_Iteration(void);
6845 DSS_CAPI_DLL void YMatrix_Set_Iteration(int32_t Value);
6846 DSS_CAPI_DLL void *YMatrix_Get_Handle(void);
6847
6848 DSS_CAPI_DLL void YMatrix_Set_SolverOptions(uint64_t opts);
6849 DSS_CAPI_DLL uint64_t YMatrix_Get_SolverOptions(void);
6850
6851 DSS_CAPI_DLL void Text_CommandBlock(const char* Value);
6852 DSS_CAPI_DLL void Text_CommandArray(const char** ValuePtr, int32_t ValueCount);
6853
6862 DSS_CAPI_DLL void ZIP_Open(const char* FileName);
6863
6872 DSS_CAPI_DLL void ZIP_Redirect(const char* FileInZip);
6873
6879 DSS_CAPI_DLL uint16_t ZIP_Contains(const char* Name);
6880
6890 DSS_CAPI_DLL void ZIP_List(char*** ResultPtr, int32_t *ResultCount, const char* RegExp);
6891
6898 DSS_CAPI_DLL void ZIP_Extract(int8_t** ResultPtr, int32_t* ResultCount, const char* FileName);
6899
6900 DSS_CAPI_DLL void ZIP_Extract_GR(const char* FileName);
6901
6907 DSS_CAPI_DLL void ZIP_Close(void);
6908
6919 DSS_CAPI_DLL char* DSS_ExtractSchema(void *ctx);
6920
6921 DSS_CAPI_DLL void DSS_Dispose_String(char* S);
6922 DSS_CAPI_DLL void DSS_Dispose_PPointer(void*** p);
6923
6924 DSS_CAPI_DLL void* Obj_New(void* ctx, int32_t ClsIdx, const char* Name, uint16_t Activate, uint16_t BeginEdit);
6925 DSS_CAPI_DLL int32_t Obj_GetCount(void* ctx, int32_t ClsIdx);
6926 DSS_CAPI_DLL void* Obj_GetHandleByName(void* ctx, int32_t ClsIdx, const char* Name);
6927 DSS_CAPI_DLL void* Obj_GetHandleByIdx(void* ctx, int32_t ClsIdx, int32_t Idx);
6928 DSS_CAPI_DLL uint16_t Obj_PropertySideEffects(void *obj, int32_t Index, int32_t PreviousInt);
6929 DSS_CAPI_DLL void Obj_BeginEdit(void *obj);
6930 DSS_CAPI_DLL void Obj_EndEdit(void *obj, int32_t NumChanges);
6931 DSS_CAPI_DLL int32_t Obj_GetNumProperties(void *obj);
6932
6958 DSS_CAPI_DLL char* Obj_ToJSON(void *obj, int32_t options);
6959
6970 DSS_CAPI_DLL char* Batch_ToJSON(void **batch, int32_t batchSize, int32_t options);
6971
6977 DSS_CAPI_DLL char* Obj_GetName(void *obj);
6978
6984 DSS_CAPI_DLL char* Obj_GetClassName(void *obj);
6985
6986
6987 DSS_CAPI_DLL int32_t Obj_GetIdx(void *obj);
6988 DSS_CAPI_DLL char* Obj_GetClassIdx(void *obj);
6989
6998 DSS_CAPI_DLL void Obj_Activate(void *obj, uint16_t AllLists);
6999
7008 DSS_CAPI_DLL int32_t* Obj_GetPropSeqPtr(void *obj);
7009
7010 DSS_CAPI_DLL double Obj_GetFloat64(void *obj, int32_t Index);
7011 DSS_CAPI_DLL int32_t Obj_GetInt32(void *obj, int32_t Index);
7012 DSS_CAPI_DLL void* Obj_GetObject(void *obj, int32_t Index);
7013
7014 // Note: strings returned by these two must be disposed with DSS_Dispose_String
7015 DSS_CAPI_DLL char* Obj_GetString(void *obj, int32_t Index);
7016 DSS_CAPI_DLL char* Obj_GetAsString(void *obj, int32_t Index);
7017
7018 DSS_CAPI_DLL void Obj_GetFloat64Array(double** ResultPtr, int32_t* ResultCount, void *obj, int32_t Index);
7019 DSS_CAPI_DLL void Obj_GetInt32Array(int32_t** ResultPtr, int32_t* ResultCount, void *obj, int32_t Index);
7020 DSS_CAPI_DLL void Obj_GetStringArray(char*** ResultPtr, int32_t* ResultCount, void *obj, int32_t Index);
7021 DSS_CAPI_DLL void Obj_GetObjectArray(void*** ResultPtr, int32_t* ResultCount, void *obj, int32_t Index);
7022
7023 DSS_CAPI_DLL void Obj_SetAsString(void *obj, int32_t Index, const char* Value);
7024 DSS_CAPI_DLL void Obj_SetFloat64(void *obj, int32_t Index, double Value);
7025 DSS_CAPI_DLL void Obj_SetInt32(void *obj, int32_t Index, int32_t Value);
7026 DSS_CAPI_DLL void Obj_SetString(void *obj, int32_t Index, const char* Value);
7027 DSS_CAPI_DLL void Obj_SetObject(void *obj, int32_t Index, void* Value);
7028
7029 DSS_CAPI_DLL void Obj_SetFloat64Array(void *obj, int32_t Index, double* Value, int32_t ValueCount);
7030 DSS_CAPI_DLL void Obj_SetInt32Array(void *obj, int32_t Index, int32_t* Value, int32_t ValueCount);
7031 DSS_CAPI_DLL void Obj_SetStringArray(void *obj, int32_t Index, const char** Value, int32_t ValueCount);
7032 DSS_CAPI_DLL void Obj_SetObjectArray(void *obj, int32_t Index, void **Value, int32_t ValueCount);
7033
7034 DSS_CAPI_DLL void Batch_Dispose(void **batch);
7035 DSS_CAPI_DLL void Batch_BeginEdit(void **batch, int32_t batchSize);
7036 DSS_CAPI_DLL void Batch_EndEdit(void **batch, int32_t batchSize, int32_t numEdits);
7037 DSS_CAPI_DLL void Batch_GetPropSeq(int32_t** ResultPtr, int32_t* ResultCount, void **batch, int32_t batchSize);
7038
7039 DSS_CAPI_DLL void Batch_CreateFromNew(void* ctx, void*** ResultPtr, int32_t* ResultCount, int32_t clsid, const char** names, int32_t count, uint16_t BeginEdit);
7040 DSS_CAPI_DLL void Batch_CreateByClass(void* ctx, void*** ResultPtr, int32_t* ResultCount, int32_t clsidx);
7041 DSS_CAPI_DLL void Batch_CreateByRegExp(void* ctx, void*** ResultPtr, int32_t* ResultCount, int32_t clsidx, const char* re);
7042 DSS_CAPI_DLL void Batch_CreateByIndex(void* ctx, void*** ResultPtr, int32_t* ResultCount, int32_t clsidx, int32_t* Value, int32_t ValueCount);
7043 DSS_CAPI_DLL void Batch_CreateByInt32Property(void* ctx, void*** ResultPtr, int32_t* ResultCount, int32_t ClsIdx, int32_t idx, int32_t value);
7044
7045 DSS_CAPI_DLL void Batch_GetFloat64(double** ResultPtr, int32_t* ResultCount, void **batch, int32_t batchSize, int32_t Index);
7046 DSS_CAPI_DLL void Batch_GetInt32(int32_t** ResultPtr, int32_t* ResultCount, void **batch, int32_t batchSize, int32_t Index);
7047 DSS_CAPI_DLL void Batch_GetString(char*** ResultPtr, int32_t* ResultCount, void **batch, int32_t batchSize, int32_t Index);
7048 DSS_CAPI_DLL void Batch_GetAsString(char*** ResultPtr, int32_t* ResultCount, void **batch, int32_t batchSize, int32_t Index);
7049
7050 DSS_CAPI_DLL void Batch_GetObject(void*** ResultPtr, int32_t* ResultCount, void **batch, int32_t batchSize, int32_t Index);
7051
7052 // DSS_CAPI_DLL void Batch_SetAsString(void **batch, int32_t batchSize, int32_t Index, const char* Value);
7053 DSS_CAPI_DLL void Batch_Float64(void **batch, int32_t batchSize, int32_t Index, int32_t Operation, double Value);
7054 DSS_CAPI_DLL void Batch_Int32(void **batch, int32_t batchSize, int32_t Index, int32_t Operation, int32_t Value);
7055 DSS_CAPI_DLL void Batch_SetString(void **batch, int32_t batchSize, int32_t Index, const char* Value);
7056 DSS_CAPI_DLL void Batch_SetObject(void **batch, int32_t batchSize, int32_t Index, const void *Value);
7057
7058 DSS_CAPI_DLL void Batch_SetFloat64Array(void **batch, int32_t batchSize, int32_t Index, double* Value);
7059 DSS_CAPI_DLL void Batch_SetInt32Array(void **batch, int32_t batchSize, int32_t Index, int32_t* Value);
7060 DSS_CAPI_DLL void Batch_SetStringArray(void **batch, int32_t batchSize, int32_t Index, const char** Value);
7061 DSS_CAPI_DLL void Batch_SetObjectArray(void **batch, int32_t batchSize, int32_t Index, const void** Value);
7062
7063 DSS_CAPI_DLL void Batch_CreateFromNewS(void* ctx, void*** ResultPtr, int32_t* ResultCount, const char* clsname, const char** names, int32_t count, uint16_t BeginEdit);
7064 DSS_CAPI_DLL void Batch_CreateByClassS(void* ctx, void*** ResultPtr, int32_t* ResultCount, const char* clsname);
7065 DSS_CAPI_DLL void Batch_CreateByRegExpS(void* ctx, void*** ResultPtr, int32_t* ResultCount, const char* clsname, const char* re);
7066 DSS_CAPI_DLL void Batch_CreateByIndexS(void* ctx, void*** ResultPtr, int32_t* ResultCount, const char* clsname, int32_t* Value, int32_t ValueCount);
7067 DSS_CAPI_DLL void Batch_CreateByInt32PropertyS(void* ctx, void*** ResultPtr, int32_t* ResultCount, const char* clsname, const char* Name, int32_t value);
7068
7069 DSS_CAPI_DLL void Batch_GetFloat64S(double** ResultPtr, int32_t* ResultCount, void **batch, int32_t batchSize, const char* Name);
7070 DSS_CAPI_DLL void Batch_GetInt32S(int32_t** ResultPtr, int32_t* ResultCount, void **batch, int32_t batchSize, const char* Name);
7071 DSS_CAPI_DLL void Batch_GetStringS(char*** ResultPtr, int32_t* ResultCount, void **batch, int32_t batchSize, const char* Name);
7072 DSS_CAPI_DLL void Batch_GetAsStringS(char*** ResultPtr, int32_t* ResultCount, void **batch, int32_t batchSize, const char* Name);
7073
7074 DSS_CAPI_DLL void Batch_GetObjectS(void*** ResultPtr, int32_t* ResultCount, void **batch, int32_t batchSize, const char* Name);
7075
7076 // DSS_CAPI_DLL void Batch_SetAsStringS(void **batch, int32_t batchSize, const char* Name, const char* Value);
7077 DSS_CAPI_DLL void Batch_Float64S(void **batch, int32_t batchSize, const char* Name, int32_t Operation, double Value);
7078 DSS_CAPI_DLL void Batch_Int32S(void **batch, int32_t batchSize, const char* Name, int32_t Operation, int32_t Value);
7079 DSS_CAPI_DLL void Batch_SetStringS(void **batch, int32_t batchSize, const char* Name, const char* Value);
7080 DSS_CAPI_DLL void Batch_SetObjectS(void **batch, int32_t batchSize, const char* Name, const void* Value);
7081
7082 DSS_CAPI_DLL void Batch_SetFloat64ArrayS(void **batch, int32_t batchSize, const char* Name, double* Value);
7083 DSS_CAPI_DLL void Batch_SetInt32ArrayS(void **batch, int32_t batchSize, const char* Name, int32_t* Value);
7084 DSS_CAPI_DLL void Batch_SetStringArrayS(void **batch, int32_t batchSize, const char* Name, const char** Value);
7085 DSS_CAPI_DLL void Batch_SetObjectArrayS(void **batch, int32_t batchSize, const char* Name, const void** Value);
7086
7100 DSS_CAPI_DLL void *DSS_BeginPascalThread(void *func, void *paramptr);
7101
7111 DSS_CAPI_DLL void DSS_WaitPascalThread(void *handle);
7112
7124 DSS_CAPI_DLL void DSS_SetMessagesMO(const char* Value);
7125
7136 DSS_CAPI_DLL void DSS_SetPropertiesMO(const char* Value);
7137
7138#ifdef __cplusplus
7139} // extern "C"
7140#ifdef DSS_CAPI_NAMESPACE
7141} } // namespace dss::capi
7142#endif
7143#endif
7144#endif
DSS_CAPI_DLL void CktElement_Get_Residuals_GR(void)
Same as CktElement_Get_Residuals but using the global buffer interface for results.
DSS_CAPI_DLL void RegControls_Set_TapDelay(double Value)
Time delay [s] for subsequent tap changes in a set.
DSS_CAPI_DLL int32_t Topology_Get_NextLoad(void)
Next load at the active branch, return index or 0 if no more.
DSS_CAPI_DLL int32_t Storages_Get_First(void)
Sets first Storage to be active.
DSS_CAPI_DLL int32_t XYCurves_Get_Count(void)
Number of XYCurve Objects.
DSS_CAPI_DLL uint16_t Error_Get_EarlyAbort(void)
Gets/sets the DSS script error-handling behavior.
DSS_CAPI_DLL char * LoadShapes_Get_Name(void)
Get the Name of the active Loadshape.
DSS_CAPI_DLL void RegControls_Set_Winding(int32_t Value)
Winding number for PT and CT connections.
DSS_CAPI_DLL int32_t Reclosers_Get_NormalState(void)
Get/set normal state (ActionCodes.Open=1, ActionCodes.Close=2) of the recloser.
DSS_CAPI_DLL double Bus_Get_Lambda(void)
Accumulated failure rate downstream from this bus; faults per year.
DSS_CAPI_DLL void Vsources_Set_pu(double Value)
Per-unit value of source voltage based on kV.
DSS_CAPI_DLL double Bus_Get_Cust_Interrupts(void)
Annual number of customer-interruptions from this bus.
DSS_CAPI_DLL char * Transformers_Get_XfmrCode(void)
Name of an XfrmCode that supplies electircal parameters for this Transformer.
DSS_CAPI_DLL void Parser_Get_Vector_GR(int32_t ExpectedSize)
Same as Parser_Get_Vector but using the global buffer interface for results.
DSS_CAPI_DLL char * Reclosers_Get_MonitoredObj(void)
Full name of object this Recloser is monitoring.
DSS_CAPI_DLL int32_t CktElement_Get_NumConductors(void)
Number of Conductors per Terminal.
DSS_CAPI_DLL void Bus_Get_LoadList(char ***ResultPtr, int32_t *ResultCount)
Array of strings: Full Names of LOAD elements connected to the active bus.
DSS_CAPI_DLL void Lines_Get_AllNames_GR(void)
Same as Lines_Get_AllNames but using the global buffer interface for results.
DSS_CAPI_DLL void RegControls_Set_IsReversible(uint16_t Value)
Regulator can use different settings in the reverse direction.
DSS_CAPI_DLL int32_t Transformers_Get_CoreType(void)
Transformer Core Type: 0=shell;1 = 1-phase; 3= 3-leg; 5= 5-leg.
DSS_CAPI_DLL int32_t ISources_Get_Count(void)
Count: Number of ISOURCE elements.
DSS_CAPI_DLL void Topology_Get_AllLoopedPairs_GR(void)
Same as Topology_Get_AllLoopedPairs but using the global buffer interface for results.
DSS_CAPI_DLL void CapControls_Set_UseVoltOverride(uint16_t Value)
Enables Vmin and Vmax to override the control Mode.
DSS_CAPI_DLL void LoadShapes_UseFloat32(void)
Converts the current LoadShape data to float32/single precision.
DSS_CAPI_DLL void Solution_Set_Number(int32_t Value)
Number of solutions to perform for Monte Carlo and time series simulations.
DSS_CAPI_DLL void Settings_Set_PriceSignal(double Value)
Price Signal for the Circuit.
DSS_CAPI_DLL int32_t Relays_Get_First(void)
Set First Relay active.
DSS_CAPI_DLL double PDElements_Get_FaultRate(void)
Get/Set Number of failures per year.
DSS_CAPI_DLL int32_t Monitors_Get_SampleCount(void)
Number of Samples in Monitor at Present.
DSS_CAPI_DLL void Reclosers_Open(void)
Open recloser's controlled element and lock out the recloser.
DSS_CAPI_DLL void PVSystems_Set_Name(const char *Value)
Set the name of the active PVSystem.
DSS_CAPI_DLL double LineCodes_Get_X0(void)
Zero Sequence Reactance, Ohms per unit length.
DSS_CAPI_DLL int32_t CapControls_Get_Next(void)
Gets the next CapControl in the circut.
DSS_CAPI_DLL int32_t Loads_Get_Count(void)
Number of Load objects in active circuit.
DSS_CAPI_DLL void Parallel_Get_ActorStatus_GR(void)
Same as Parallel_Get_ActorStatus but using the global buffer interface for results.
DSS_CAPI_DLL void Circuit_Get_SubstationLosses(double **ResultPtr, int32_t *ResultCount)
Complex losses in all transformers designated to substations.
DSS_CAPI_DLL void Bus_Get_puVoltages_GR(void)
Same as Bus_Get_puVoltages but using the global buffer interface for results.
DSS_CAPI_DLL double RegControls_Get_TapDelay(void)
Time delay [s] for subsequent tap changes in a set.
DSS_CAPI_DLL int32_t Solution_Get_ControlMode(void)
{Static* | Event | Time | Off} Modes for control devices (see ControlModes)
DSS_CAPI_DLL int32_t Solution_Get_Number(void)
Number of solutions to perform for Monte Carlo and time series simulations.
DSS_CAPI_DLL void Meters_Get_AllBranchesInZone(char ***ResultPtr, int32_t *ResultCount)
Wide string list of all branches in zone of the active energymeter object.
DSS_CAPI_DLL void ZIP_Close(void)
Closes the current open ZIP file.
DSS_CAPI_DLL int32_t RegControls_Get_First(void)
Sets the first RegControl active.
DSS_CAPI_DLL uint16_t DSS_Get_AllowChangeDir(void)
If disabled, the engine will not change the active working directory during execution.
DSS_CAPI_DLL void Monitors_Set_Name(const char *Value)
Sets the active Monitor object by name.
DSS_CAPI_DLL void Topology_Get_AllIsolatedBranches_GR(void)
Same as Topology_Get_AllIsolatedBranches but using the global buffer interface for results.
DSS_CAPI_DLL double Generators_Get_kvar(void)
kvar output for the active generator.
DSS_CAPI_DLL void Meters_Get_Totals_GR(void)
Same as Meters_Get_Totals but using the global buffer interface for results.
DSS_CAPI_DLL char * PVSystems_Get_daily(void)
Name of the dispatch shape to use for daily simulations.
DSS_CAPI_DLL void Lines_Get_Cmatrix_GR(void)
Same as Lines_Get_Cmatrix but using the global buffer interface for results.
DSS_CAPI_DLL void Fuses_Close(void)
Close all phases of the fuse.
DSS_CAPI_DLL double Transformers_Get_Rneut(void)
Active Winding neutral resistance [ohms] for wye connections.
DSS_CAPI_DLL void CktElement_Get_PhaseLosses_GR(void)
Same as CktElement_Get_PhaseLosses but using the global buffer interface for results.
DSS_CAPI_DLL char * Solution_Get_LDCurve(void)
Load-Duration Curve name for LD modes.
DSS_CAPI_DLL void Generators_Set_PF(double Value)
Power factor (pos.
DSS_CAPI_DLL void Topology_Set_BusName(const char *Value)
Set the active branch to one containing this bus, return index or 0 if not found.
DSS_CAPI_DLL void Settings_Get_UEregs(int32_t **ResultPtr, int32_t *ResultCount)
Array of Integers defining energy meter registers to use for computing UE.
DSS_CAPI_DLL char * Fuses_Get_SwitchedObj(void)
Full name of the circuit element switch that the fuse controls.
DSS_CAPI_DLL void Fuses_Open(void)
Manual opening of all phases of the fuse.
DSS_CAPI_DLL void Capacitors_Set_kV(double Value)
Bank kV rating.
DSS_CAPI_DLL void Meters_Get_RegisterNames(char ***ResultPtr, int32_t *ResultCount)
Array of strings containing the names of the registers.
DSS_CAPI_DLL double Solution_Get_GenkW(void)
Generator kW for AutoAdd mode.
DSS_CAPI_DLL void CktElement_Get_Powers(double **ResultPtr, int32_t *ResultCount)
Complex array of powers into each conductor of each terminal.
DSS_CAPI_DLL void Solution_Set_Tolerance(double Value)
Solution convergence tolerance.
DSS_CAPI_DLL char * Obj_ToJSON(void *obj, int32_t options)
Returns an element's data as a JSON-encoded string.
DSS_CAPI_DLL void Circuit_Get_YNodeOrder(char ***ResultPtr, int32_t *ResultCount)
Array of strings containing the names of the nodes in the same order as the Y matrix.
DSS_CAPI_DLL int32_t Lines_Get_Parent(void)
Sets Parent of the active Line to be the active line.
DSS_CAPI_DLL void Meters_Get_AllNames(char ***ResultPtr, int32_t *ResultCount)
Array of all energy Meter names.
DSS_CAPI_DLL int32_t CapControls_Get_First(void)
Sets the first CapControl as active.
DSS_CAPI_DLL void XYCurves_Get_AllNames(char ***ResultPtr, int32_t *ResultCount)
Array of strings with all XYCurve names.
DSS_CAPI_DLL int32_t CtrlQueue_Get_QueueSize(void)
Number of items on the OpenDSS control Queue.
DSS_CAPI_DLL double Loads_Get_AllocationFactor(void)
Factor for allocating loads by connected xfkva.
DSS_CAPI_DLL uint16_t CktElement_Get_HasSwitchControl(void)
This element has a SwtControl attached.
DSS_CAPI_DLL void Loads_Set_PF(double Value)
Set Power Factor for Active Load.
DSS_CAPI_DLL char * Parser_Get_BeginQuote(void)
Get String containing the the characters for Quoting in OpenDSS scripts.
DSS_CAPI_DLL double Capacitors_Get_kV(void)
Bank kV rating.
DSS_CAPI_DLL void RegControls_Set_ForwardVreg(double Value)
Target voltage in the forward direction, on PT secondary base.
DSS_CAPI_DLL int32_t ActiveClass_Get_Next(void)
Sets next element in active class to be the active DSS object.
DSS_CAPI_DLL void LoadShapes_Set_Points(int32_t Npts, void *HoursPtr, void *PMultPtr, void *QMultPtr, uint16_t ExternalMemory, uint16_t IsFloat32, int32_t Stride)
Sets all numeric arrays for the active LoadShape.
DSS_CAPI_DLL void RegControls_Set_ForwardX(double Value)
LDC X setting in Volts.
DSS_CAPI_DLL double Storages_Get_puSOC(void)
Per unit state of charge.
DSS_CAPI_DLL char * ReduceCkt_Get_EditString(void)
Edit String for RemoveBranches functions.
DSS_CAPI_DLL void LoadShapes_Get_AllNames_GR(void)
Same as LoadShapes_Get_AllNames but using the global buffer interface for results.
DSS_CAPI_DLL void Bus_Set_y(double Value)
Y coordinate for bus(double)
DSS_CAPI_DLL int32_t Monitors_Get_NumChannels(void)
Number of Channels in the active Monitor.
DSS_CAPI_DLL char * Transformers_Get_Name(void)
Sets a Transformer active by Name.
DSS_CAPI_DLL void Lines_Set_Name(const char *Value)
Specify the name of the Line element to set it active.
DSS_CAPI_DLL int32_t Capacitors_Get_First(void)
Sets the first Capacitor active.
DSS_CAPI_DLL void ISources_Set_Name(const char *Value)
Set Active ISOURCE by name.
DSS_CAPI_DLL int32_t Reclosers_Get_idx(void)
Get/Set the active Recloser by index into the recloser list.
DSS_CAPI_DLL void ZIP_Redirect(const char *FileInZip)
Runs a "Redirect" command inside the current (open) ZIP file.
DSS_CAPI_DLL double CktElement_Get_Variablei(int32_t Idx, int32_t *Code)
For PCElement, set/get the value of a variable by integer index.
CktModels
Definition: dss_capi.h:88
@ CktModels_Multiphase
Settings_[Get/Set]_CktModel.
Definition: dss_capi.h:89
@ CktModels_PositiveSeq
Circuit model is positive sequence model only.
Definition: dss_capi.h:90
DSS_CAPI_DLL int32_t Sensors_Get_MeteredTerminal(void)
Number of the measured terminal in the measured element.
DSS_CAPI_DLL int32_t CktElement_Get_NumProperties(void)
Number of Properties this Circuit Element.
DSS_CAPI_DLL void PDElements_Get_AllPctEmerg_GR(uint16_t AllNodes)
Same as PDElements_Get_AllPctEmerg but using the global buffer interface for results.
DSS_CAPI_DLL int32_t Topology_Get_ActiveBranch(void)
Returns index of the active branch.
DSS_CAPI_DLL double LoadShapes_Get_HrInterval(void)
Fixed interval time value, hours.
DSS_CAPI_DLL void RegControls_Set_CTPrimary(double Value)
CT primary ampere rating (secondary is 0.2 amperes)
DSS_CAPI_DLL char * Reclosers_Get_Name(void)
Get Name of active Recloser or set the active Recloser by name.
DSS_CAPI_DLL void Vsources_Set_AngleDeg(double Value)
phase angle in degrees
DSS_CAPI_DLL void Fuses_Set_Name(const char *Value)
Set the active Fuse element by name.
DSS_CAPI_DLL void Solution_Get_Laplacian_GR(void)
Same as Solution_Get_Laplacian but using the global buffer interface for results.
DSS_CAPI_DLL void LoadShapes_Set_Name(const char *Value)
Set the active Loadshape by name.
DSS_CAPI_DLL void Lines_Set_C1(double Value)
Positive Sequence capacitance, nanofarads per unit length.
DSS_CAPI_DLL int32_t Circuit_Get_NumCktElements(void)
Number of CktElements in the circuit.
DSS_CAPI_DLL double Transformers_Get_Xneut(void)
Active Winding neutral reactance [ohms] for wye connections.
DSS_CAPI_DLL double Meters_Get_CustInterrupts(void)
Total customer interruptions for this Meter zone based on reliability calcs.
DSS_CAPI_DLL void Parallel_Set_ConcatenateReports(int32_t Value)
Enable/Disable (1/0) the ConcatenateReports option for extracting monitors data.
DSS_CAPI_DLL double Settings_Get_UEweight(void)
Weighting factor applied to UE register values.
DSS_CAPI_DLL void GICSources_Set_Lat1(double Value)
Latitude of Bus1 (degrees)
DSS_CAPI_DLL void Meters_Set_CalcCurrent(double *ValuePtr, int32_t ValueCount)
Set the magnitude of the real part of the Calculated Current (normally determined by solution) for th...
DSS_CAPI_DLL void Circuit_Get_ElementLosses_GR(int32_t *ElementsPtr, int32_t ElementsCount)
Same as Circuit_Get_ElementLosses but using the global buffer interface for results.
DSS_CAPI_DLL void Bus_Get_LineList_GR(void)
Same as Bus_Get_LineList but using the global buffer interface for results.
DSS_CAPI_DLL void Solution_Set_GenPF(double Value)
PF for generators in AutoAdd mode.
DSS_CAPI_DLL uint16_t Sensors_Get_IsDelta(void)
True if measured voltages are line-line.
DSS_CAPI_DLL int32_t PDElements_Get_FromTerminal(void)
Number of the terminal of active PD element that is on the "from" side.
DSS_CAPI_DLL int32_t Relays_Get_State(void)
Get/Set present state of relay.
DSS_CAPI_DLL void CapControls_Set_Name(const char *Value)
Sets a CapControl active by name.
DSS_CAPI_DLL void Fuses_Get_AllNames(char ***ResultPtr, int32_t *ResultCount)
Array of strings containing names of all Fuses in the circuit.
DSS_CAPI_DLL int32_t Generators_Get_Next(void)
Sets next Generator to be active.
DSS_CAPI_DLL int32_t XYCurves_Get_Next(void)
Advances to next XYCurve object; returns 0 if no more objects of this class.
DSS_CAPI_DLL void Generators_Get_RegisterValues_GR(void)
Same as Generators_Get_RegisterValues but using the global buffer interface for results.
DSS_CAPI_DLL char * DSS_Get_DefaultEditor(void)
Returns the path name for the default text editor.
DSS_CAPI_DLL void PDElements_Get_AllNames_GR(void)
Same as PDElements_Get_AllNames but using the global buffer interface for results.
DSS_CAPI_DLL char * PVSystems_Get_Sensor(void)
Name of the sensor monitoring this PVSystem element.
DSS_CAPI_DLL int32_t GICSources_Get_Count(void)
Number of GICSource objects in Active Circuit.
DSS_CAPI_DLL void CmathLib_Get_ctopolardeg_GR(double RealPart, double ImagPart)
Same as CmathLib_Get_ctopolardeg but using the global buffer interface for results.
DSS_CAPI_DLL void CktElement_Get_Currents(double **ResultPtr, int32_t *ResultCount)
Complex array of currents into each conductor of each terminal.
DSS_CAPI_DLL double CapControls_Get_DelayOff(void)
Time delay [s] before swithcing off a step.
DSS_CAPI_DLL void Loads_Set_pctSeriesRL(double Value)
Percent of Load that is modeled as series R-L for harmonics studies.
DSS_CAPI_DLL double Sensors_Get_PctError(void)
Assumed percent error in the Sensor measurement.
LineUnits
Definition: dss_capi.h:145
@ LineUnits_ft
Line units in feet.
Definition: dss_capi.h:151
@ LineUnits_mm
Line length units are mm.
Definition: dss_capi.h:154
@ LineUnits_inch
Line length units are inches.
Definition: dss_capi.h:152
@ LineUnits_cm
Line units are cm.
Definition: dss_capi.h:153
@ LineUnits_meter
Line length units are meters.
Definition: dss_capi.h:150
@ LineUnits_none
No line length unit.
Definition: dss_capi.h:146
@ LineUnits_Maxnum
Maximum number of line units constants.
Definition: dss_capi.h:155
@ LineUnits_km
Line length units are km.
Definition: dss_capi.h:149
@ LineUnits_kFt
Line length units are in thousand feet.
Definition: dss_capi.h:148
@ LineUnits_Miles
Line length units in miles.
Definition: dss_capi.h:147
DSS_CAPI_DLL uint16_t ZIP_Contains(const char *Name)
Check if the given path name is present in the current ZIP file.
DSS_CAPI_DLL void PVSystems_Get_RegisterNames(char ***ResultPtr, int32_t *ResultCount)
Array of PVSYSTEM energy meter register names.
DSS_CAPI_DLL void SwtControls_Get_AllNames_GR(void)
Same as SwtControls_Get_AllNames but using the global buffer interface for results.
DSS_CAPI_DLL int32_t Lines_Get_First(void)
Invoking this property sets the first element active.
DSS_CAPI_DLL void Circuit_Get_AllBusVmagPu(double **ResultPtr, int32_t *ResultCount)
Double Array of all bus voltages (each node) magnitudes in Per unit.
DSS_CAPI_DLL double GICSources_Get_Lat2(void)
Latitude of Bus2 (degrees)
DSS_CAPI_DLL char * DSS_Get_DataPath(void)
DSS Data File Path.
DSS_CAPI_DLL void Meters_Set_SequenceIndex(int32_t Value)
Get/set Index into Meter's SequenceList that contains branch pointers in lexical order.
DSS_CAPI_DLL void Meters_Get_AllocFactors_GR(void)
Same as Meters_Get_AllocFactors but using the global buffer interface for results.
DSS_CAPI_DLL void PDElements_Get_AllNumPhases_GR(void)
Same as PDElements_Get_AllNumPhases but using the global buffer interface for results.
DSS_CAPI_DLL void Transformers_Set_Xhl(double Value)
Percent reactance between windings 1 and 2, on winding 1 kVA base.
DSS_CAPI_DLL void Reclosers_Set_MonitoredObj(const char *Value)
Set monitored object by full name.
DSS_CAPI_DLL char * Loads_Get_daily(void)
Name of the loadshape for a daily load profile.
DSS_CAPI_DLL void RegControls_Set_Delay(double Value)
Time delay [s] after arming before the first tap change.
DSS_CAPI_DLL void Circuit_Get_AllBusNames_GR(void)
Same as Circuit_Get_AllBusNames but using the global buffer interface for results.
DSS_CAPI_DLL int32_t Meters_Get_NumSections(void)
Number of feeder sections in this meter's zone.
DSS_CAPI_DLL uint16_t Transformers_Get_IsDelta(void)
Active Winding delta or wye connection?
DSS_CAPI_DLL uint16_t DSS_Start(int32_t code)
Runs potential initialization of internal structures of the DSS engine.
DSS_CAPI_DLL int32_t Solution_Get_Random(void)
Randomization mode for random variables "Gaussian", "Uniform" or "LogNormal".
DSS_CAPI_DLL double CapControls_Get_Delay(void)
Time delay [s] to switch on after arming.
DSS_CAPI_DLL int32_t CktElement_Get_Handle(void)
Pointer to this object.
DSS_CAPI_DLL void Transformers_Get_LossesByType_GR(void)
Same as Transformers_Get_LossesByType but using the global buffer interface for results.
DSSMessageType
EXPERIMENTAL: For message/write callbacks.
Definition: dss_capi.h:170
DSS_CAPI_DLL uint16_t Error_Get_ExtendedErrors(void)
Gets/controls the extended error behavior.
DSS_CAPI_DLL void Topology_Get_AllIsolatedLoads(char ***ResultPtr, int32_t *ResultCount)
Array of all isolated load names.
DSS_CAPI_DLL void Bus_Get_VLL_GR(void)
Same as Bus_Get_VLL but using the global buffer interface for results.
DSS_CAPI_DLL void Settings_Set_PriceCurve(const char *Value)
Name of LoadShape object that serves as the source of price signal data for yearly simulations,...
DSS_CAPI_DLL char * DSS_Executive_Get_Option(int32_t i)
Get i-th option.
DSS_CAPI_DLL void Parser_Set_Delimiters(const char *Value)
String defining hard delimiters used to separate token on the command string.
DSS_CAPI_DLL void Bus_Get_puVmagAngle(double **ResultPtr, int32_t *ResultCount)
Array of doubles containig voltage magnitude, angle pairs in per unit.
DSS_CAPI_DLL int32_t Vsources_Get_Next(void)
Sets the next VSOURCE object to be active; returns zero if no more.
DSS_CAPI_DLL double Loads_Get_PctStdDev(void)
Percent standard deviation for Monte Carlo load studies; if there is no loadshape assigned to this lo...
DSS_CAPI_DLL void RegControls_Get_AllNames_GR(void)
Same as RegControls_Get_AllNames but using the global buffer interface for results.
DSS_CAPI_DLL void CktElement_Get_AllVariableNames(char ***ResultPtr, int32_t *ResultCount)
Array of strings listing all the published variable names, if a PCElement.
DSS_CAPI_DLL void Text_Set_Command(const char *Value)
Input command string for the DSS.
DSS_CAPI_DLL void RegControls_Set_ForwardR(double Value)
LDC R setting in Volts.
DSS_CAPI_DLL void CktElement_Get_SeqPowers_GR(void)
Same as CktElement_Get_SeqPowers but using the global buffer interface for results.
DSS_CAPI_DLL void Circuit_Get_LineLosses_GR(void)
Same as Circuit_Get_LineLosses but using the global buffer interface for results.
DSS_CAPI_DLL void CktElement_Set_Enabled(uint16_t Value)
Boolean indicating that element is currently in the circuit.
DSS_CAPI_DLL double Meters_Get_FaultRateXRepairHrs(void)
Sum of Fault Rate time Repair Hrs in this section of the meter zone.
DSS_CAPI_DLL void Circuit_Get_SystemY_GR(void)
Same as Circuit_Get_SystemY but using the global buffer interface for results.
DSS_CAPI_DLL void Relays_Set_NormalState(int32_t Value)
Get/set normal state of relay.
DSS_CAPI_DLL void CktElement_Get_AllVariableValues_GR(void)
Same as CktElement_Get_AllVariableValues but using the global buffer interface for results.
DSS_CAPI_DLL int32_t Capacitors_Get_NumSteps(void)
Number of steps (default 1) for distributing and switching the total bank kVAR.
DSS_CAPI_DLL int32_t Lines_Get_Phases(void)
Number of Phases, this Line element.
DSS_CAPI_DLL char * Relays_Get_Name(void)
Get name of active relay.
DSS_CAPI_DLL double Transformers_Get_MaxTap(void)
Active Winding maximum tap in per-unit.
DSS_CAPI_DLL void Bus_Get_Voc(double **ResultPtr, int32_t *ResultCount)
Open circuit voltage; Complex array.
DSS_CAPI_DLL void DSS_SetMessagesMO(const char *Value)
Loads the gettext MO file from the path indicated by Value, to be used for general OpenDSS messages.
DSS_CAPI_DLL void Monitors_Get_dblHour_GR(void)
Same as Monitors_Get_dblHour but using the global buffer interface for results.
DSS_CAPI_DLL int32_t Meters_Get_MeteredTerminal(void)
set Number of Metered Terminal
DSS_CAPI_DLL void * DSS_BeginPascalThread(void *func, void *paramptr)
DSS_BeginPascalThread can be used to start a new thread from the Pascal side.
DSS_CAPI_DLL void Circuit_Get_AllBusNames(char ***ResultPtr, int32_t *ResultCount)
Array of strings containing names of all buses in circuit (see AllNodeNames).
SolverOptions
The values themselves are subject to change in future versions, use this enum for easier upgrades.
Definition: dss_capi.h:201
@ SolverOptions_ReuseCompressedMatrix
Reuse only the prepared CSC matrix.
Definition: dss_capi.h:203
@ SolverOptions_AlwaysResetYPrimInvalid
Bit flag, see CktElement.pas.
Definition: dss_capi.h:206
@ SolverOptions_ReuseNumericFactorization
Reuse the numeric factorization, implies ReuseSymbolicFactorization.
Definition: dss_capi.h:205
@ SolverOptions_ReuseSymbolicFactorization
Reuse the symbolic factorization, implies ReuseCompressedMatrix.
Definition: dss_capi.h:204
DSS_CAPI_DLL void Solution_Set_IntervalHrs(double Value)
Get/Set the Solution.IntervalHrs variable for custom solution algorithms.
DSS_CAPI_DLL void SwtControls_Set_SwitchedObj(const char *Value)
Full name of the switched element.
DSS_CAPI_DLL int32_t * Error_Get_NumberPtr(void)
Integer pointer to the Error Number.
DSS_CAPI_DLL void Generators_Get_RegisterNames(char ***ResultPtr, int32_t *ResultCount)
Array of Names of all generator energy meter registers.
DSS_CAPI_DLL void Meters_Get_RegisterNames_GR(void)
Same as Meters_Get_RegisterNames but using the global buffer interface for results.
DSS_CAPI_DLL double Meters_Get_AvgRepairTime(void)
Average Repair time in this section of the meter zone.
DSS_CAPI_DLL uint16_t PDElements_Get_IsShunt(void)
Boolean indicating of PD element should be treated as a shunt element rather than a series element.
DSS_CAPI_DLL void CktElement_Get_Yprim_GR(void)
Same as CktElement_Get_Yprim but using the global buffer interface for results.
DSS_CAPI_DLL char * XYCurves_Get_Name(void)
Name of active XYCurve Object.
DSS_CAPI_DLL void Bus_Get_YscMatrix_GR(void)
Same as Bus_Get_YscMatrix but using the global buffer interface for results.
DSS_CAPI_DLL void CktElement_Get_AllVariableNames_GR(void)
Same as CktElement_Get_AllVariableNames but using the global buffer interface for results.
DSS_CAPI_DLL int32_t Meters_Get_SeqListSize(void)
Size of Sequence List.
DSS_CAPI_DLL double Sensors_Get_Weight(void)
Weighting factor for this Sensor measurement with respect to other Sensors.
DSS_CAPI_DLL void Fuses_Set_NormalState(const char **ValuePtr, int32_t ValueCount)
Array of strings ('open' or 'closed') indicating the normal state of each phase of the fuse.
DSS_CAPI_DLL double Bus_Get_kVBase(void)
Base voltage at bus in kV.
DSS_CAPI_DLL int32_t Meters_Get_CountEndElements(void)
Number of zone end elements in the active meter zone.
DSS_CAPI_DLL char * RegControls_Get_Transformer(void)
Name of the transformer this regulator controls.
DSS_CAPI_DLL void Generators_Get_RegisterValues(double **ResultPtr, int32_t *ResultCount)
Array of values in generator energy meter registers.
DSS_CAPI_DLL int32_t Solution_Get_Totaliterations(void)
Total iterations including control iterations for most recent solution.
DSS_CAPI_DLL int32_t SwtControls_Get_Next(void)
Sets the next SwtControl active.
DSS_CAPI_DLL void CktElement_Get_Voltages_GR(void)
Same as CktElement_Get_Voltages but using the global buffer interface for results.
DSS_CAPI_DLL int32_t Monitors_Get_FileVersion(void)
Monitor File Version (integer)
DSS_CAPI_DLL double LoadShapes_Get_MinInterval(void)
Fixed Interval time value, in minutes.
DSS_CAPI_DLL int32_t RegControls_Get_Winding(void)
Winding number for PT and CT connections.
DSS_CAPI_DLL void Settings_Get_VoltageBases(double **ResultPtr, int32_t *ResultCount)
Array of doubles defining the legal voltage bases in kV L-L.
DSS_CAPI_DLL void CmathLib_Get_cdiv(double **ResultPtr, int32_t *ResultCount, double a1, double b1, double a2, double b2)
Divide two complex number: (a1, b1)/(a2, b2).
DSS_CAPI_DLL double LineCodes_Get_C0(void)
Zero-sequence capacitance, nF per unit length.
DSS_CAPI_DLL void Bus_Get_YscMatrix(double **ResultPtr, int32_t *ResultCount)
Complex array of Ysc matrix at bus.
DSS_CAPI_DLL uint16_t Meters_Get_DIFilesAreOpen(void)
Global Flag in the DSS to indicate if Demand Interval (DI) files have been properly opened.
DSS_CAPI_DLL int32_t LoadShapes_Get_Count(void)
Number of Loadshape objects currently defined in Loadshape collection.
DSS_CAPI_DLL double Settings_Get_NormVminpu(void)
Per Unit minimum voltage for Normal conditions.
DSS_CAPI_DLL void Generators_Set_kVArated(double Value)
KVA Rating of the generator.
DSS_CAPI_DLL double Lines_Get_NormAmps(void)
Normal ampere rating of Line.
DSS_CAPI_DLL void Solution_SolveAll(void)
Solves the circuits for all the Actors created.
DSS_CAPI_DLL int32_t RegControls_Get_Count(void)
Number of RegControl objects in Active Circuit.
DSS_CAPI_DLL char * DSSElement_ToJSON(int32_t options)
Returns the properties of the active DSS object as a JSON-encoded string.
DSS_CAPI_DLL void Loads_Get_ZIPV(double **ResultPtr, int32_t *ResultCount)
Array of 7 doubles with values for ZIPV property of the LOAD object.
DSS_CAPI_DLL void Capacitors_Set_IsDelta(uint16_t Value)
Delta connection or wye?
DSS_CAPI_DLL void Lines_Set_Geometry(const char *Value)
Line geometry code.
DSS_CAPI_DLL double Loads_Get_Xneut(void)
Neutral reactance for wye-connected loads.
DSS_CAPI_DLL char * DSSProperty_Get_Name(void)
Name of Property.
DSS_CAPI_DLL void Settings_Get_LossRegs_GR(void)
Same as Settings_Get_LossRegs but using the global buffer interface for results.
DSS_CAPI_DLL double Transformers_Get_Xht(void)
Percent reactance between windigns 1 and 3, on winding 1 kVA base.
DSS_CAPI_DLL double PVSystems_Get_kVArated(void)
Get Rated kVA of the PVSystem.
DSS_CAPI_DLL int32_t Solution_Get_Year(void)
Set year for planning studies.
DSS_CAPI_DLL void Transformers_Get_AllNames(char ***ResultPtr, int32_t *ResultCount)
Array of strings with all Transformer names in the active circuit.
DSS_CAPI_DLL void CapControls_Set_OFFSetting(double Value)
Threshold to switch off a step.
DSS_CAPI_DLL double Bus_Get_Cust_Duration(void)
Accumulated customer outage durations.
DSS_CAPI_DLL double Loads_Get_kvar(void)
Set kvar for active Load.
DSS_CAPI_DLL char * CktElement_Get_Name(void)
Full Name of Active Circuit Element.
DSS_CAPI_DLL double Lines_Get_EmergAmps(void)
Emergency (maximum) ampere rating of Line.
DSS_CAPI_DLL void Bus_Get_Voc_GR(void)
Same as Bus_Get_Voc but using the global buffer interface for results.
DSS_CAPI_DLL void Meters_Set_Name(const char *Value)
Set a meter to be active by name.
DSS_CAPI_DLL double GICSources_Get_Lon1(void)
Longitude of Bus1 (Degrees)
DSS_CAPI_DLL int32_t Vsources_Get_Count(void)
Number of Vsource Object.
DSS_CAPI_DLL char * Solution_Get_DefaultDaily(void)
Default daily load shape (defaults to "Default")
DSS_CAPI_DLL void SwtControls_Set_State(int32_t Value)
Get Present state of switch.
DSS_CAPI_DLL char * PVSystems_Get_yearly(void)
Dispatch shape to use for yearly simulations.
DSS_CAPI_DLL uint16_t Solution_Get_ControlActionsDone(void)
Flag indicating the control actions are done.
DSS_CAPI_DLL int32_t DSS_Executive_Get_NumOptions(void)
Number of DSS Executive Options.
DSS_CAPI_DLL int32_t Solution_Get_AddType(void)
Type of device to add in AutoAdd Mode: {AddGen (Default) | AddCap}.
DSS_CAPI_DLL double Solution_Get_StepSize(void)
Time step size in sec.
DSS_CAPI_DLL double Vsources_Get_Frequency(void)
Source Frequency in Hz.
DSS_CAPI_DLL void Loads_Get_ZIPV_GR(void)
Same as Loads_Get_ZIPV but using the global buffer interface for results.
DSS_CAPI_DLL int32_t Topology_Get_FirstLoad(void)
First load at the active branch, return index or 0 if none.
DSS_CAPI_DLL uint16_t DSS_Get_LegacyModels(void)
If enabled, the legacy/deprecated models for PVSystem, InvControl, Storage and StorageControl are use...
DSS_CAPI_DLL void Loads_Set_kV(double Value)
Set kV rating for active Load.
DSS_CAPI_DLL void Bus_Get_SeqVoltages(double **ResultPtr, int32_t *ResultCount)
Double Array of sequence voltages at this bus.
DSS_CAPI_DLL int32_t LineCodes_Get_Phases(void)
Number of Phases.
DSS_CAPI_DLL void Reclosers_Get_AllNames_GR(void)
Same as Reclosers_Get_AllNames but using the global buffer interface for results.
DSS_CAPI_DLL int32_t Parallel_Get_ActiveParallel(void)
Sets ON/OFF (1/0) Parallel features of the Engine.
DSS_CAPI_DLL void Transformers_Set_NumWindings(int32_t Value)
Number of windings on this transformer.
DSS_CAPI_DLL void Vsources_Get_AllNames_GR(void)
Same as Vsources_Get_AllNames but using the global buffer interface for results.
DSS_CAPI_DLL void Loads_Set_RelWeight(double Value)
Relative Weighting factor for the active LOAD.
DSS_CAPI_DLL int32_t CktElement_Get_OCPDevIndex(void)
Index into Controller list of OCP Device controlling this CktElement.
DSS_CAPI_DLL void GICSources_Get_AllNames_GR(void)
Same as GICSources_Get_AllNames but using the global buffer interface for results.
DSS_CAPI_DLL uint16_t ReduceCkt_Get_KeepLoad(void)
Keep load flag (T/F) for Reduction options that remove branches.
DSS_CAPI_DLL uint16_t Lines_Get_IsSwitch(void)
Sets/gets the Line element switch status.
DSS_CAPI_DLL void Lines_Get_Xmatrix_GR(void)
Same as Lines_Get_Xmatrix but using the global buffer interface for results.
DSS_CAPI_DLL int32_t Topology_Get_ActiveLevel(void)
Topological depth of the active branch.
DSS_CAPI_DLL double CktElement_Get_EmergAmps(void)
Emergency Ampere Rating for PD elements.
DSS_CAPI_DLL int32_t Solution_Get_MostIterationsDone(void)
Max number of iterations required to converge at any control iteration of the most recent solution.
DSS_CAPI_DLL void ISources_Set_AngleDeg(double Value)
Phase angle for ISOURCE, degrees.
DSS_CAPI_DLL void Transformers_Set_Tap(double Value)
Active Winding tap in per-unit.
DSS_CAPI_DLL void Meters_Get_AllEndElements(char ***ResultPtr, int32_t *ResultCount)
Array of names of all zone end elements.
DSS_CAPI_DLL void PVSystems_Get_AllNames_GR(void)
Same as PVSystems_Get_AllNames but using the global buffer interface for results.
DSS_CAPI_DLL void Settings_Set_ZoneLock(uint16_t Value)
{True | False*} Locks Zones on energy meters to prevent rebuilding if a circuit change occurs.
DSS_CAPI_DLL void DSS_Set_DataPath(const char *Value)
DSS Data File Path.
DSS_CAPI_DLL double PVSystems_Get_kW(void)
get kW output
DSS_CAPI_DLL char * Settings_Get_PriceCurve(void)
Name of LoadShape object that serves as the source of price signal data for yearly simulations,...
DSS_CAPI_DLL int32_t Fuses_Get_idx(void)
Get/set active fuse by index into the list of fuses.
DSS_CAPI_DLL int32_t CtrlQueue_Get_ActionCode(void)
Code for the active action.
DSS_CAPI_DLL void DSSimComs_BusVoltagepu_GR(size_t Index)
Same as DSSimComs_BusVoltagepu but using the global buffer interface for results.
DSS_CAPI_DLL void Storages_Get_RegisterValues_GR(void)
Same as Storages_Get_RegisterValues but using the global buffer interface for results.
DSS_CAPI_DLL int32_t Lines_Get_Next(void)
Invoking this property advances to the next Line element active.
DSS_CAPI_DLL void PDElements_Get_AllCurrents_GR(void)
Same as PDElements_Get_AllCurrents but using the global buffer interface for results.
DSS_CAPI_DLL double Solution_Get_dblHour(void)
Hour as a double, including fractional part.
DSS_CAPI_DLL double Solution_Get_LoadMult(void)
Default load multiplier applied to all non-fixed loads.
DSS_CAPI_DLL int32_t Meters_Get_NumSectionBranches(void)
Number of branches (lines) in this section.
DSS_CAPI_DLL void LoadShapes_UseFloat64(void)
Converts the current LoadShape data to float64/double precision.
DSS_CAPI_DLL int32_t Generators_Get_First(void)
Sets first Generator to be active.
DSS_CAPI_DLL int32_t Circuit_Get_NumBuses(void)
Total number of Buses in the circuit.
DSS_CAPI_DLL void Solution_Get_EventLog_GR(void)
Same as Solution_Get_EventLog but using the global buffer interface for results.
DSS_CAPI_DLL void ZIP_Extract(int8_t **ResultPtr, int32_t *ResultCount, const char *FileName)
Extracts the contents of the file "FileName" from the current (open) ZIP file.
DSS_CAPI_DLL void Transformers_Set_MinTap(double Value)
Active Winding minimum tap in per-unit.
DSS_CAPI_DLL double Solution_Get_GenMult(void)
Default Multiplier applied to generators (like LoadMult)
DSS_CAPI_DLL int32_t Vsources_Get_First(void)
Sets the first VSOURCE to be active; Returns 0 if none.
DSS_CAPI_DLL void Transformers_Get_WdgCurrents(double **ResultPtr, int32_t *ResultCount)
All Winding currents (ph1, wdg1, wdg2,... ph2, wdg1, wdg2 ...)
DSS_CAPI_DLL void Solution_Set_Mode(int32_t Mode)
Set present solution mode (by a text code - see DSS Help)
DSS_CAPI_DLL double LineCodes_Get_R1(void)
Positive-sequence resistance ohms per unit length.
DSS_CAPI_DLL double PDElements_Get_pctPermanent(void)
Get/Set percent of faults that are permanent (require repair).
DSS_CAPI_DLL double Meters_Get_SAIFI(void)
Returns SAIFI for this meter's Zone.
DSS_CAPI_DLL void CktElement_Get_Losses_GR(void)
Same as CktElement_Get_Losses but using the global buffer interface for results.
DSS_CAPI_DLL void PDElements_Get_AllPctNorm(double **ResultPtr, int32_t *ResultCount, uint16_t AllNodes)
Array of doubles with the maximum current across the conductors as a percentage of the Normal Ampere ...
DSS_CAPI_DLL int32_t CapControls_Get_Count(void)
Number of CapControls in Active Circuit.
DSS_CAPI_DLL char * Lines_Get_LineCode(void)
Name of LineCode object that defines the impedances.
DSS_CAPI_DLL void PDElements_Get_AllPowers_GR(void)
Same as PDElements_Get_AllPowers but using the global buffer interface for results.
DSS_CAPI_DLL void CktElement_Get_Residuals(double **ResultPtr, int32_t *ResultCount)
Residual currents for each terminal: (mag, angle)
DSS_CAPI_DLL void Solution_Set_pctGrowth(double Value)
Percent default annual load growth rate.
DSS_CAPI_DLL void Bus_Get_ZscMatrix(double **ResultPtr, int32_t *ResultCount)
Complex array of Zsc matrix at bus.
DSS_CAPI_DLL void Sensors_Get_AllNames_GR(void)
Same as Sensors_Get_AllNames but using the global buffer interface for results.
ActionCodes
Definition: dss_capi.h:112
@ ActionCodes_TapUp
Move a regulator tap up.
Definition: dss_capi.h:119
@ ActionCodes_Reset
Reset to the shelf state (unlocked, closed for a switch)
Definition: dss_capi.h:116
@ ActionCodes_Close
Close a switch.
Definition: dss_capi.h:115
@ ActionCodes_Unlock
Unlock a switch, permitting both manual and automatic operation.
Definition: dss_capi.h:118
@ ActionCodes_Open
Open a switch.
Definition: dss_capi.h:114
@ ActionCodes_Lock
Lock a switch, prventing both manual and automatic operation.
Definition: dss_capi.h:117
@ ActionCodes_none
No action.
Definition: dss_capi.h:113
@ ActionCodes_TapDown
Move a regulator tap down.
Definition: dss_capi.h:120
DSS_CAPI_DLL void Lines_Get_AllNames(char ***ResultPtr, int32_t *ResultCount)
Names of all Line Objects.
DSS_CAPI_DLL int32_t SwtControls_Get_SwitchedTerm(void)
Terminal number where the switch is located on the SwitchedObj.
DSS_CAPI_DLL void Bus_Get_Zsc0_GR(void)
Same as Bus_Get_Zsc0 but using the global buffer interface for results.
DSS_CAPI_DLL void Generators_Set_Vminpu(double Value)
Vminpu for Generator model.
DSS_CAPI_DLL void Bus_Get_AllPDEatBus(char ***ResultPtr, int32_t *ResultCount)
Returns an array with the names of all PDE connected to the active bus.
DSS_CAPI_DLL void CapControls_Set_Vmin(double Value)
With VoltOverride, switch ON whenever PT voltage drops below this level.
DSS_CAPI_DLL void LineCodes_Get_Xmatrix(double **ResultPtr, int32_t *ResultCount)
Reactance matrix, ohms per unit length.
DSS_CAPI_DLL void Sensors_Get_Currents(double **ResultPtr, int32_t *ResultCount)
Array of doubles for the line current measurements; don't use with kWS and kVARS.
DSS_CAPI_DLL int32_t Transformers_Get_NumTaps(void)
Active Winding number of tap steps betwein MinTap and MaxTap.
DSS_CAPI_DLL double LineCodes_Get_NormAmps(void)
Normal Ampere rating.
DSS_CAPI_DLL void Transformers_Set_NumTaps(int32_t Value)
Active Winding number of tap steps betwein MinTap and MaxTap.
DSS_CAPI_DLL void Solution_Get_IncMatrixCols_GR(void)
Same as Solution_Get_IncMatrixCols but using the global buffer interface for results.
DSS_CAPI_DLL int32_t Settings_Get_CktModel(void)
{Multiphase * | PositiveSeq} Indicate if the circuit model is positive sequence.
DSS_CAPI_DLL void CapControls_Get_AllNames(char ***ResultPtr, int32_t *ResultCount)
Array of strings with all CapControl names.
DSS_CAPI_DLL char * Meters_Get_MeteredElement(void)
Set Name of metered element.
DSS_CAPI_DLL void LoadShapes_Set_Qmult(double *ValuePtr, int32_t ValueCount)
Array of doubles containing the Q multipliers.
DSS_CAPI_DLL void Meters_Get_RegisterValues_GR(void)
Same as Meters_Get_RegisterValues but using the global buffer interface for results.
DSS_CAPI_DLL int32_t Topology_Get_ForwardBranch(void)
Move forward in the tree, return index of new active branch or 0 if no more.
DSS_CAPI_DLL void DSSElement_Get_AllPropertyNames_GR(void)
Same as DSSElement_Get_AllPropertyNames but using the global buffer interface for results.
DSS_CAPI_DLL void PDElements_Get_AllNumConductors_GR(void)
Same as PDElements_Get_AllNumConductors but using the global buffer interface for results.
DSS_CAPI_DLL void Circuit_Get_AllBusVmagPu_GR(void)
Same as Circuit_Get_AllBusVmagPu but using the global buffer interface for results.
DSS_CAPI_DLL void LoadShapes_Set_Qbase(double Value)
Base for normalizing Q curve.
DSS_CAPI_DLL double Loads_Get_RelWeight(void)
Relative Weighting factor for the active LOAD.
DSS_CAPI_DLL double PDElements_Get_TotalMiles(void)
Total miles of line from this element to the end of the zone.
DSS_CAPI_DLL void Transformers_Get_AllLossesByType(double **ResultPtr, int32_t *ResultCount)
Returns a complex array of the 3 types of losses (total losses, load losses, no-load losses) concaten...
DSS_CAPI_DLL char * Relays_Get_MonitoredObj(void)
Full name of object this Relay is monitoring.
DSS_CAPI_DLL void Solution_Get_IncMatrix_GR(void)
Same as Solution_Get_IncMatrix but using the global buffer interface for results.
AutoAddTypes
Definition: dss_capi.h:99
@ AutoAddTypes_AddGen
Solution_[Get/Set]_AddType.
Definition: dss_capi.h:100
@ AutoAddTypes_AddCap
Add capacitors in AutoAdd mode.
Definition: dss_capi.h:101
DSS_CAPI_DLL void Lines_Set_X1(double Value)
Positive Sequence reactance, ohms per unit length.
DSS_CAPI_DLL void Monitors_Get_dblFreq_GR(void)
Same as Monitors_Get_dblFreq but using the global buffer interface for results.
DSS_CAPI_DLL double Lines_Get_C0(void)
Zero Sequence capacitance, nanofarads per unit length.
DSS_CAPI_DLL void RegControls_Set_MaxTapChange(int32_t Value)
Maximum tap change per iteration in STATIC solution mode.
DSS_CAPI_DLL void Parser_Set_WhiteSpace(const char *Value)
Set the characters used for White space in the command string.
DSS_CAPI_DLL double Solution_Get_Seconds(void)
Seconds from top of the hour.
DSS_CAPI_DLL char * Monitors_Get_Element(void)
Full object name of element being monitored.
DSS_CAPI_DLL void Circuit_Get_AllElementNames(char ***ResultPtr, int32_t *ResultCount)
Array of strings containing Full Name of all elements.
DSS_CAPI_DLL double Solution_Get_Time_of_Step(void)
Get the solution process time + sample time for time step.
DSS_CAPI_DLL void GICSources_Set_EN(double Value)
Northward E Field V/km.
DSS_CAPI_DLL double RegControls_Get_ForwardX(void)
LDC X setting in Volts.
DSS_CAPI_DLL double Lines_Get_R1(void)
Positive Sequence resistance, ohms per unit length.
DSS_CAPI_DLL uint16_t Settings_Get_Trapezoidal(void)
{True | False *} Gets value of trapezoidal integration flag in energy meters.
DSS_CAPI_DLL int32_t Topology_Get_NumIsolatedLoads(void)
Number of isolated loads.
DSS_CAPI_DLL void CmathLib_Get_cmplx_GR(double RealPart, double ImagPart)
Same as CmathLib_Get_cmplx but using the global buffer interface for results.
DSS_CAPI_DLL char * Fuses_Get_MonitoredObj(void)
Full name of the circuit element to which the fuse is connected.
DSS_CAPI_DLL char * Sensors_Get_Name(void)
Name of the active sensor.
SolveModes
Definition: dss_capi.h:51
@ SolveModes_AutoAdd
Auto add generators or capacitors.
Definition: dss_capi.h:65
@ SolveModes_LD1
Load-duration Mode 1.
Definition: dss_capi.h:56
@ SolveModes_FaultStudy
Fault study at all buses.
Definition: dss_capi.h:61
@ SolveModes_Monte3
Monte Carlo Mode 3.
Definition: dss_capi.h:63
@ SolveModes_Monte2
Monte Carlo Mode 2.
Definition: dss_capi.h:62
@ SolveModes_Harmonic
Harmonic solution mode.
Definition: dss_capi.h:67
@ SolveModes_Direct
Solve direct (forced admittance model)
Definition: dss_capi.h:59
@ SolveModes_Daily
Solve following Daily load shapes.
Definition: dss_capi.h:53
@ SolveModes_MonteFault
Monte carlo Fault Study.
Definition: dss_capi.h:60
@ SolveModes_Monte1
Monte Carlo Mode 1.
Definition: dss_capi.h:55
@ SolveModes_SnapShot
Solve a single snapshot power flow.
Definition: dss_capi.h:52
@ SolveModes_LD2
Load-Duration Mode 2.
Definition: dss_capi.h:64
@ SolveModes_Dynamic
Solve for dynamics.
Definition: dss_capi.h:66
@ SolveModes_PeakDay
Solves for Peak Day using Daily load curve.
Definition: dss_capi.h:57
@ SolveModes_Yearly
Solve following Yearly load shapes.
Definition: dss_capi.h:54
@ SolveModes_DutyCycle
Solve following Duty Cycle load shapes.
Definition: dss_capi.h:58
DSS_CAPI_DLL char * PVSystems_Get_Name(void)
Get the name of the active PVSystem.
DSS_CAPI_DLL void Meters_Set_Peakcurrent(double *ValuePtr, int32_t ValueCount)
Array of doubles to set values of Peak Current property.
DSS_CAPI_DLL void PDElements_Get_AllSeqPowers_GR(void)
Same as PDElements_Get_AllSeqPowers but using the global buffer interface for results.
DSS_CAPI_DLL void CktElement_Get_Powers_GR(void)
Same as CktElement_Get_Powers but using the global buffer interface for results.
DSS_CAPI_DLL void XYCurves_Get_Xarray_GR(void)
Same as XYCurves_Get_Xarray but using the global buffer interface for results.
DSS_CAPI_DLL void Bus_Get_ZSC012Matrix(double **ResultPtr, int32_t *ResultCount)
Array of 18 doubles (9 complex values) containing the complete 012 Zsc matrix.
DSS_CAPI_DLL int32_t Monitors_Get_Count(void)
Number of Monitors.
DSS_CAPI_DLL void LoadShapes_Get_TimeArray(double **ResultPtr, int32_t *ResultCount)
Time array in hours correscponding to P and Q multipliers when the Interval=0.
DSS_CAPI_DLL int32_t Sensors_Get_First(void)
Sets the first sensor active.
DSS_CAPI_DLL double ReduceCkt_Get_Zmag(void)
Zmag (ohms) for Reduce Option for Z of short lines.
DSS_CAPI_DLL double Solution_Get_Tolerance(void)
Solution convergence tolerance.
DSS_CAPI_DLL void CktElement_Get_NodeOrder_GR(void)
Same as CktElement_Get_NodeOrder but using the global buffer interface for results.
DSS_CAPI_DLL void Lines_Get_Yprim(double **ResultPtr, int32_t *ResultCount)
Yprimitive: Does Nothing at present on Put; Dangerous.
DSS_CAPI_DLL void CktElement_Get_PhaseLosses(double **ResultPtr, int32_t *ResultCount)
Complex array of losses by phase.
DSS_CAPI_DLL void RegControls_Get_AllNames(char ***ResultPtr, int32_t *ResultCount)
Array of strings containing all RegControl names.
DSS_CAPI_DLL uint16_t Fuses_IsBlown(void)
Current state of the fuses.
DSS_CAPI_DLL void RegControls_Set_PTratio(double Value)
PT ratio for voltage control settings.
DSS_CAPI_DLL void XYCurves_Get_Yarray(double **ResultPtr, int32_t *ResultCount)
Get/Set Y values in curve; Set Npts to max number expected if setting.
DSS_CAPI_DLL int32_t PDElements_Get_Totalcustomers(void)
Total number of customers from this branch to the end of the zone.
DSS_CAPI_DLL char * RegControls_Get_Name(void)
Get/set Active RegControl name.
DSS_CAPI_DLL void Solution_Set_DefaultDaily(const char *Value)
Default daily load shape (defaults to "Default")
DSS_CAPI_DLL void Parser_Set_AutoIncrement(uint16_t Value)
Default is FALSE.
DSS_CAPI_DLL void LoadShapes_Set_SInterval(double Value)
Fixed interval data time interval, seconds.
DSS_CAPI_DLL void PDElements_Get_AllNumPhases(int32_t **ResultPtr, int32_t *ResultCount)
Integer array listing the number of phases of all PD elements.
DSS_CAPI_DLL void Capacitors_Get_AllNames_GR(void)
Same as Capacitors_Get_AllNames but using the global buffer interface for results.
DSS_CAPI_DLL void Capacitors_Set_Name(const char *Value)
Sets the active Capacitor by Name.
DSS_CAPI_DLL void GICSources_Set_Lat2(double Value)
Latitude of Bus2 (degrees)
DSS_CAPI_DLL void PDElements_Get_AllSeqCurrents(double **ResultPtr, int32_t *ResultCount)
Double array of the symmetrical component currents into each 3-phase terminal, for each PD element.
DSS_CAPI_DLL uint16_t DSS_Get_AllowDOScmd(void)
If enabled, the DOScmd command is allowed.
DSS_CAPI_DLL double Meters_Get_SumBranchFltRates(void)
Sum of the branch fault rates in this section of the meter's zone.
DSS_CAPI_DLL uint16_t Parser_Get_AutoIncrement(void)
Default is FALSE.
DSS_CAPI_DLL void CktElement_Get_AllPropertyNames_GR(void)
Same as CktElement_Get_AllPropertyNames but using the global buffer interface for results.
DSS_CAPI_DLL char * Fuses_Get_Name(void)
Get the name of the active Fuse element.
StorageStates
Definition: dss_capi.h:163
@ StorageStates_Charging
Storages_Set_State, Storages_Get_State.
Definition: dss_capi.h:164
DSS_CAPI_DLL void Parallel_Set_ActiveActor(int32_t Value)
Sets the Active Actor.
DSS_CAPI_DLL void Generators_Set_Vmaxpu(double Value)
Vmaxpu for generator model.
DSS_CAPI_DLL void Fuses_Set_MonitoredObj(const char *Value)
Full name of the circuit element to which the fuse is connected.
DSS_CAPI_DLL void Bus_Get_puVLL(double **ResultPtr, int32_t *ResultCount)
Returns Complex array of pu L-L voltages for 2- and 3-phase buses.
DSS_CAPI_DLL void Parser_Get_Matrix(double **ResultPtr, int32_t *ResultCount, int32_t ExpectedOrder)
Use this property to parse a Matrix token in OpenDSS format.
DSS_CAPI_DLL char * Circuit_Get_Name(void)
Name of the active circuit.
DSS_CAPI_DLL void Monitors_Get_ByteStream_GR(void)
Same as Monitors_Get_ByteStream but using the global buffer interface for results.
DSS_CAPI_DLL void CapControls_Set_DelayOff(double Value)
Time delay [s] before swithcing off a step.
DSS_CAPI_DLL void PDElements_Get_AllPctNorm_GR(uint16_t AllNodes)
Same as PDElements_Get_AllPctNorm but using the global buffer interface for results.
DSS_CAPI_DLL void Settings_Get_VoltageBases_GR(void)
Same as Settings_Get_VoltageBases but using the global buffer interface for results.
DSS_CAPI_DLL double RegControls_Get_Delay(void)
Time delay [s] after arming before the first tap change.
DSS_CAPI_DLL char * CktElement_Get_GUID(void)
globally unique identifier for this object
DSS_CAPI_DLL char * DSSProperty_Get_Description(void)
Description of the property.
DSS_CAPI_DLL int32_t DSS_Get_NumCircuits(void)
Number of Circuits currently defined.
DSS_CAPI_DLL void RegControls_Set_ReverseVreg(double Value)
Target voltage in the revese direction, on PT secondary base.
DSS_CAPI_DLL double Settings_Get_EmergVmaxpu(void)
Per Unit maximum voltage for Emergency conditions.
DSS_CAPI_DLL void ReduceCkt_DoDefault(void)
Do Default Reduction algorithm.
DSS_CAPI_DLL void CktElement_Get_Voltages(double **ResultPtr, int32_t *ResultCount)
Complex array of voltages at terminals.
DSS_CAPI_DLL void Circuit_Get_TotalPower(double **ResultPtr, int32_t *ResultCount)
Total power, kW delivered to the circuit.
DSS_CAPI_DLL int32_t PVSystems_Get_Count(void)
Number of PVSystems.
DSS_CAPI_DLL void Settings_Set_EmergVmaxpu(double Value)
Per Unit maximum voltage for Emergency conditions.
DSS_CAPI_DLL void Lines_Set_Bus2(const char *Value)
Name of bus for terminal 2.
DSS_CAPI_DLL double CapControls_Get_Vmax(void)
With VoltOverride, swtich off whenever PT voltage exceeds this level.
DSS_CAPI_DLL void CktElement_Get_TotalPowers(double **ResultPtr, int32_t *ResultCount)
Returns the total powers (complex) at ALL terminals of the active circuit element.
DSS_CAPI_DLL double PVSystems_Get_Irradiance(void)
Get the present value of the Irradiance property in kW/sq-m.
DSS_CAPI_DLL double LineCodes_Get_X1(void)
Posiive-sequence reactance, ohms per unit length.
DSS_CAPI_DLL void Generators_Set_kvar(double Value)
kvar output for the active generator.
DSS_CAPI_DLL uint16_t Capacitors_Get_IsDelta(void)
Delta connection or wye?
DSS_CAPI_DLL void Settings_Set_AllowDuplicates(uint16_t Value)
{True | False*} Designates whether to allow duplicate names of objects
DSS_CAPI_DLL void XYCurves_Set_Xscale(double Value)
Factor to scale X values from original curve.
DSS_CAPI_DLL void Transformers_Get_WdgCurrents_GR(void)
Same as Transformers_Get_WdgCurrents but using the global buffer interface for results.
DSS_CAPI_DLL void Capacitors_Set_States(int32_t *ValuePtr, int32_t ValueCount)
Array of integer [0..numSteps-1] indicating the state of each step.
DSS_CAPI_DLL int32_t CtrlQueue_Push(int32_t Hour, double Seconds, int32_t ActionCode, int32_t DeviceHandle)
Push a control action onto the DSS control queue by time, action code, and device handle (user define...
DSS_CAPI_DLL void LineCodes_Get_Rmatrix(double **ResultPtr, int32_t *ResultCount)
Resistance matrix, ohms per unit length.
DSS_CAPI_DLL void CktElement_Get_CurrentsMagAng(double **ResultPtr, int32_t *ResultCount)
Currents in magnitude, angle format as a array of doubles.
DSS_CAPI_DLL void Generators_Set_kV(double Value)
Voltage base for the active generator, kV.
DSS_CAPI_DLL double ISources_Get_Frequency(void)
The present frequency of the ISOURCE, Hz.
DSS_CAPI_DLL int32_t SwtControls_Get_Action(void)
Open or Close the switch.
DSS_CAPI_DLL void CktElement_Get_Yprim(double **ResultPtr, int32_t *ResultCount)
YPrim matrix, column order, complex numbers (paired)
DSS_CAPI_DLL int32_t Storages_Get_Count(void)
Number of Storage Objects in Active Circuit.
DSS_CAPI_DLL void Solution_Set_Converged(uint16_t Value)
Flag to indicate whether the circuit solution converged.
DSS_CAPI_DLL void CktElement_Get_CplxSeqVoltages_GR(void)
Same as CktElement_Get_CplxSeqVoltages but using the global buffer interface for results.
DSS_CAPI_DLL void Solution_Set_GenMult(double Value)
Default Multiplier applied to generators (like LoadMult)
DSS_CAPI_DLL char * Text_Get_Result(void)
Result string for the last command.
DSS_CAPI_DLL void Sensors_Set_Name(const char *Value)
Set the active Sensor by name.
DSS_CAPI_DLL int32_t Circuit_Get_ParentPDElement(void)
Sets Parent PD element, if any, to be the active circuit element and returns index>0; Returns 0 if it...
DSS_CAPI_DLL double Lines_Get_C1(void)
Positive Sequence capacitance, nanofarads per unit length.
DSS_CAPI_DLL void DSS_DisposeGRData(void)
Dispose temporary buffer data in the global result (GR) pointers.
DSS_CAPI_DLL void PVSystems_Get_AllNames(char ***ResultPtr, int32_t *ResultCount)
Array of strings with all PVSystem names.
DSS_CAPI_DLL void Solution_Get_BusLevels_GR(void)
Same as Solution_Get_BusLevels but using the global buffer interface for results.
DSS_CAPI_DLL void Circuit_Get_AllBusVolts(double **ResultPtr, int32_t *ResultCount)
Complex array of all bus, node voltages from most recent solution.
DSS_CAPI_DLL void Monitors_Get_Header_GR(void)
Same as Monitors_Get_Header but using the global buffer interface for results.
DSS_CAPI_DLL void Settings_Set_NormVmaxpu(double Value)
Per Unit maximum voltage for Normal conditions.
DSS_CAPI_DLL void Relays_Set_State(int32_t Value)
Get/Set present state of relay.
DSS_CAPI_DLL double Transformers_Get_kVA(void)
Active Winding kVA rating.
DSS_CAPI_DLL double Transformers_Get_Tap(void)
Active Winding tap in per-unit.
DSS_CAPI_DLL double GICSources_Get_Volts(void)
Specify dc voltage directly.
DSS_CAPI_DLL void PDElements_Get_AllPowers(double **ResultPtr, int32_t *ResultCount)
Complex array of powers into each conductor of each terminal, for each PD element.
DSS_CAPI_DLL void DSS_WaitPascalThread(void *handle)
Use this function to wait for a thread started by DSS_BeginPascalThread to finish.
DSS_CAPI_DLL int32_t Transformers_Get_Wdg(void)
Active Winding Number from 1..NumWindings.
DSS_CAPI_DLL double SwtControls_Get_Delay(void)
Time delay [s] betwen arming and opening or closing the switch.
DSS_CAPI_DLL void Relays_Set_idx(int32_t Value)
Get/Set Relay active by index into relay list.
DSS_CAPI_DLL int32_t Bus_Get_SectionID(void)
Integer ID of the feeder section in which this bus is located.
DSS_CAPI_DLL double Meters_Get_SAIDI(void)
SAIDI for this meter's zone.
DSS_CAPI_DLL double Generators_Get_kva(void)
kVA rating of electrical machine.
DSS_CAPI_DLL void Fuses_Get_NormalState(char ***ResultPtr, int32_t *ResultCount)
Array of strings ('open' or 'closed') indicating the normal state of each phase of the fuse.
DSS_CAPI_DLL double CmathLib_Get_cabs(double realpart, double imagpart)
Return abs value of complex number given in real and imag doubles.
DSS_CAPI_DLL void Bus_Get_VLL(double **ResultPtr, int32_t *ResultCount)
For 2- and 3-phase buses, returns array of complex numbers represetin L-L voltages in volts.
SolutionAlgorithms
Definition: dss_capi.h:75
@ SolutionAlgorithms_NewtonSolve
Solution algorithm option - Newton solution.
Definition: dss_capi.h:77
@ SolutionAlgorithms_NormalSolve
Solution_[Get/Set]_Algorithm.
Definition: dss_capi.h:76
DSS_CAPI_DLL void ReduceCkt_DoDangling(void)
Reduce Dangling Algorithm; branches with nothing connected.
DSS_CAPI_DLL int32_t Solution_Get_LoadModel(void)
Load Model: {PowerFlow (default) | Admittance}.
DSS_CAPI_DLL int32_t Generators_Get_Model(void)
Generator Model.
DSS_CAPI_DLL void Settings_Set_AllocationFactors(double Value)
Sets all load allocation factors for all loads defined by XFKVA property to this value.
DSS_CAPI_DLL double PVSystems_Get_IrradianceNow(void)
Returns the current irradiance value for the active PVSystem.
DSS_CAPI_DLL int32_t Loads_Get_Status(void)
Response to load multipliers: Fixed (growth only), Exempt (no LD curve), Variable (all).
DSS_CAPI_DLL void GICSources_Set_EE(double Value)
Eastward E Field, V/km.
DSS_CAPI_DLL double Reclosers_Get_GroundInst(void)
Ground (3I0) instantaneous trip setting - curve multipler or actual amps.
DSS_CAPI_DLL void Parallel_Get_ActorProgress_GR(void)
Same as Parallel_Get_ActorProgress but using the global buffer interface for results.
DSS_CAPI_DLL double Loads_Get_Vmaxpu(void)
Maximum per-unit voltage to use the load model.
DSS_CAPI_DLL int32_t Reclosers_Get_MonitoredTerm(void)
Terminal number of Monitored object for the Recloser.
DSS_CAPI_DLL double XYCurves_Get_Xshift(void)
Amount to shift X value from original curve.
DSS_CAPI_DLL void GICSources_Set_Lon1(double Value)
Longitude of Bus1 (Degrees)
DSS_CAPI_DLL void Transformers_Get_AllNames_GR(void)
Same as Transformers_Get_AllNames but using the global buffer interface for results.
DSS_CAPI_DLL void PVSystems_Set_kvar(double Value)
Set kvar output value.
DSS_CAPI_DLL char * SwtControls_Get_SwitchedObj(void)
Full name of the switched element.
DSS_CAPI_DLL double XYCurves_Get_Xscale(void)
Factor to scale X values from original curve.
DSS_CAPI_DLL void Transformers_Set_MaxTap(double Value)
Active Winding maximum tap in per-unit.
DSS_CAPI_DLL void CmathLib_Get_cmplx(double **ResultPtr, int32_t *ResultCount, double RealPart, double ImagPart)
Convert real and imaginary doubles to Array of doubles.
DSS_CAPI_DLL void Fuses_Reset(void)
Reset fuse to normal state.
DSS_CAPI_DLL uint16_t RegControls_Get_IsReversible(void)
Regulator can use different settings in the reverse direction.
DSS_CAPI_DLL void LineCodes_Set_Phases(int32_t Value)
Number of Phases.
DSS_CAPI_DLL int32_t Relays_Get_Count(void)
Number of Relays in circuit.
DSS_CAPI_DLL double Loads_Get_Rneut(void)
Neutral resistance for wye-connected loads.
DSS_CAPI_DLL char * Monitors_Get_FileName(void)
Name of CSV file associated with active Monitor.
DSS_CAPI_DLL void PDElements_Get_AllCurrentsMagAng_GR(void)
Same as PDElements_Get_AllCurrentsMagAng but using the global buffer interface for results.
DSS_CAPI_DLL void CktElement_Get_TotalPowers_GR(void)
Same as CktElement_Get_TotalPowers but using the global buffer interface for results.
DSS_CAPI_DLL void Generators_Set_kW(double Value)
kW output for the active generator.
DSS_CAPI_DLL double LoadShapes_Get_Qbase(void)
Base for normalizing Q curve.
DSS_CAPI_DLL void Bus_Get_Isc(double **ResultPtr, int32_t *ResultCount)
Short circuit currents at bus; Complex Array.
DSS_CAPI_DLL void DSSElement_Get_AllPropertyNames(char ***ResultPtr, int32_t *ResultCount)
Array of strings containing the names of all properties for the active DSS object.
DSS_CAPI_DLL double Bus_Get_Int_Duration(void)
Average interruption duration, hr.
DSS_CAPI_DLL int32_t Parallel_Get_ConcatenateReports(void)
Reads the values of the ConcatenateReports option (1=enabled, 0=disabled)
DSS_CAPI_DLL double LineCodes_Get_R0(void)
Zero-Sequence Resistance, ohms per unit length.
DSS_CAPI_DLL int32_t CktElement_Get_NumControls(void)
Number of controls connected to this device.
DSS_CAPI_DLL int32_t Solution_Get_Mode(void)
Set present solution mode (by a text code - see DSS Help)
DSS_CAPI_DLL double Loads_Get_Vminemerg(void)
Minimum voltage for unserved energy (UE) evaluation.
DSS_CAPI_DLL int32_t Transformers_Get_First(void)
Sets the first Transformer active.
DSS_CAPI_DLL char * Parser_Get_EndQuote(void)
String containing characters, in order, that match the beginning quote characters in BeginQuote.
DSS_CAPI_DLL void Meters_Get_AllocFactors(double **ResultPtr, int32_t *ResultCount)
Array of doubles: set the phase allocation factors for the active meter.
DSS_CAPI_DLL void SwtControls_Set_Action(int32_t Value)
Open or Close the switch.
DSS_CAPI_DLL int32_t ActiveClass_Get_First(void)
Sets first element in the active class to be the active DSS object.
DSS_CAPI_DLL int32_t PVSystems_Get_idx(void)
Get/set active PVSystem by index; 1..Count.
DSS_CAPI_DLL void Monitors_Get_Channel_GR(int32_t Index)
Same as Monitors_Get_Channel but using the global buffer interface for results.
DSS_CAPI_DLL void ReduceCkt_SaveCircuit(const char *CktName)
Save present (reduced) circuit Filename is listed in the Text Result interface.
DSS_CAPI_DLL void SwtControls_Set_SwitchedTerm(int32_t Value)
Terminal number where the switch is located on the SwitchedObj.
DSS_CAPI_DLL int32_t CktElement_Get_OCPDevType(void)
0=None; 1=Fuse; 2=Recloser; 3=Relay; Type of OCP controller device
DSS_CAPI_DLL void Circuit_Get_AllBusVolts_GR(void)
Same as Circuit_Get_AllBusVolts but using the global buffer interface for results.
DSS_CAPI_DLL void LoadShapes_Get_Pmult_GR(void)
Same as LoadShapes_Get_Pmult but using the global buffer interface for results.
DSS_CAPI_DLL void Parallel_Set_ActiveParallel(int32_t Value)
Delivers if the Parallel features of the Engine are Active.
DSS_CAPI_DLL void CapControls_Set_Vmax(double Value)
With VoltOverride, swtich off whenever PT voltage exceeds this level.
DSS_CAPI_DLL void Sensors_Get_kVS(double **ResultPtr, int32_t *ResultCount)
Array of doubles for the LL or LN (depending on Delta connection) voltage measurements.
DSS_CAPI_DLL int32_t Meters_Get_NumSectionCustomers(void)
Number of Customers in the active section.
int32_t(* dss_callback_plot_t)(void *ctx, char *jsonParams)
Function types for plotting and writing/message callbacks.
Definition: dss_capi.h:215
DSS_CAPI_DLL void Generators_Set_Model(int32_t Value)
Generator Model.
DSS_CAPI_DLL char * Lines_Get_Spacing(void)
Line spacing code.
DSS_CAPI_DLL void Loads_Set_kW(double Value)
Set kW for active Load.
DSS_CAPI_DLL void PDElements_Get_AllPctEmerg(double **ResultPtr, int32_t *ResultCount, uint16_t AllNodes)
Array of doubles with the maximum current across the conductors as a percentage of the Emergency Ampe...
DSS_CAPI_DLL void CapControls_Set_MonitoredTerm(int32_t Value)
Terminal number on the element that PT and CT are connected to.
DSS_CAPI_DLL void XYCurves_Get_AllNames_GR(void)
Same as XYCurves_Get_AllNames but using the global buffer interface for results.
DSS_CAPI_DLL void Circuit_Get_SystemY(double **ResultPtr, int32_t *ResultCount)
System Y matrix (after a solution has been performed)
DSS_CAPI_DLL void CtrlQueue_Get_Queue(char ***ResultPtr, int32_t *ResultCount)
Array of strings containing the entire queue in CSV format.
DSS_CAPI_DLL double Loads_Get_kwhdays(void)
Length of kwh billing period for average demand calculation.
DSS_CAPI_DLL int32_t Parallel_Get_NumCPUs(void)
Delivers the number of CPUs on the current PC.
DSS_CAPI_DLL char * Generators_Get_duty(void)
Name of the loadshape for a duty cycle simulation.
DSS_CAPI_DLL char * Lines_Get_Bus1(void)
Name of bus for terminal 1.
DSS_CAPI_DLL double Lines_Get_Rho(void)
Earth Resistivity, m-ohms.
DSS_CAPI_DLL int32_t Topology_Get_BackwardBranch(void)
MOve back toward the source, return index of new active branch, or 0 if no more.
DSS_CAPI_DLL uint16_t Settings_Get_AllowDuplicates(void)
{True | False*} Designates whether to allow duplicate names of objects
DSS_CAPI_DLL void Circuit_Get_AllNodeDistances_GR(void)
Same as Circuit_Get_AllNodeDistances but using the global buffer interface for results.
DSS_CAPI_DLL double Transformers_Get_Xlt(void)
Percent reactance between windings 2 and 3, on winding 1 kVA base.
DSS_CAPI_DLL void CktElement_Get_CurrentsMagAng_GR(void)
Same as CktElement_Get_CurrentsMagAng but using the global buffer interface for results.
DSS_CAPI_DLL double Settings_Get_NormVmaxpu(void)
Per Unit maximum voltage for Normal conditions.
DSS_CAPI_DLL void DSS_GetGRPointers(char ****DataPtr_PPAnsiChar, double ***DataPtr_PDouble, int32_t ***DataPtr_PInteger, int8_t ***DataPtr_PByte, int32_t **CountPtr_PPAnsiChar, int32_t **CountPtr_PDouble, int32_t **CountPtr_PInteger, int32_t **CountPtr_PByte)
Get references to the global result (GR) pointers, used in the *_GR variations of most getter functio...
DSS_CAPI_DLL void CktElement_Get_SeqVoltages(double **ResultPtr, int32_t *ResultCount)
Double array of symmetrical component voltages at each 3-phase terminal.
DSS_CAPI_DLL void Lines_Set_Rmatrix(double *ValuePtr, int32_t ValueCount)
Resistance matrix (full), ohms per unit length.
DSS_CAPI_DLL int32_t Generators_Get_Phases(void)
Number of phases.
DSS_CAPI_DLL void Fuses_Set_MonitoredTerm(int32_t Value)
Number of the terminal to which the fuse is connected.
DSS_CAPI_DLL char * Lines_Get_Name(void)
Specify the name of the Line element to set it active.
DSS_CAPI_DLL void CktElement_Get_SeqCurrents(double **ResultPtr, int32_t *ResultCount)
Double array of symmetrical component currents into each 3-phase terminal.
DSS_CAPI_DLL void LineCodes_Get_AllNames(char ***ResultPtr, int32_t *ResultCount)
Array of strings with names of all devices.
DSS_CAPI_DLL int32_t Settings_Get_IterateDisabled(void)
Controls whether First/Next iteration includes or skips disabled circuit elements.
DSS_CAPI_DLL int32_t Fuses_Get_SwitchedTerm(void)
Number of the terminal containing the switch controlled by the fuse.
DSS_CAPI_DLL char * CapControls_Get_Name(void)
Sets a CapControl active by name.
DSS_CAPI_DLL double Loads_Get_Vminnorm(void)
Minimum voltage for energy exceeding normal (EEN) evaluations.
DSS_CAPI_DLL int32_t Parallel_Get_NumOfActors(void)
Gets the number of Actors created.
DSS_CAPI_DLL void Solution_Set_MaxIterations(int32_t Value)
Max allowable iterations.
DSS_CAPI_DLL void Lines_Set_Phases(int32_t Value)
Number of Phases, this Line element.
DSS_CAPI_DLL int32_t Topology_Get_LoopedBranch(void)
Move to looped branch, return index or 0 if none.
DSS_CAPI_DLL int32_t ActiveClass_Get_NumElements(void)
Number of elements in this class.
DSS_CAPI_DLL int32_t PDElements_Get_SectionID(void)
Integer ID of the feeder section that this PDElement branch is part of.
DSS_CAPI_DLL void CktElement_Get_CplxSeqCurrents(double **ResultPtr, int32_t *ResultCount)
Complex double array of Sequence Currents for all conductors of all terminals of active circuit eleme...
DSS_CAPI_DLL int32_t Circuit_Get_NumNodes(void)
Total number of nodes in the circuit.
DSS_CAPI_DLL uint16_t Bus_Get_Coorddefined(void)
False=0 else True.
DSS_CAPI_DLL void Obj_Activate(void *obj, uint16_t AllLists)
Activates an object.
DSS_CAPI_DLL void XYCurves_Set_Yarray(double *ValuePtr, int32_t ValueCount)
Get/Set Y values in curve; Set Npts to max number expected if setting.
DSS_CAPI_DLL void Solution_Set_LoadMult(double Value)
Default load multiplier applied to all non-fixed loads.
DSS_CAPI_DLL char * Error_Get_Description(void)
Description of error for last operation.
DSS_CAPI_DLL char * Loads_Get_Name(void)
Set active load by name.
DSS_CAPI_DLL double XYCurves_Get_Yscale(void)
Factor to scale Y values from original curve.
DSS_CAPI_DLL int32_t Reclosers_Get_Shots(void)
Number of shots to lockout (fast + delayed)
DSS_CAPI_DLL void Circuit_Get_AllNodeNames_GR(void)
Same as Circuit_Get_AllNodeNames but using the global buffer interface for results.
DSS_CAPI_DLL int32_t Relays_Get_MonitoredTerm(void)
Number of terminal of monitored element that this Relay is monitoring.
DSS_CAPI_DLL uint16_t Settings_Get_ZoneLock(void)
{True | False*} Locks Zones on energy meters to prevent rebuilding if a circuit change occurs.
DSS_CAPI_DLL char * Reclosers_Get_SwitchedObj(void)
Full name of the circuit element that is being switched by the Recloser.
DSS_CAPI_DLL void Generators_Set_Phases(int32_t Value)
Number of phases.
DSS_CAPI_DLL char * Capacitors_Get_Name(void)
Sets the active Capacitor by Name.
DSS_CAPI_DLL double ISources_Get_AngleDeg(void)
Phase angle for ISOURCE, degrees.
DSS_CAPI_DLL uint16_t Generators_Get_IsDelta(void)
Generator connection.
DSS_CAPI_DLL void Parser_Set_EndQuote(const char *Value)
String containing characters, in order, that match the beginning quote characters in BeginQuote.
DSS_CAPI_DLL void Circuit_Get_SubstationLosses_GR(void)
Same as Circuit_Get_SubstationLosses but using the global buffer interface for results.
DSS_CAPI_DLL int32_t Monitors_Get_RecordSize(void)
Size of each record in ByteStream (Integer).
DSS_CAPI_DLL void Loads_Set_kvar(double Value)
Set kvar for active Load.
DSS_CAPI_DLL void Transformers_Get_LossesByType(double **ResultPtr, int32_t *ResultCount)
Returns a complex array of the 3 types of losses (total losses, load losses, no-load losses) for the ...
DSS_CAPI_DLL void XYCurves_Set_Npts(int32_t Value)
Get/Set Number of Points in X-Y curve.
DSS_CAPI_DLL void Fuses_Get_State(char ***ResultPtr, int32_t *ResultCount)
Array of strings ('open' or 'closed') indicating the state of each phase of the fuse.
DSS_CAPI_DLL int32_t Loads_Get_Model(void)
The Load Model defines variation of P and Q with voltage.
DSS_CAPI_DLL void Topology_Get_AllIsolatedBranches(char ***ResultPtr, int32_t *ResultCount)
Array of all isolated branch names.
DSS_CAPI_DLL void CktElement_Get_BusNames_GR(void)
Same as CktElement_Get_BusNames but using the global buffer interface for results.
DSS_CAPI_DLL char * Solution_Get_ModeID(void)
ID (text) of the present solution mode.
DSS_CAPI_DLL void LoadShapes_Set_Npts(int32_t Value)
Set number of points to allocate for active Loadshape.
DSS_CAPI_DLL int32_t CapControls_Get_MonitoredTerm(void)
Terminal number on the element that PT and CT are connected to.
DSS_CAPI_DLL void Lines_Set_X0(double Value)
Zero Sequence reactance ohms per unit length.
DSS_CAPI_DLL uint16_t LoadShapes_Get_UseActual(void)
T/F flag to let Loads know to use the actual value in the curve rather than use the value as a multip...
DSS_CAPI_DLL int32_t PDElements_Get_Count(void)
Number of PD elements (including disabled elements)
DSS_CAPI_DLL void Sensors_Get_kVARS_GR(void)
Same as Sensors_Get_kVARS but using the global buffer interface for results.
DSS_CAPI_DLL void CktElement_Set_NormalAmps(double Value)
Normal ampere rating.
DSS_CAPI_DLL void LoadShapes_Set_MaxQ(double Value)
kW value at the time of max power.
DSS_CAPI_DLL char * PVSystems_Get_Tyearly(void)
Temperature shape to use for yearly simulations.
DSS_CAPI_DLL int32_t Sensors_Get_Next(void)
Sets the next Sensor active.
DSS_CAPI_DLL void Circuit_Get_Losses_GR(void)
Same as Circuit_Get_Losses but using the global buffer interface for results.
DSS_CAPI_DLL void CktElement_Get_NodeOrder(int32_t **ResultPtr, int32_t *ResultCount)
Array of integer containing the node numbers (representing phases, for example) for each conductor of...
DSS_CAPI_DLL char * Bus_Get_Name(void)
Name of Bus.
DSS_CAPI_DLL void CktElement_Set_EmergAmps(double Value)
Emergency Ampere Rating.
DSS_CAPI_DLL void Storages_Get_RegisterValues(double **ResultPtr, int32_t *ResultCount)
Array of values in Storage registers.
DSS_CAPI_DLL double PVSystems_Get_Pmpp(void)
Gets/sets the rated max power of the PV array for 1.0 kW/sq-m irradiance and a user-selected array te...
DSS_CAPI_DLL void PVSystems_Set_kVArated(double Value)
Set kva rated.
DSS_CAPI_DLL char * DSS_Executive_Get_OptionValue(int32_t i)
Get present value of i-th option.
DSS_CAPI_DLL uint16_t Sensors_Get_ReverseDelta(void)
True if voltage measurements are 1-3, 3-2, 2-1.
DSS_CAPI_DLL void LoadShapes_Set_TimeArray(double *ValuePtr, int32_t ValueCount)
Time array in hours correscponding to P and Q multipliers when the Interval=0.
DSS_CAPI_DLL double Settings_Get_EmergVminpu(void)
Per Unit minimum voltage for Emergency conditions.
DSS_CAPI_DLL void Circuit_Get_AllNodeVmagPUByPhase_GR(int32_t Phase)
Same as Circuit_Get_AllNodeVmagPUByPhase but using the global buffer interface for results.
DSS_CAPI_DLL int32_t DSS_Executive_Get_NumCommands(void)
Number of DSS Executive Commands.
DSS_CAPI_DLL void CmathLib_Get_pdegtocomplex_GR(double magnitude, double angle)
Same as CmathLib_Get_pdegtocomplex but using the global buffer interface for results.
DSS_CAPI_DLL int32_t Topology_Get_ParallelBranch(void)
Move to directly parallel branch, return index or 0 if none.
DSS_CAPI_DLL void Storages_Get_RegisterNames(char ***ResultPtr, int32_t *ResultCount)
Array of Names of all Storage energy meter registers.
DSS_CAPI_DLL char * Lines_Get_Bus2(void)
Name of bus for terminal 2.
DSS_CAPI_DLL double Solution_Get_Process_Time(void)
Gets the time required to perform the latest solution (Read only)
DSS_CAPI_DLL char * Generators_Get_Yearly(void)
Name of yearly loadshape.
DSS_CAPI_DLL double LineCodes_Get_EmergAmps(void)
Emergency ampere rating.
DSS_CAPI_DLL int32_t DSS_Get_NumClasses(void)
Number of DSS intrinsic classes.
DSS_CAPI_DLL int32_t Relays_Get_Next(void)
Advance to next Relay object.
DSS_CAPI_DLL void Bus_Get_puVmagAngle_GR(void)
Same as Bus_Get_puVmagAngle but using the global buffer interface for results.
DSS_CAPI_DLL void Lines_Get_Rmatrix_GR(void)
Same as Lines_Get_Rmatrix but using the global buffer interface for results.
DSS_CAPI_DLL void Relays_Set_SwitchedTerm(int32_t Value)
Terminal number of the switched object that will be opened when the relay trips.
DSS_CAPI_DLL char * Loads_Get_duty(void)
Name of the loadshape for a duty cycle simulation.
DSS_CAPI_DLL void RegControls_Set_ReverseR(double Value)
Reverse LDC R setting in Volts.
DSS_CAPI_DLL void PDElements_Get_AllCplxSeqCurrents(double **ResultPtr, int32_t *ResultCount)
Complex double array of Sequence Currents for all conductors of all terminals, for each PD elements.
DSS_CAPI_DLL double Reclosers_Get_PhaseInst(void)
Phase instantaneous curve multipler or actual amps.
DSS_CAPI_DLL uint16_t DSS_Get_AllowEditor(void)
Sets/gets the AllowEditor mode.
DSS_CAPI_DLL void Settings_Set_UEregs(int32_t *ValuePtr, int32_t ValueCount)
Array of Integers defining energy meter registers to use for computing UE.
DSS_CAPI_DLL void Bus_Get_Voltages(double **ResultPtr, int32_t *ResultCount)
Complex array of voltages at this bus.
DSS_CAPI_DLL double XYCurves_Get_x(void)
Set X value or get interpolated value after setting Y.
DSS_CAPI_DLL void RegControls_Set_ForwardBand(double Value)
Regulation bandwidth in forward direciton, centered on Vreg.
DSS_CAPI_DLL void Lines_Set_C0(double Value)
Zero Sequence capacitance, nanofarads per unit length.
DSS_CAPI_DLL void Meters_Get_CalcCurrent_GR(void)
Same as Meters_Get_CalcCurrent but using the global buffer interface for results.
DSS_CAPI_DLL int32_t Fuses_Get_Count(void)
Number of Fuse elements in the circuit.
DSS_CAPI_DLL void Solution_Set_MaxControlIterations(int32_t Value)
Maximum allowable control iterations.
DSS_CAPI_DLL void RegControls_Set_ReverseBand(double Value)
Bandwidth in reverse direction, centered on reverse Vreg.
DSS_CAPI_DLL int32_t ISources_Get_First(void)
Set the First ISOURCE to be active; returns Zero if none.
DSS_CAPI_DLL char * ActiveClass_ToJSON(int32_t options)
Returns the data (as a list) of all elements from the active class as a JSON-encoded string.
DSS_CAPI_DLL void Relays_Get_AllNames_GR(void)
Same as Relays_Get_AllNames but using the global buffer interface for results.
DSS_CAPI_DLL void RegControls_Set_MonitoredBus(const char *Value)
Name of a remote regulated bus, in lieu of LDC settings.
DSS_CAPI_DLL void Meters_Get_Peakcurrent_GR(void)
Same as Meters_Get_Peakcurrent but using the global buffer interface for results.
DSS_CAPI_DLL double Bus_Get_TotalMiles(void)
Total length of line downline from this bus, in miles.
DSS_CAPI_DLL double Lines_Get_X0(void)
Zero Sequence reactance ohms per unit length.
DSS_CAPI_DLL void PVSystems_Get_RegisterValues_GR(void)
Same as PVSystems_Get_RegisterValues but using the global buffer interface for results.
DSS_CAPI_DLL char * Transformers_Get_strWdgCurrents(void)
All winding currents in CSV string form like the WdgCurrents property.
DSS_CAPI_DLL double Vsources_Get_AngleDeg(void)
Phase angle of first phase in degrees.
DSS_CAPI_DLL int32_t Relays_Get_NormalState(void)
Get/set normal state of relay.
DSS_CAPI_DLL double Bus_Get_Distance(void)
Distance from energymeter (if non-zero)
DSS_CAPI_DLL char * CapControls_Get_MonitoredObj(void)
Full name of the element that PT and CT are connected to.
DSS_CAPI_DLL int32_t Meters_Get_Next(void)
Sets the next energy Meter active.
DSS_CAPI_DLL int32_t Loads_Get_First(void)
Set first Load element to be active; returns 0 if none.
DSS_CAPI_DLL char * RegControls_Get_MonitoredBus(void)
Name of a remote regulated bus, in lieu of LDC settings.
DSS_CAPI_DLL void Sensors_Get_AllocationFactor_GR(void)
Same as Sensors_Get_AllocationFactor but using the global buffer interface for results.
DSS_CAPI_DLL void CktElement_Get_SeqCurrents_GR(void)
Same as CktElement_Get_SeqCurrents but using the global buffer interface for results.
DSS_CAPI_DLL void Circuit_Get_YCurrents(double **ResultPtr, int32_t *ResultCount)
Array of doubles containing complex injection currents for the present solution.
DSS_CAPI_DLL char * ActiveClass_Get_Name(void)
Name of the Active Element of the Active Class.
DSS_CAPI_DLL int32_t GICSources_Get_Next(void)
Invoking this property advances to the next GICSource element active.
DSS_CAPI_DLL int32_t Meters_Get_TotalCustomers(void)
Total Number of customers in this zone (downline from the EnergyMeter)
DSS_CAPI_DLL void Monitors_Get_dblFreq(double **ResultPtr, int32_t *ResultCount)
Array of doubles containing frequency values for harmonics mode solutions; Empty for time mode soluti...
DSS_CAPI_DLL char * Parser_Get_WhiteSpace(void)
Get the characters used for White space in the command string.
DSS_CAPI_DLL void Circuit_Get_Losses(double **ResultPtr, int32_t *ResultCount)
Total losses in active circuit, complex number (two-element array of double).
DSS_CAPI_DLL char * Parser_Get_NextParam(void)
Get next token and return tag name (before = sign) if any.
DSS_CAPI_DLL void Loads_Get_AllNames(char ***ResultPtr, int32_t *ResultCount)
Array of strings containing all Load names.
DSS_CAPI_DLL int32_t Meters_Get_SequenceIndex(void)
Get/set Index into Meter's SequenceList that contains branch pointers in lexical order.
DSS_CAPI_DLL int32_t Fuses_Get_NumPhases(void)
Number of phases, this fuse.
DSS_CAPI_DLL void Vsources_Set_Frequency(double Value)
Source frequency in Hz.
DSS_CAPI_DLL double Loads_Get_xfkVA(void)
Rated service transformer kVA for load allocation, using AllocationFactor.
DSS_CAPI_DLL double Generators_Get_PF(void)
Power factor (pos.
DSS_CAPI_DLL void PDElements_Get_AllNumConductors(int32_t **ResultPtr, int32_t *ResultCount)
Integer array listing the number of conductors of all PD elements.
DSS_CAPI_DLL void Transformers_Set_kV(double Value)
Active Winding kV rating.
DSS_CAPI_DLL void Parser_Get_Vector(double **ResultPtr, int32_t *ResultCount, int32_t ExpectedSize)
Returns token as array of doubles.
DSS_CAPI_DLL int32_t DSS_Get_NumUserClasses(void)
Number of user-defined classes.
DSS_CAPI_DLL int32_t Solution_Get_MaxControlIterations(void)
Maximum allowable control iterations.
DSS_CAPI_DLL void Circuit_Get_YNodeVarray(double **ResultPtr, int32_t *ResultCount)
Complex array of actual node voltages in same order as SystemY matrix.
DSS_CAPI_DLL double PVSystems_Get_PF(void)
Get Power factor.
DSS_CAPI_DLL void PVSystems_Set_PF(double Value)
Set PF.
DSS_CAPI_DLL int32_t Monitors_Get_Terminal(void)
Terminal number of element being monitored.
RandomModes
Definition: dss_capi.h:93
@ RandomModes_Gaussian
Solution_[Get/Set]_Random.
Definition: dss_capi.h:94
@ RandomModes_LogNormal
Log normal.
Definition: dss_capi.h:96
@ RandomModes_Uniform
Uniform.
Definition: dss_capi.h:95
DSS_CAPI_DLL void Bus_Get_VMagAngle_GR(void)
Same as Bus_Get_VMagAngle but using the global buffer interface for results.
DSS_CAPI_DLL void XYCurves_Get_Yarray_GR(void)
Same as XYCurves_Get_Yarray but using the global buffer interface for results.
DSS_CAPI_DLL char * DSS_Executive_Get_Command(int32_t i)
Get i-th command.
DSS_CAPI_DLL void Generators_Get_AllNames(char ***ResultPtr, int32_t *ResultCount)
Array of names of all Generator objects.
DSS_CAPI_DLL int32_t LoadShapes_Get_Next(void)
Advance active Loadshape to the next on in the collection.
DSS_CAPI_DLL void Meters_Get_RegisterValues(double **ResultPtr, int32_t *ResultCount)
Array of all the values contained in the Meter registers for the active Meter.
DSS_CAPI_DLL void Meters_Get_Peakcurrent(double **ResultPtr, int32_t *ResultCount)
Array of doubles to set values of Peak Current property.
DSS_CAPI_DLL void Solution_Set_LoadModel(int32_t Value)
Load Model: {PowerFlow (default) | Admittance}.
DSS_CAPI_DLL void Generators_Get_AllNames_GR(void)
Same as Generators_Get_AllNames but using the global buffer interface for results.
DSS_CAPI_DLL void Fuses_Set_TCCcurve(const char *Value)
Name of the TCCcurve object that determines fuse blowing.
DSS_CAPI_DLL void Circuit_Get_AllElementLosses_GR(void)
Same as Circuit_Get_AllElementLosses but using the global buffer interface for results.
DSS_CAPI_DLL double Lines_Get_Rg(void)
Earth return resistance value used to compute line impedances at power frequency.
DSS_CAPI_DLL void Circuit_Get_AllBusDistances(double **ResultPtr, int32_t *ResultCount)
Returns distance from each bus to parent EnergyMeter.
DSS_CAPI_DLL void Circuit_Get_AllNodeVmagPUByPhase(double **ResultPtr, int32_t *ResultCount, int32_t Phase)
Returns array of per unit voltage magnitudes for each node by phase.
DSS_CAPI_DLL void CktElement_Get_SeqPowers(double **ResultPtr, int32_t *ResultCount)
Double array of sequence powers into each 3-phase teminal.
DSS_CAPI_DLL double PDElements_Get_AccumulatedL(void)
accummulated failure rate for this branch on downline
DSS_CAPI_DLL void CmathLib_Get_cdiv_GR(double a1, double b1, double a2, double b2)
Same as CmathLib_Get_cdiv but using the global buffer interface for results.
DSS_CAPI_DLL uint16_t Solution_Get_SystemYChanged(void)
Flag that indicates if elements of the System Y have been changed by recent activity.
DSS_CAPI_DLL void CapControls_Set_Delay(double Value)
Time delay [s] to switch on after arming.
DSS_CAPI_DLL void Reclosers_Get_RecloseIntervals_GR(void)
Same as Reclosers_Get_RecloseIntervals but using the global buffer interface for results.
DSS_CAPI_DLL uint16_t CktElement_Get_HasOCPDevice(void)
True if a recloser, relay, or fuse controlling this ckt element.
DSS_CAPI_DLL void Monitors_Set_Mode(int32_t Value)
Set Monitor mode (bitmask integer - see DSS Help)
DSS_CAPI_DLL void Solution_Set_Frequency(double Value)
Set the Frequency for next solution.
DSS_CAPI_DLL void Topology_Get_AllIsolatedLoads_GR(void)
Same as Topology_Get_AllIsolatedLoads but using the global buffer interface for results.
DSS_CAPI_DLL double Generators_Get_kVArated(void)
kVA rating of the generator
DSS_CAPI_DLL void Vsources_Set_Name(const char *Value)
Set Active VSOURCE by Name.
DSS_CAPI_DLL int32_t ISources_Get_Next(void)
Sets the next ISOURCE element to be the active one.
DSS_CAPI_DLL void Solution_Get_EventLog(char ***ResultPtr, int32_t *ResultCount)
Array of strings containing the Event Log.
DSS_CAPI_DLL void Generators_Get_RegisterNames_GR(void)
Same as Generators_Get_RegisterNames but using the global buffer interface for results.
DSS_CAPI_DLL void PDElements_Get_AllCurrents(double **ResultPtr, int32_t *ResultCount)
Complex array of currents for all conductors, all terminals, for each PD element.
DSS_CAPI_DLL void Sensors_Get_kVARS(double **ResultPtr, int32_t *ResultCount)
Array of doubles for Q measurements.
DSS_CAPI_DLL void PDElements_Get_AllCurrentsMagAng(double **ResultPtr, int32_t *ResultCount)
Complex array (magnitude and angle format) of currents for all conductors, all terminals,...
DSS_CAPI_DLL void DSSProgress_Set_Caption(const char *Value)
Caption to appear on the bottom of the DSS Progress form.
DSS_CAPI_DLL void Fuses_Set_Delay(double Value)
Fixed delay time in seconds added to the fuse blowing time to represent fuse clear or other delay.
DSS_CAPI_DLL void Circuit_Get_YNodeVarray_GR(void)
Same as Circuit_Get_YNodeVarray but using the global buffer interface for results.
DSS_CAPI_DLL void Transformers_Set_Wdg(int32_t Value)
Active Winding Number from 1..NumWindings.
DSS_CAPI_DLL void Relays_Set_Name(const char *Value)
Set Relay active by name.
DSS_CAPI_DLL char * GICSources_Get_Bus2(void)
Second bus name.
DSS_CAPI_DLL void Storages_Get_AllNames(char ***ResultPtr, int32_t *ResultCount)
Array of names of all Storage objects.
CapControlModes
Definition: dss_capi.h:104
@ CapControlModes_KVAR
kVAR control, ON and OFF settings on PT / CT base
Definition: dss_capi.h:107
@ CapControlModes_Time
Time control, ON and OFF settings are seconds from midnight.
Definition: dss_capi.h:108
@ CapControlModes_PF
ON and OFF settings are power factor, negative for leading.
Definition: dss_capi.h:109
@ CapControlModes_Voltage
Voltage control, ON and OFF settings on the PT secondary base.
Definition: dss_capi.h:106
@ CapControlModes_Current
Current control, ON and OFF settings on CT secondary.
Definition: dss_capi.h:105
DSS_CAPI_DLL int32_t Reclosers_Get_State(void)
Get/Set present state of recloser.
DSS_CAPI_DLL void CapControls_Set_ONSetting(double Value)
Threshold to arm or switch on a step.
DSS_CAPI_DLL char * Loads_Get_Growth(void)
Name of the growthshape curve for yearly load growth factors.
DSS_CAPI_DLL void Meters_Get_CalcCurrent(double **ResultPtr, int32_t *ResultCount)
Set the magnitude of the real part of the Calculated Current (normally determined by solution) for th...
DSS_CAPI_DLL void Lines_Set_Length(double Value)
Length of line section in units compatible with the LineCode definition.
DSS_CAPI_DLL void Bus_Get_LoadList_GR(void)
Same as Bus_Get_LineList but using the global buffer interface for results.
DSS_CAPI_DLL void Solution_Set_Seconds(double Value)
Seconds from top of the hour.
DSS_CAPI_DLL int32_t SwtControls_Get_State(void)
Force switch to specified state.
DSS_CAPI_DLL void LineCodes_Get_Cmatrix_GR(void)
Same as LineCodes_Get_Cmatrix but using the global buffer interface for results.
DSS_CAPI_DLL double Parser_Get_DblValue(void)
Return next parameter as a double.
DSS_CAPI_DLL void Bus_Get_CplxSeqVoltages(double **ResultPtr, int32_t *ResultCount)
Complex Double array of Sequence Voltages (0, 1, 2) at this Bus.
DSS_CAPI_DLL void Bus_Set_x(double Value)
X Coordinate for bus (double)
DSS_CAPI_DLL char * Text_Get_Command(void)
Input command string for the DSS.
DSS_CAPI_DLL double RegControls_Get_ForwardR(void)
LDC R setting in Volts.
DSS_CAPI_DLL char * Topology_Get_BranchName(void)
Name of the active branch.
DSS_CAPI_DLL void Monitors_Set_Element(const char *Value)
Full object name of element being monitored.
DSS_CAPI_DLL void Storages_Set_State(int32_t Value)
Get/set state: 0=Idling; 1=Discharging; -1=Charging;.
DSS_CAPI_DLL void LineCodes_Get_AllNames_GR(void)
Same as LineCodes_Get_AllNames but using the global buffer interface for results.
DSS_CAPI_DLL char * CktElement_Get_Controller(int32_t idx)
Full name of the i-th controller attached to this element.
DSS_CAPI_DLL int32_t Reclosers_Get_First(void)
Set First Recloser to be Active Ckt Element.
DSS_CAPI_DLL char * Loads_Get_CVRcurve(void)
Name of a loadshape with both Mult and Qmult, for CVR factors as a function of time.
DSS_CAPI_DLL double Capacitors_Get_kvar(void)
Total bank KVAR, distributed equally among phases and steps.
DSS_CAPI_DLL void LoadShapes_Get_Qmult_GR(void)
Same as LoadShapes_Get_Qmult but using the global buffer interface for results.
DSS_CAPI_DLL double Solution_Get_Total_Time(void)
Gets the accumulated time of the simulation.
DSS_CAPI_DLL void Lines_Set_R1(double Value)
Positive Sequence resistance, ohms per unit length.
DSS_CAPI_DLL void Lines_Set_Rho(double Value)
Earth Resistivity, m-ohms.
DSS_CAPI_DLL int32_t SwtControls_Get_First(void)
Sets the first SwtControl active.
DSS_CAPI_DLL uint16_t DSS_Get_COMErrorResults(void)
If enabled, in case of errors or empty arrays, the API returns arrays with values compatible with the...
DSS_CAPI_DLL void Circuit_Get_AllNodeVmagByPhase_GR(int32_t Phase)
Same as Circuit_Get_AllNodeVmagByPhase but using the global buffer interface for results.
DSS_CAPI_DLL void CapControls_Set_Mode(int32_t Value)
Type of automatic controller.
DSS_CAPI_DLL void Parser_Set_BeginQuote(const char *Value)
Set String containing the the characters for Quoting in OpenDSS scripts.
DSS_CAPI_DLL void Circuit_Get_AllNodeDistancesByPhase_GR(int32_t Phase)
Same as Circuit_Get_AllNodeDistancesByPhase but using the global buffer interface for results.
DSS_CAPI_DLL void CktElement_Set_DisplayName(const char *Value)
Display name of the object (not necessarily unique)
DSS_CAPI_DLL void CtrlQueue_Get_Queue_GR(void)
Same as CtrlQueue_Get_Queue but using the global buffer interface for results.
DSS_CAPI_DLL void GICSources_Set_Volts(double Value)
Specify dc voltage directly.
DSS_CAPI_DLL double Lines_Get_Length(void)
Length of line section in units compatible with the LineCode definition.
DSS_CAPI_DLL void Settings_Set_Trapezoidal(uint16_t Value)
{True | False *} Gets value of trapezoidal integration flag in energy meters.
DSS_CAPI_DLL void Bus_Get_CplxSeqVoltages_GR(void)
Same as Bus_Get_CplxSeqVoltages but using the global buffer interface for results.
DSS_CAPI_DLL void GICSources_Set_Name(const char *Value)
Specify the name of the GICSource element to set it active.
DSS_CAPI_DLL void Settings_Set_UEweight(double Value)
Weighting factor applied to UE register values.
DSS_CAPI_DLL void Bus_Get_SeqVoltages_GR(void)
Same as Bus_Get_SeqVoltages but using the global buffer interface for results.
DSS_CAPI_DLL void Generators_Set_Name(const char *Value)
Sets a generator active by name.
DSS_CAPI_DLL double GICSources_Get_EN(void)
Northward E Field V/km.
DSS_CAPI_DLL double LoadShapes_Get_SInterval(void)
Fixed interval data time interval, seconds.
DSS_CAPI_DLL char * LineCodes_Get_Name(void)
Name of active LineCode.
DSS_CAPI_DLL char * PDElements_Get_Name(void)
Get/Set name of active PD Element.
DSS_CAPI_DLL void Circuit_Get_AllNodeDistances(double **ResultPtr, int32_t *ResultCount)
Returns an array of distances from parent EnergyMeter for each Node.
DSS_CAPI_DLL int32_t ActiveClass_Get_Count(void)
Number of elements in Active Class.
DSS_CAPI_DLL void CktElement_Get_CplxSeqCurrents_GR(void)
Same as CktElement_Get_CplxSeqCurrents but using the global buffer interface for results.
DSS_CAPI_DLL void LoadShapes_Set_HrInterval(double Value)
Fixed interval time value, hours.
DSS_CAPI_DLL void Fuses_Set_SwitchedObj(const char *Value)
Full name of the circuit element switch that the fuse controls.
DSS_CAPI_DLL double Reclosers_Get_GroundTrip(void)
Ground (3I0) trip multiplier or actual amps.
DSS_CAPI_DLL int32_t Fuses_Get_First(void)
Set the first Fuse to be the active fuse.
DSS_CAPI_DLL double Lines_Get_Xg(void)
Earth return reactance value used to compute line impedances at power frequency.
DSS_CAPI_DLL void Loads_Set_Name(const char *Value)
Set active load by name.
DSS_CAPI_DLL void Circuit_Get_AllBusVmag(double **ResultPtr, int32_t *ResultCount)
Array of magnitudes (doubles) of voltages at all buses.
DSS_CAPI_DLL void DSS_Get_UserClasses_GR(void)
Same as DSS_Get_UserClasses but using the global buffer interface for results.
DSS_CAPI_DLL void Settings_Get_LossRegs(int32_t **ResultPtr, int32_t *ResultCount)
Integer array defining which energy meter registers to use for computing losses.
DSS_CAPI_DLL void Loads_Get_AllNames_GR(void)
Same as Loads_Get_AllNames but using the global buffer interface for results.
DSS_CAPI_DLL void LoadShapes_Set_UseActual(uint16_t Value)
T/F flag to let Loads know to use the actual value in the curve rather than use the value as a multip...
DSS_CAPI_DLL void PDElements_Get_AllNumTerminals(int32_t **ResultPtr, int32_t *ResultCount)
Integer array listing the number of terminals of all PD elements.
DSS_CAPI_DLL double Settings_Get_LossWeight(void)
Weighting factor applied to Loss register values.
DSS_CAPI_DLL int32_t Generators_Get_idx(void)
Get/Set active Generator by index into generators list.
DSS_CAPI_DLL void Sensors_Get_kWS_GR(void)
Same as Sensors_Get_kWS but using the global buffer interface for results.
DSS_CAPI_DLL void RegControls_Set_Name(const char *Value)
Sets a RegControl active by name.
DSS_CAPI_DLL void Relays_Get_AllNames(char ***ResultPtr, int32_t *ResultCount)
Array of strings containing names of all Relay elements.
DSS_CAPI_DLL double Fuses_Get_Delay(void)
A fixed delay time in seconds added to the fuse blowing time determined by the TCC curve.
DSS_CAPI_DLL double Sensors_Get_kVbase(void)
Voltage base for the sensor measurements.
DSS_CAPI_DLL void Capacitors_Set_kvar(double Value)
Total bank KVAR, distributed equally among phases and steps.
DSS_CAPI_DLL double RegControls_Get_CTPrimary(void)
CT primary ampere rating (secondary is 0.2 amperes)
DSS_CAPI_DLL void ZIP_Open(const char *FileName)
Opens and prepares a ZIP file to be used by the DSS text parser.
DSS_CAPI_DLL double Transformers_Get_Xhl(void)
Percent reactance between windings 1 and 2, on winding 1 kVA base.
DSS_CAPI_DLL void Settings_Get_UEregs_GR(void)
Same as Settings_Get_UEregs but using the global buffer interface for results.
DSS_CAPI_DLL void CktElement_Get_BusNames(char ***ResultPtr, int32_t *ResultCount)
Array of strings.
DSS_CAPI_DLL void Relays_Close(void)
Close the switched object controlled by the relay.
DSS_CAPI_DLL void Monitors_Set_Terminal(int32_t Value)
Terminal number of element being monitored.
DSS_CAPI_DLL uint16_t Settings_Get_LoadsTerminalCheck(void)
Controls whether the terminals are checked when updating the currents in Load component.
DSS_CAPI_DLL void Transformers_Set_Xlt(double Value)
Percent reactance between windings 2 and 3, on winding 1 kVA base.
DSS_CAPI_DLL void Solution_Set_Algorithm(int32_t Value)
Base Solution algorithm: {NormalSolve | NewtonSolve}.
DSS_CAPI_DLL uint16_t CktElement_Get_IsIsolated(void)
Returns true if the current active element is isolated.
DSS_CAPI_DLL void ActiveClass_Get_AllNames(char ***ResultPtr, int32_t *ResultCount)
Array of strings consisting of all element names in the active class.
DSS_CAPI_DLL void Parallel_Set_ActorCPU(int32_t Value)
Sets the CPU for the Active Actor.
DSS_CAPI_DLL void Capacitors_Set_NumSteps(int32_t Value)
Number of steps (default 1) for distributing and switching the total bank kVAR.
DSS_CAPI_DLL void PDElements_Set_RepairTime(double Value)
Average repair time for this element in hours.
DSS_CAPI_DLL double Transformers_Get_R(void)
Active Winding resistance in %.
DSS_CAPI_DLL void ISources_Get_AllNames_GR(void)
Same as ISources_Get_AllNames but using the global buffer interface for results.
DSS_CAPI_DLL void CapControls_Set_MonitoredObj(const char *Value)
Full name of the element that PT and CT are connected to.
DSS_CAPI_DLL void Circuit_Get_AllNodeDistancesByPhase(double **ResultPtr, int32_t *ResultCount, int32_t Phase)
Returns an array of doubles representing the distances to parent EnergyMeter.
DSS_CAPI_DLL void Topology_Get_AllLoopedPairs(char ***ResultPtr, int32_t *ResultCount)
Array of all looped element names, by pairs.
DSS_CAPI_DLL double Meters_Get_SAIFIKW(void)
SAIFI based on kW rather than number of customers.
DSS_CAPI_DLL int32_t Parallel_Get_ActiveActor(void)
Gets the ID of the Active Actor.
DSS_CAPI_DLL int32_t PDElements_Get_Next(void)
Advance to the next PD element in the circuit.
DSS_CAPI_DLL int32_t PVSystems_Get_Next(void)
Sets next PVSystem active; returns 0 if no more.
DSS_CAPI_DLL void Sensors_Get_Currents_GR(void)
Same as Sensors_Get_Currents but using the global buffer interface for results.
DSS_CAPI_DLL double Loads_Get_kwh(void)
kwh billed for this period.
DSS_CAPI_DLL void Circuit_Get_AllBusDistances_GR(void)
Same as Circuit_Get_AllBusDistances but using the global buffer interface for results.
DSS_CAPI_DLL void Solution_Get_IncMatrixRows_GR(void)
Same as Solution_Get_IncMatrixRows but using the global buffer interface for results.
DSS_CAPI_DLL double CapControls_Get_PTratio(void)
Transducer ratio from primary feeder to control voltage.
DSS_CAPI_DLL char * DSS_Executive_Get_CommandHelp(int32_t i)
Get help string for i-th command.
DSS_CAPI_DLL void Solution_Set_Hour(int32_t Value)
Set Hour for time series solutions.
DSS_CAPI_DLL void Circuit_Get_AllBusVmag_GR(void)
Same as Circuit_Get_AllBusVmag but using the global buffer interface for results.
DSS_CAPI_DLL void Fuses_Set_SwitchedTerm(int32_t Value)
Number of the terminal of the controlled element containing the switch controlled by the fuse.
DSS_CAPI_DLL double Solution_Get_GenPF(void)
PF for generators in AutoAdd mode.
DSS_CAPI_DLL double Loads_Get_PctMean(void)
Average percent of nominal load in Monte Carlo studies; only if no loadshape defined for this load.
DSS_CAPI_DLL double Transformers_Get_RdcOhms(void)
dc Resistance of active winding in ohms for GIC analysis
DSS_CAPI_DLL double Bus_Get_N_interrupts(void)
Number of interruptions this bus per year.
DSS_CAPI_DLL int32_t Capacitors_Get_AvailableSteps(void)
Number of Steps available in cap bank to be switched ON.
DSS_CAPI_DLL int32_t Solution_Get_Algorithm(void)
Base Solution algorithm: {NormalSolve | NewtonSolve}.
DSS_CAPI_DLL char * ActiveClass_Get_ActiveClassParent(void)
Use this property (Read only) for getting the name of the parent class' name of the active class.
DSS_CAPI_DLL void Monitors_Get_ByteStream(int8_t **ResultPtr, int32_t *ResultCount)
Byte Array containing monitor stream values.
DSS_CAPI_DLL int32_t PDElements_Get_First(void)
Set the first enabled PD element to be the active element.
DSS_CAPI_DLL void Lines_Set_Rg(double Value)
Earth return resistance value used to compute line impedances at power frequency.
DSS_CAPI_DLL double Loads_Get_Cfactor(void)
Factor relates average to peak kw.
DSS_CAPI_DLL void XYCurves_Set_Xarray(double *ValuePtr, int32_t ValueCount)
Get/Set X values as a Array of doubles.
DSS_CAPI_DLL double RegControls_Get_VoltageLimit(void)
First house voltage limit on PT secondary base.
DSS_CAPI_DLL char * DSS_ExtractSchema(void *ctx)
Functions for the new API.
DSS_CAPI_DLL void Solution_Set_DefaultYearly(const char *Value)
Default Yearly load shape (defaults to "Default")
DSS_CAPI_DLL void DSS_Get_Classes(char ***ResultPtr, int32_t *ResultCount)
List of DSS intrinsic classes (names of the classes)
DSS_CAPI_DLL void XYCurves_Set_Name(const char *Value)
Get Name of active XYCurve Object.
DSS_CAPI_DLL char * GICSources_Get_Name(void)
Specify the name of the GICSource element to set it active.
DSS_CAPI_DLL double GICSources_Get_EE(void)
Eastward E Field, V/km.
DSS_CAPI_DLL uint16_t Settings_Get_ControlTrace(void)
{True | False*} Denotes whether to trace the control actions to a file.
DSS_CAPI_DLL void LineCodes_Get_Xmatrix_GR(void)
Same as LineCodes_Get_Xmatrix but using the global buffer interface for results.
DSS_CAPI_DLL char * Batch_ToJSON(void **batch, int32_t batchSize, int32_t options)
Returns the data (as a list) of the elements in a batch as a JSON-encoded string.
DSS_CAPI_DLL void GICSources_Set_Lon2(double Value)
Longitude of Bus2 (Degrees)
DSS_CAPI_DLL int32_t Reclosers_Get_SwitchedTerm(void)
Terminal number of the controlled device being switched by the Recloser.
DSS_CAPI_DLL char * Settings_Get_AutoBusList(void)
List of Buses or (File=xxxx) syntax for the AutoAdd solution mode.
DSS_CAPI_DLL double Settings_Get_PriceSignal(void)
Price Signal for the Circuit.
DSS_CAPI_DLL void Sensors_Get_AllNames(char ***ResultPtr, int32_t *ResultCount)
Array of Sensor names.
DSS_CAPI_DLL int32_t Sensors_Get_Count(void)
Number of Sensors in Active Circuit.
DSS_CAPI_DLL int32_t Fuses_Get_Next(void)
Advance the active Fuse element pointer to the next fuse.
DSS_CAPI_DLL char * Solution_Get_DefaultYearly(void)
Default Yearly load shape (defaults to "Default")
DSS_CAPI_DLL void Monitors_Get_AllNames(char ***ResultPtr, int32_t *ResultCount)
Array of all Monitor Names.
DSS_CAPI_DLL int32_t Generators_Get_Count(void)
Number of Generator Objects in Active Circuit.
DSS_CAPI_DLL int32_t Capacitors_Get_Count(void)
Number of Capacitor objects in active circuit.
DSS_CAPI_DLL double Lines_Get_X1(void)
Positive Sequence reactance, ohms per unit length.
DSS_CAPI_DLL double CapControls_Get_Vmin(void)
With VoltOverride, switch ON whenever PT voltage drops below this level.
DSS_CAPI_DLL int32_t Solution_Get_MinIterations(void)
Minimum number of iterations required for a power flow solution.
DSS_CAPI_DLL int32_t Loads_Get_NumCust(void)
Number of customers in this load, defaults to one.
DSS_CAPI_DLL int32_t Meters_Get_SectTotalCust(void)
Total Customers downline from this section.
DSS_CAPI_DLL void Fuses_Set_RatedCurrent(double Value)
Multiplier or actual fuse amps for the TCC curve.
DSS_CAPI_DLL char * Parser_Get_Delimiters(void)
String defining hard delimiters used to separate token on the command string.
DSS_CAPI_DLL int32_t Bus_Get_NumNodes(void)
Number of Nodes this bus.
DSS_CAPI_DLL int32_t Storages_Get_Next(void)
Sets next Storage to be active.
DSS_CAPI_DLL double Bus_Get_y(void)
Y coordinate for bus(double)
DSS_CAPI_DLL void Bus_Get_Voltages_GR(void)
Same as Bus_Get_Voltages but using the global buffer interface for results.
DSS_CAPI_DLL double RegControls_Get_ForwardBand(void)
Regulation bandwidth in forward direciton, centered on Vreg.
DSS_CAPI_DLL char * Loads_Get_Yearly(void)
Name of yearly duration loadshape.
DSS_CAPI_DLL double * DSS_GR_DataPtr_PDouble(void)
Functions to get the current GR pointers individually, used in MATLAB.
DSS_CAPI_DLL void CktElement_Get_VoltagesMagAng_GR(void)
Same as CktElement_Get_VoltagesMagAng but using the global buffer interface for results.
DSS_CAPI_DLL void Fuses_Get_AllNames_GR(void)
Same as Fuses_Get_AllNames but using the global buffer interface for results.
DSS_CAPI_DLL char * PVSystems_Get_Tduty(void)
Temperature shape to use for duty cycle dispatch simulations such as for solar ramp rate studies.
DSS_CAPI_DLL void Circuit_Get_AllNodeNames(char ***ResultPtr, int32_t *ResultCount)
Array of strings containing full name of each node in system in same order as returned by AllBusVolts...
DSS_CAPI_DLL char * Generators_Get_daily(void)
Name of the loadshape for a daily generation profile.
DSS_CAPI_DLL char * DSSElement_Get_Name(void)
Full Name of Active DSS Object (general element or circuit element).
DSS_CAPI_DLL void CapControls_Set_Capacitor(const char *Value)
Name of the Capacitor that is controlled.
DSS_CAPI_DLL int32_t XYCurves_Get_Npts(void)
Get/Set Number of points in X-Y curve.
DSS_CAPI_DLL double Loads_Get_kva(void)
Base load kva.
DSS_CAPI_DLL void Transformers_Set_Xht(double Value)
Percent reactance between windigns 1 and 3, on winding 1 kVA base.
DSS_CAPI_DLL double CapControls_Get_CTratio(void)
Transducer ratio from pirmary current to control current.
DSS_CAPI_DLL int32_t Lines_Get_Count(void)
Number of Line objects in Active Circuit.
DSS_CAPI_DLL void Monitors_Get_Header(char ***ResultPtr, int32_t *ResultCount)
Header string; Array of strings containing Channel names.
DSS_CAPI_DLL void Bus_Get_Zsc0(double **ResultPtr, int32_t *ResultCount)
Complex Zero-Sequence short circuit impedance at bus.
DSS_CAPI_DLL void Parser_Set_CmdString(const char *Value)
String to be parsed.
DSS_CAPI_DLL void Transformers_Set_XfmrCode(const char *Value)
Name of an XfrmCode that supplies electircal parameters for this Transformer.
DSS_CAPI_DLL double Loads_Get_kV(void)
Set kV rating for active Load.
DSS_CAPI_DLL void Solution_Set_Capkvar(double Value)
Capacitor kvar for adding capacitors in AutoAdd mode.
DSS_CAPI_DLL void Lines_Set_Spacing(const char *Value)
Line spacing code.
DSS_CAPI_DLL double XYCurves_Get_Yshift(void)
amount to shift Y valiue from original curve
DSS_CAPI_DLL void Reclosers_Set_State(int32_t Value)
Get/Set present state of recloser.
DSS_CAPI_DLL int32_t Generators_Get_Class_(void)
An arbitrary integer number representing the class of Generator so that Generator values may be segre...
DSS_CAPI_DLL int32_t SwtControls_Get_NormalState(void)
Normal state of switch (see ActionCodes) ActionOpen or ActionClose.
DSS_CAPI_DLL char * Storages_Get_Name(void)
Gets the name of the current active Storage object.
DSS_CAPI_DLL void LoadShapes_Get_Qmult(double **ResultPtr, int32_t *ResultCount)
Array of doubles containing the Q multipliers.
DSS_CAPI_DLL char * DSS_Get_Version(void)
Get version string for the DSS.
DSS_CAPI_DLL char * Parser_Get_CmdString(void)
String to be parsed.
DSS_CAPI_DLL void Lines_Get_Rmatrix(double **ResultPtr, int32_t *ResultCount)
Resistance matrix (full), ohms per unit length.
DSS_CAPI_DLL void Solution_Set_Random(int32_t Random)
Randomization mode for random variables "Gaussian", "Uniform" or "LogNormal".
DSS_CAPI_DLL int32_t Solution_Get_MaxIterations(void)
Max allowable iterations.
DSS_CAPI_DLL void Solution_Set_StepSize(double Value)
Time step size in sec.
DSS_CAPI_DLL void Bus_Get_Nodes_GR(void)
Same as Bus_Get_Nodes but using the global buffer interface for results.
DSS_CAPI_DLL void DSS_Get_Classes_GR(void)
Same as DSS_Get_Classes but using the global buffer interface for results.
DSS_CAPI_DLL double Reclosers_Get_PhaseTrip(void)
Phase trip curve multiplier or actual amps.
DSS_CAPI_DLL void Monitors_Get_AllNames_GR(void)
Same as Monitors_Get_AllNames but using the global buffer interface for results.
DSS_CAPI_DLL void Meters_Get_AllBranchesInZone_GR(void)
Same as Meters_Get_AllBranchesInZone but using the global buffer interface for results.
DSS_CAPI_DLL char * ReduceCkt_Get_StartPDElement(void)
Start element for Remove Branch function.
DSS_CAPI_DLL double LineCodes_Get_C1(void)
Positive-sequence capacitance, nF per unit length.
DSS_CAPI_DLL void Reclosers_Set_idx(int32_t Value)
Get/Set the Active Recloser by index into the recloser list.
DSS_CAPI_DLL int32_t CtrlQueue_Get_PopAction(void)
Pops next action off the action list and makes it the active action.
DSS_CAPI_DLL void Bus_Get_puVLL_GR(void)
Same as Bus_Get_puVLL but using the global buffer interface for results.
DSS_CAPI_DLL double Vsources_Get_pu(void)
Source pu voltage.
DSS_CAPI_DLL int32_t Meters_Get_First(void)
Set the first energy Meter active.
DSS_CAPI_DLL void Bus_Get_Zsc1_GR(void)
Same as Bus_Get_Zsc1 but using the global buffer interface for results.
DSS_CAPI_DLL double PDElements_Get_Lambda(void)
Failure rate for this branch.
DSS_CAPI_DLL double PDElements_Get_RepairTime(void)
Average repair time for this element in hours.
DSS_CAPI_DLL double Generators_Get_Vminpu(void)
Vminpu for Generator model.
DSS_CAPI_DLL void Meters_Get_AllNames_GR(void)
Same as Meters_Get_AllNames but using the global buffer interface for results.
DSS_CAPI_DLL void PVSystems_Set_Irradiance(double Value)
Set the present Irradiance value in kW/sq-m.
DSS_CAPI_DLL int32_t DSSElement_Get_NumProperties(void)
Number of Properties for the active DSS object.
DSS_CAPI_DLL void Transformers_Set_kVA(double Value)
Active Winding kVA rating.
DSS_CAPI_DLL void XYCurves_Set_y(double Value)
Set Y value or get interpolated Y value after setting X.
DSS_CAPI_DLL int32_t LoadShapes_Get_Npts(void)
Get Number of points in active Loadshape.
DSS_CAPI_DLL double CktElement_Get_NormalAmps(void)
Normal ampere rating for PD Elements.
DSS_CAPI_DLL double RegControls_Get_ReverseR(void)
Reverse LDC R setting in Volts.
DSS_CAPI_DLL void CmathLib_Get_pdegtocomplex(double **ResultPtr, int32_t *ResultCount, double magnitude, double angle)
Convert magnitude, angle in degrees to a complex number.
DSS_CAPI_DLL double Solution_Get_Capkvar(void)
Capacitor kvar for adding capacitors in AutoAdd mode.
DSS_CAPI_DLL void CmathLib_Get_cmul(double **ResultPtr, int32_t *ResultCount, double a1, double b1, double a2, double b2)
Multiply two complex numbers: (a1, b1) * (a2, b2).
DSS_CAPI_DLL double CktElement_Get_Variable(const char *MyVarName, int32_t *Code)
For PCElement, set/get the value of a variable by name.
DSS_CAPI_DLL void Fuses_Set_idx(int32_t Value)
Set Fuse active by index into the list of fuses.
DSS_CAPI_DLL int32_t Generators_Get_Status(void)
Response to dispatch multipliers: Fixed=1 (dispatch multipliers do not apply), Variable=0 (follows cu...
DSS_CAPI_DLL void Settings_Set_EmergVminpu(double Value)
Per Unit minimum voltage for Emergency conditions.
DSS_CAPI_DLL void Solution_Set_MinIterations(int32_t Value)
Mininum number of iterations required for a power flow solution.
DSS_CAPI_DLL void RegControls_Set_ReverseX(double Value)
Reverse LDC X setting in volts.
DSS_CAPI_DLL int32_t PDElements_Get_Numcustomers(void)
Number of customers, this branch.
DSS_CAPI_DLL void Settings_Set_LossRegs(int32_t *ValuePtr, int32_t ValueCount)
Integer array defining which energy meter registers to use for computing losses.
DSS_CAPI_DLL void PVSystems_Get_RegisterValues(double **ResultPtr, int32_t *ResultCount)
Array of doubles containing values in PVSystem registers.
DSS_CAPI_DLL int32_t Lines_Get_TotalCust(void)
Total Number of customers served from this line section.
DSS_CAPI_DLL double Transformers_Get_kV(void)
Active Winding kV rating.
DSS_CAPI_DLL int32_t Parser_Get_IntValue(void)
Return next parameter as a long integer.
DSS_CAPI_DLL void LoadShapes_Set_MaxP(double Value)
kW value at the time of max power.
DSS_CAPI_DLL double Generators_Get_Vmaxpu(void)
vmaxpu for Generator model
DSS_CAPI_DLL void Lines_Set_R0(double Value)
Zero Sequence resistance, ohms per unit length.
DSS_CAPI_DLL char * Parser_Get_StrValue(void)
Return next parameter as a string.
DSS_CAPI_DLL int32_t Parallel_Get_ActorCPU(void)
Gets the CPU of the Active Actor.
DSS_CAPI_DLL uint16_t CktElement_Get_HasVoltControl(void)
This element has a CapControl or RegControl attached.
DSS_CAPI_DLL void PDElements_Get_AllCplxSeqCurrents_GR(void)
Same as PDElements_Get_AllCplxSeqCurrents but using the global buffer interface for results.
DSS_CAPI_DLL void CktElement_Get_SeqVoltages_GR(void)
Same as CktElement_Get_SeqVoltages but using the global buffer interface for results.
DSS_CAPI_DLL void Parser_Get_SymMatrix(double **ResultPtr, int32_t *ResultCount, int32_t ExpectedOrder)
Use this property to parse a matrix token specified in lower triangle form.
DSS_CAPI_DLL int32_t Loads_Get_Next(void)
Sets next Load element to be active; returns 0 of none else index of active load.
DSS_CAPI_DLL char * CktElement_Get_EnergyMeter(void)
Name of the Energy Meter this element is assigned to.
DSS_CAPI_DLL char * CktElement_Get_DisplayName(void)
Display name of the object (not necessarily unique)
DSS_CAPI_DLL void Lines_Get_Yprim_GR(void)
Same as Lines_Get_Yprim but using the global buffer interface for results.
DSS_CAPI_DLL int32_t Meters_Get_OCPDeviceType(void)
Type of OCP device.
DSS_CAPI_DLL void CmathLib_Get_cmul_GR(double a1, double b1, double a2, double b2)
Same as CmathLib_Get_cmul but using the global buffer interface for results.
DSS_CAPI_DLL void Generators_Set_idx(int32_t Value)
Get/Set active Generator by index into generators list.
DSS_CAPI_DLL double RegControls_Get_PTratio(void)
PT ratio for voltage control settings.
DSS_CAPI_DLL void Transformers_Get_WdgVoltages(double **ResultPtr, int32_t *ResultCount)
Complex array of voltages for active winding.
DSS_CAPI_DLL char * Meters_Get_Name(void)
Get/Set the active meter name.
DSS_CAPI_DLL void Circuit_Get_YCurrents_GR(void)
Same as Circuit_Get_YCurrents but using the global buffer interface for results.
DSS_CAPI_DLL void Relays_Open(void)
Open relay's controlled element and lock out the relay.
DSS_CAPI_DLL double LoadShapes_Get_MaxQ(void)
kvar value at the time of max kW power.
DSS_CAPI_DLL void ActiveClass_Get_AllNames_GR(void)
Same as ActiveClass_Get_AllNames but using the global buffer interface for results.
DSS_CAPI_DLL void Bus_Get_ZSC012Matrix_GR(void)
Same as Bus_Get_ZSC012Matrix but using the global buffer interface for results.
DSS_CAPI_DLL void Storages_Set_Name(const char *Value)
Sets a Storage active by name.
DSS_CAPI_DLL double CapControls_Get_OFFSetting(void)
Threshold to switch off a step.
DSS_CAPI_DLL void SwtControls_Get_AllNames(char ***ResultPtr, int32_t *ResultCount)
Array of strings with all SwtControl names in the active circuit.
DSS_CAPI_DLL int32_t Storages_Get_idx(void)
Get/Set active Storage by index into Storages list.
DSS_CAPI_DLL double GICSources_Get_Lat1(void)
Latitude of Bus1 (degrees)
DSS_CAPI_DLL void Settings_Set_LossWeight(double Value)
Weighting factor applied to Loss register values.
DSS_CAPI_DLL void CmathLib_Get_ctopolardeg(double **ResultPtr, int32_t *ResultCount, double RealPart, double ImagPart)
Convert complex number to magnitude and angle, degrees.
DSS_CAPI_DLL void Circuit_Get_AllElementLosses(double **ResultPtr, int32_t *ResultCount)
Array of total losses (complex) in each circuit element.
DSS_CAPI_DLL void PDElements_Get_AllSeqPowers(double **ResultPtr, int32_t *ResultCount)
Double array of sequence powers into each 3-phase teminal, for each PD element.
DSS_CAPI_DLL void Parser_Get_Matrix_GR(int32_t ExpectedOrder)
Same as Parser_Get_Matrix but using the global buffer interface for results.
DSS_CAPI_DLL int32_t Bus_Get_N_Customers(void)
Total numbers of customers served downline from this bus.
DSS_CAPI_DLL int32_t LineCodes_Get_Count(void)
Number of LineCodes.
DSS_CAPI_DLL void Transformers_Set_Xneut(double Value)
Active Winding neutral reactance [ohms] for wye connections.
DSS_CAPI_DLL char * GICSources_Get_Bus1(void)
First bus name of GICSource (Created name)
DSS_CAPI_DLL double Loads_Get_kW(void)
Set kW for active Load.
DSS_CAPI_DLL void RegControls_Set_VoltageLimit(double Value)
First house voltage limit on PT secondary base.
DSS_CAPI_DLL void PVSystems_Set_idx(int32_t Value)
Get/Set Active PVSystem by index: 1.
DSS_CAPI_DLL void Circuit_Get_TotalPower_GR(void)
Same as Circuit_Get_TotalPower but using the global buffer interface for results.
DSS_CAPI_DLL void Monitors_Get_Channel(double **ResultPtr, int32_t *ResultCount, int32_t Index)
Array of doubles for the specified channel (usage: MyArray = DSSMonitor.Channel(i)) A Save or SaveAll...
DSS_CAPI_DLL void PDElements_Get_AllMaxCurrents(double **ResultPtr, int32_t *ResultCount, uint16_t AllNodes)
Array of doubles with the maximum current across the conductors, for each PD element.
DSS_CAPI_DLL void PVSystems_Get_RegisterNames_GR(void)
Same as PVSystems_Get_RegisterNames but using the global buffer interface for results.
DSS_CAPI_DLL void XYCurves_Get_Xarray(double **ResultPtr, int32_t *ResultCount)
Get/Set X values as a Array of doubles.
DSS_CAPI_DLL void SwtControls_Set_Delay(double Value)
Time delay [s] betwen arming and opening or closing the switch.
DSS_CAPI_DLL double GICSources_Get_Lon2(void)
Longitude of Bus2 (Degrees)
DSS_CAPI_DLL void Transformers_Get_AllLossesByType_GR(void)
Same as Transformers_Get_AllLossesByType but using the global buffer interface for results.
DSS_CAPI_DLL void Lines_Set_LineCode(const char *Value)
Name of LineCode object that defines the impedances.
DSS_CAPI_DLL void Solution_Set_dblHour(double Value)
Hour as a double, including fractional part.
DSS_CAPI_DLL int32_t Reclosers_Get_Next(void)
Iterate to the next recloser in the circuit.
DSS_CAPI_DLL int32_t CktElement_Get_NumTerminals(void)
Number of Terminals this Circuit Element.
DSS_CAPI_DLL void DSS_SetPropertiesMO(const char *Value)
Loads the gettext MO file from the path indicated by Value, to be used for help of DSS properties.
DSS_CAPI_DLL int32_t Transformers_Get_Next(void)
Sets the next Transformer active.
DSS_CAPI_DLL void Storages_Set_idx(int32_t Value)
Get/Set active Storage by index into Storages list.
DSS_CAPI_DLL void GICSources_Get_AllNames(char ***ResultPtr, int32_t *ResultCount)
Names of all GICSource Objects.
DSS_CAPI_DLL char * PVSystems_Get_Tdaily(void)
Temperature shape to use for daily simulations.
DSS_CAPI_DLL double Solution_Get_IntervalHrs(void)
Get/Set the Solution.IntervalHrs variable used for devices that integrate.
DSS_CAPI_DLL int32_t CtrlQueue_Get_NumActions(void)
Number of Actions on the current actionlist (that have been popped off the control queue by CheckCont...
DSS_CAPI_DLL void CktElement_Get_NodeRef_GR(void)
Same as CktElement_Get_NodeRef but using the global buffer interface for results.
DSS_CAPI_DLL void Generators_Set_ForcedON(uint16_t Value)
Indicates whether the generator is forced ON regardles of other dispatch criteria.
DSS_CAPI_DLL void Settings_Set_AutoBusList(const char *Value)
List of Buses or (File=xxxx) syntax for the AutoAdd solution mode.
DSS_CAPI_DLL int32_t RegControls_Get_TapWinding(void)
Tapped winding number.
DSS_CAPI_DLL void DSS_Get_UserClasses(char ***ResultPtr, int32_t *ResultCount)
List of user-defined classes.
DSS_CAPI_DLL void Settings_Set_NormVminpu(double Value)
Per Unit minimum voltage for Normal conditions.
DSS_CAPI_DLL int32_t Monitors_Get_Mode(void)
Set Monitor mode (bitmask integer - see DSS Help)
DSS_CAPI_DLL void Parallel_Get_ActorProgress(int32_t **ResultPtr, int32_t *ResultCount)
Gets the progress of all existing actors in pct.
DSS_CAPI_DLL void Solution_Set_LDCurve(const char *Value)
Load-Duration Curve name for LD modes.
DSS_CAPI_DLL char * Generators_Get_Name(void)
Sets a generator active by name.
DSS_CAPI_DLL void CktElement_Get_CplxSeqVoltages(double **ResultPtr, int32_t *ResultCount)
Complex double array of Sequence Voltage for all terminals of active circuit element.
DSS_CAPI_DLL int32_t Transformers_Get_NumWindings(void)
Number of windings on this transformer.
DSS_CAPI_DLL char * ActiveClass_Get_ActiveClassName(void)
Returns name of active class.
DSS_CAPI_DLL void DSSProgress_Set_PctProgress(int32_t Value)
Percent progress to indicate [0..100].
DSS_CAPI_DLL int32_t Vsources_Get_Phases(void)
Number of Phases.
DSS_CAPI_DLL void Lines_Set_EmergAmps(double Value)
Emergency (maximum) ampere rating of Line.
DSS_CAPI_DLL int32_t PDElements_Get_ParentPDElement(void)
Sets the parent PD element to be the active circuit element.
DSS_CAPI_DLL double Generators_Get_kV(void)
Voltage base for the active generator, kV.
DSS_CAPI_DLL double Loads_Get_CVRvars(void)
Percent reduction in Q for percent reduction in V.
DSS_CAPI_DLL void Transformers_Get_WdgVoltages_GR(void)
Same as Transformers_Get_WdgVoltages but using the global buffer interface for results.
DSS_CAPI_DLL void Bus_Get_Zsc1(double **ResultPtr, int32_t *ResultCount)
Complex Positive-Sequence short circuit impedance at bus.
DSS_CAPI_DLL void CktElement_Get_AllPropertyNames(char ***ResultPtr, int32_t *ResultCount)
Array containing all property names of the active device.
DSS_CAPI_DLL void Circuit_Get_YNodeOrder_GR(void)
Same as Circuit_Get_YNodeOrder but using the global buffer interface for results.
DSS_CAPI_DLL int32_t GICSources_Get_First(void)
Invoking this property sets the first element active.
DSS_CAPI_DLL void Solution_Set_StepsizeMin(double Value)
Set Stepsize in minutes.
DSS_CAPI_DLL double Loads_Get_Vminpu(void)
Minimum voltage to apply the load model.
DSS_CAPI_DLL void SwtControls_Set_Name(const char *Value)
Sets a SwtControl active by Name.
DSS_CAPI_DLL int32_t Parallel_Get_NumCores(void)
Delivers the number of Cores of the local PC.
DSS_CAPI_DLL int32_t Solution_Get_Hour(void)
Set Hour for time series solutions.
DSS_CAPI_DLL char * Relays_Get_SwitchedObj(void)
Full name of element that will be switched when relay trips.
DSS_CAPI_DLL void PDElements_Get_AllNumTerminals_GR(void)
Same as PDElements_Get_AllNumTerminals but using the global buffer interface for results.
DSS_CAPI_DLL int32_t Solution_Get_ControlIterations(void)
Value of the control iteration counter.
DSS_CAPI_DLL char * Sensors_Get_MeteredElement(void)
Full Name of the measured element.
DSS_CAPI_DLL int32_t Monitors_Get_Next(void)
Sets next monitor active.
DSS_CAPI_DLL void Bus_Get_VMagAngle(double **ResultPtr, int32_t *ResultCount)
Array of doubles containing voltages in Magnitude (VLN), angle (deg)
DSS_CAPI_DLL void Bus_Get_Isc_GR(void)
Same as Bus_Get_Isc but using the global buffer interface for results.
DSS_CAPI_DLL void Bus_Get_ZscMatrix_GR(void)
Same as Bus_Get_ZscMatrix but using the global buffer interface for results.
DSS_CAPI_DLL double XYCurves_Get_y(void)
Y value for present X or set this value then get corresponding X.
DSS_CAPI_DLL int32_t Bus_Get_Next(void)
Set the next bus as active.
DSS_CAPI_DLL void CapControls_Set_CTratio(double Value)
Transducer ratio from pirmary current to control current.
DSS_CAPI_DLL double RegControls_Get_ReverseX(void)
Reverse LDC X setting in volts.
DSS_CAPI_DLL void Circuit_Get_LineLosses(double **ResultPtr, int32_t *ResultCount)
Complex total line losses in the circuit.
DSS_CAPI_DLL void CktElement_Get_Losses(double **ResultPtr, int32_t *ResultCount)
Total losses in the element: two-element complex array, in VA.
DSS_CAPI_DLL double Lines_Get_R0(void)
Zero Sequence resistance, ohms per unit length.
DSS_CAPI_DLL void Parser_Get_SymMatrix_GR(int32_t ExpectedOrder)
Same as Parser_Get_SymMatrix but using the global buffer interface for results.
DSS_CAPI_DLL void Reclosers_Reset(void)
Reset recloser to normal state.
DSS_CAPI_DLL double Vsources_Get_BasekV(void)
Source Voltage in kV.
DSS_CAPI_DLL void PDElements_Get_AllNames(char ***ResultPtr, int32_t *ResultCount)
Array of strings consisting of all PD element names.
DSS_CAPI_DLL void Meters_Set_MeteredTerminal(int32_t Value)
set Number of Metered Terminal
DSS_CAPI_DLL void LoadShapes_Set_Pmult(double *ValuePtr, int32_t ValueCount)
Array of doubles containing the P array for the Loadshape.
DSS_CAPI_DLL void RegControls_Set_TapNumber(int32_t Value)
Integer number of the tap that the controlled transformer winding is currentliy on.
DSS_CAPI_DLL uint16_t YMatrix_CheckConvergence(void)
Update and return the convergence flag.
DSS_CAPI_DLL int32_t Lines_Get_NumCust(void)
Number of customers on this line section.
DSS_CAPI_DLL void Parallel_Get_ActorStatus(int32_t **ResultPtr, int32_t *ResultCount)
Gets the status of each actor.
DSS_CAPI_DLL void SwtControls_Set_IsLocked(uint16_t Value)
The lock prevents both manual and automatic switch operation.
DSS_CAPI_DLL int32_t Topology_Get_NumIsolatedBranches(void)
Number of isolated branches (PD elements and capacitors).
DSS_CAPI_DLL void Sensors_Get_kVS_GR(void)
Same as Sensors_Get_kVS but using the global buffer interface for results.
DSS_CAPI_DLL void ISources_Set_Amps(double Value)
Set the magnitude of the ISOURCE, amps.
DSS_CAPI_DLL double CapControls_Get_ONSetting(void)
Threshold to arm or switch on a step.
DSS_CAPI_DLL double Generators_Get_kW(void)
kW output for the active generator.
DSS_CAPI_DLL void Fuses_Set_State(const char **ValuePtr, int32_t ValueCount)
Array of strings ('open' or 'closed') indicating the state of each phase of the fuse.
DSS_CAPI_DLL void Relays_Reset(void)
Reset relay to normal state.
DSS_CAPI_DLL char * Generators_Get_Bus1(void)
Bus to which the Generator is connected.
DSS_CAPI_DLL int32_t Meters_Get_SectSeqIdx(void)
SequenceIndex of the branch at the head of this section.
DSS_CAPI_DLL char * SwtControls_Get_Name(void)
Sets a SwtControl active by Name.
DSS_CAPI_DLL void CktElement_Get_VoltagesMagAng(double **ResultPtr, int32_t *ResultCount)
Voltages at each conductor in magnitude, angle form as array of doubles.
DSS_CAPI_DLL void Lines_Set_Bus1(const char *Value)
Name of bus for terminal 1.
DSS_CAPI_DLL double Lines_Get_SeasonRating(void)
Delivers the rating for the current season (in Amps) if the "SeasonalRatings" option is active.
DSS_CAPI_DLL void CktElement_Get_Currents_GR(void)
Same as CktElement_Get_Currents but using the global buffer interface for results.
DSS_CAPI_DLL void Bus_Get_Nodes(int32_t **ResultPtr, int32_t *ResultCount)
Integer Array of Node Numbers defined at the bus in same order as the voltages.
DSS_CAPI_DLL uint16_t Solution_Get_Converged(void)
Flag to indicate whether the circuit solution converged.
DSS_CAPI_DLL void XYCurves_Set_Yscale(double Value)
Amount to scale Y values from original curve.
DSS_CAPI_DLL uint16_t CktElement_Get_Enabled(void)
Boolean indicating that element is currently in the circuit.
DSS_CAPI_DLL int32_t RegControls_Get_MaxTapChange(void)
Maximum tap change per iteration in STATIC solution mode.
DSS_CAPI_DLL double LoadShapes_Get_MaxP(void)
kW value at the time of max power.
DSS_CAPI_DLL void GICSources_Set_Phases(int32_t Value)
Number of Phases, this GICSource element.
DSS_CAPI_DLL void Vsources_Get_AllNames(char ***ResultPtr, int32_t *ResultCount)
Names of all Vsource objects in the circuit.
DSS_CAPI_DLL int32_t Meters_Get_Count(void)
Number of Energy Meters in the Active Circuit.
DSS_CAPI_DLL uint16_t CapControls_Get_UseVoltOverride(void)
Enables Vmin and Vmax to override the control Mode.
DSS_CAPI_DLL char * Obj_GetName(void *obj)
Returns the object name (direct access, no copy is done, no disposal required by the user; read only!...
DSS_CAPI_DLL void ZIP_List(char ***ResultPtr, int32_t *ResultCount, const char *RegExp)
List of strings consisting of all names match the regular expression provided in regexp.
DSS_CAPI_DLL char * PVSystems_Get_duty(void)
Name of the load shape to use for duty cycle dispatch simulations such as for solar ramp rate studies...
DSS_CAPI_DLL void Reclosers_Get_RecloseIntervals(double **ResultPtr, int32_t *ResultCount)
Array of Doubles: reclose intervals, s, between shots.
DSS_CAPI_DLL void ISources_Set_Frequency(double Value)
Set the present frequency for the ISOURCE.
DSS_CAPI_DLL void Solution_Set_Year(int32_t Value)
Set year for planning studies.
DSS_CAPI_DLL void RegControls_Set_Transformer(const char *Value)
Name of the transformer this regulator controls.
DSS_CAPI_DLL void CapControls_Set_PTratio(double Value)
Transducer ratio from primary feeder to control voltage.
DSS_CAPI_DLL void Bus_Get_LineList(char ***ResultPtr, int32_t *ResultCount)
Array of strings: Full Names of LINE elements connected to the active bus.
DSS_CAPI_DLL int32_t CtrlQueue_Get_DeviceHandle(void)
Handle (User defined) to device that must act on the pending action.
DSS_CAPI_DLL void Solution_Set_ControlIterations(int32_t Value)
Value of the control iteration counter.
DSS_CAPI_DLL int32_t Relays_Get_idx(void)
Get/Set active Relay by index into the Relay list.
DSS_CAPI_DLL void PDElements_Get_AllSeqCurrents_GR(void)
Same as PDElements_Get_AllSeqCurrents but using the global buffer interface for results.
DSS_CAPI_DLL int32_t Reclosers_Get_Count(void)
Number of Reclosers in active circuit.
DSS_CAPI_DLL void LineCodes_Get_Rmatrix_GR(void)
Same as LineCodes_Get_Rmatrix but using the global buffer interface for results.
DSS_CAPI_DLL double RegControls_Get_ReverseVreg(void)
Target voltage in the revese direction, on PT secondary base.
DSS_CAPI_DLL void Bus_Get_AllPCEatBus(char ***ResultPtr, int32_t *ResultCount)
Returns an array with the names of all PCE connected to the active bus
DSS_CAPI_DLL uint16_t Generators_Get_ForcedON(void)
Indicates whether the generator is forced ON regardles of other dispatch criteria.
DSS_CAPI_DLL void LoadShapes_Get_Pmult(double **ResultPtr, int32_t *ResultCount)
Array of Doubles for the P multiplier in the Loadshape.
DSS_CAPI_DLL void Meters_Set_AllocFactors(double *ValuePtr, int32_t ValueCount)
Array of doubles: set the phase allocation factors for the active meter.
DSS_CAPI_DLL int32_t Monitors_Get_First(void)
Sets the first Monitor active.
DSS_CAPI_DLL int32_t Topology_Get_Next(void)
Sets the next branch active, returns 0 if no more.
DSS_CAPI_DLL void CapControls_Get_AllNames_GR(void)
Same as CapControls_Get_AllNames but using the global buffer interface for results.
DSS_CAPI_DLL void Sensors_Get_kWS(double **ResultPtr, int32_t *ResultCount)
Array of doubles for P measurements.
DSS_CAPI_DLL void Storages_Set_puSOC(double Value)
Per unit state of charge.
DSS_CAPI_DLL double Solution_Get_Frequency(void)
Set the Frequency for next solution.
DSS_CAPI_DLL void Lines_Set_Xg(double Value)
Earth return reactance value used to compute line impedances at power frequency.
DSS_CAPI_DLL double Transformers_Get_MinTap(void)
Active Winding minimum tap in per-unit.
DSS_CAPI_DLL void ISources_Get_AllNames(char ***ResultPtr, int32_t *ResultCount)
Array of strings containing names of all ISOURCE elements.
DSS_CAPI_DLL void RegControls_Set_TapWinding(int32_t Value)
Tapped winding number.
DSS_CAPI_DLL void Reclosers_Close(void)
Close the switched object controlled by the recloser.
DSS_CAPI_DLL void Capacitors_Get_States(int32_t **ResultPtr, int32_t *ResultCount)
A array of integer [0..numsteps-1] indicating state of each step.
DSS_CAPI_DLL void Circuit_Get_AllNodeNamesByPhase(char ***ResultPtr, int32_t *ResultCount, int32_t Phase)
Return array of strings of the node names for the By Phase criteria.
DSS_CAPI_DLL void DSSimComs_BusVoltage_GR(size_t Index)
Same as DSSimComs_BusVoltage but using the global buffer interface for results.
DSS_CAPI_DLL void Lines_Set_Yprim(double *ValuePtr, int32_t ValueCount)
Yprimitive: Does Nothing at present on Put; Dangerous.
DSS_CAPI_DLL double RegControls_Get_ReverseBand(void)
Bandwidth in reverse direction, centered on reverse Vreg.
DSS_CAPI_DLL void CktElement_Set_BusNames(const char **ValuePtr, int32_t ValueCount)
Array of strings.
DSS_CAPI_DLL double Loads_Get_PF(void)
Set Power Factor for Active Load.
DSS_CAPI_DLL void Transformers_Set_Name(const char *Value)
Sets a Transformer active by Name.
DSS_CAPI_DLL void Circuit_Get_AllElementNames_GR(void)
Same as Circuit_Get_AllElementNames but using the global buffer interface for results.
DSS_CAPI_DLL char * ISources_Get_Name(void)
Get name of active ISOURCE.
DSS_CAPI_DLL double RegControls_Get_ForwardVreg(void)
Target voltage in the forward direction, on PT secondary base.
DSS_CAPI_DLL char * Monitors_Get_Name(void)
Sets the active Monitor object by name.
DSS_CAPI_DLL void Settings_Set_VoltageBases(double *ValuePtr, int32_t ValueCount)
Array of doubles defining the legal voltage bases in kV L-L.
DSS_CAPI_DLL void Solution_Set_Total_Time(double Value)
Sets the Accumulated time of the simulation.
DSS_CAPI_DLL void Meters_Get_AllEndElements_GR(void)
Same as Meters_Get_AllEndElements but using the global buffer interface for results.
DSS_CAPI_DLL int32_t Storages_Get_State(void)
Get/set state: 0=Idling; 1=Discharging; -1=Charging;.
ControlModes
Definition: dss_capi.h:80
@ ControlModes_Event
Control Mode Option - Event driven solution mode.
Definition: dss_capi.h:82
@ ControlModes_Static
Solution_[Get/Set]_ControlMode.
Definition: dss_capi.h:81
@ ControlModes_ControlOff
Control Mode OFF.
Definition: dss_capi.h:85
@ ControlModes_Time
Control mode option - Time driven mode.
Definition: dss_capi.h:83
@ ControlModes_Multirate
Control mode option - Multirate mode.
Definition: dss_capi.h:84
DSS_CAPI_DLL void Vsources_Set_BasekV(double Value)
Source voltage in kV.
DSS_CAPI_DLL void Meters_Get_ZonePCE(char ***ResultPtr, int32_t *ResultCount)
Returns the list of all PCE within the area covered by the energy meter.
DSS_CAPI_DLL double Bus_Get_x(void)
X Coordinate for bus (double)
DSS_CAPI_DLL void Reclosers_Set_GroundInst(double Value)
Ground (3I0) trip instantaneous multiplier or actual amps.
DSS_CAPI_DLL int32_t Solution_Get_Iterations(void)
Number of iterations taken for last solution.
DSS_CAPI_DLL uint16_t RegControls_Get_IsInverseTime(void)
Time delay is inversely adjusted, proportional to the amount of voltage outside the regulating band.
DSS_CAPI_DLL int32_t Topology_Get_First(void)
Sets the first branch active, returns 0 if none.
DSS_CAPI_DLL void Reclosers_Set_PhaseTrip(double Value)
Phase Trip multiplier or actual amps.
DSS_CAPI_DLL void LineCodes_Get_Cmatrix(double **ResultPtr, int32_t *ResultCount)
Capacitance matrix, nF per unit length.
DSS_CAPI_DLL int32_t * Obj_GetPropSeqPtr(void *obj)
Returns the pointer to the internal property fill sequence.
DSS_CAPI_DLL void Transformers_Set_R(double Value)
Active Winding resistance in %.
DSS_CAPI_DLL void ReduceCkt_DoShortLines(void)
Do ShortLines algorithm: Set Zmag first if you don't want the default.
DSS_CAPI_DLL char * DSS_Executive_Get_OptionHelp(int32_t i)
Get help string for i-th option.
DSS_CAPI_DLL void Circuit_Get_AllNodeNamesByPhase_GR(int32_t Phase)
Same as Circuit_Get_AllNodeNamesByPhase but using the global buffer interface for results.
DSS_CAPI_DLL char * Vsources_Get_Name(void)
Get Active VSOURCE name.
DSS_CAPI_DLL void Vsources_Set_Phases(int32_t Value)
Number of phases.
DSS_CAPI_DLL void Sensors_Get_AllocationFactor(double **ResultPtr, int32_t *ResultCount)
Array of doubles for the allocation factors for each phase.
DSS_CAPI_DLL int32_t PVSystems_Get_First(void)
Set first PVSystem active; returns 0 if none.
DSS_CAPI_DLL void RegControls_Set_IsInverseTime(uint16_t Value)
Time delay is inversely adjusted, proportional to the amount of voltage outside the regulating band.
DSS_CAPI_DLL char * ReduceCkt_Get_EnergyMeter(void)
Name of Energymeter to use for reduction.
DSS_CAPI_DLL double Fuses_Get_RatedCurrent(void)
Multiplier or actual amps for the TCCcurve object.
DSS_CAPI_DLL int32_t Topology_Get_NumLoops(void)
Number of loops.
DSS_CAPI_DLL int32_t CapControls_Get_Mode(void)
Type of automatic controller.
DSS_CAPI_DLL int32_t Reclosers_Get_NumFast(void)
Number of fast shots.
DSS_CAPI_DLL double ISources_Get_Amps(void)
Get the magnitude of the ISOURCE in amps.
DSS_CAPI_DLL void Monitors_Get_dblHour(double **ResultPtr, int32_t *ResultCount)
Array of doubles containgin time value in hours for time-sampled monitor values; Empty if frequency-s...
DSS_CAPI_DLL void Circuit_Get_ElementLosses(double **ResultPtr, int32_t *ResultCount, int32_t *ElementsPtr, int32_t ElementsCount)
Array of total losses (complex) in a selection of elements.
DSS_CAPI_DLL void Reclosers_Get_AllNames(char ***ResultPtr, int32_t *ResultCount)
Array of strings with names of all Reclosers in Active Circuit.
DSS_CAPI_DLL uint16_t LineCodes_Get_IsZ1Z0(void)
Flag denoting whether impedance data were entered in symmetrical components.
DSS_CAPI_DLL char * Obj_GetClassName(void *obj)
Returns the object's class name (direct access, no copy is done, no disposal required by the user; re...
DSS_CAPI_DLL int32_t Meters_Get_CountBranches(void)
Number of branches in Active energymeter zone.
DSS_CAPI_DLL void Capacitors_Get_AllNames(char ***ResultPtr, int32_t *ResultCount)
Array of strings with all Capacitor names in the circuit.
DSS_CAPI_DLL char * Loads_Get_Spectrum(void)
Name of harmonic current spectrrum shape.
DSS_CAPI_DLL int32_t Fuses_Get_MonitoredTerm(void)
Terminal number to which the fuse is connected.
DSS_CAPI_DLL int32_t CktElement_Get_NumPhases(void)
Number of Phases.
DSS_CAPI_DLL char * CapControls_Get_Capacitor(void)
Name of the Capacitor that is controlled.
MonitorModes
Definition: dss_capi.h:41
@ MonitorModes_Power
Monitor records kW, kvar or kVA, angle values, etc. at the terminal to which it is connected.
Definition: dss_capi.h:43
@ MonitorModes_States
For monitoring State Variables (for PC Elements only)
Definition: dss_capi.h:45
@ MonitorModes_Taps
For monitoring Regulator and Transformer taps.
Definition: dss_capi.h:44
@ MonitorModes_Magnitude
Reports the monitored quantities in Magnitude Only.
Definition: dss_capi.h:47
@ MonitorModes_VI
Monitor records Voltage and Current at the terminal (Default)
Definition: dss_capi.h:42
@ MonitorModes_PosOnly
Reports the Positive Seq only or avg of all phases.
Definition: dss_capi.h:48
@ MonitorModes_Sequence
Reports the monitored quantities as sequence quantities.
Definition: dss_capi.h:46
DSS_CAPI_DLL uint16_t Loads_Get_IsDelta(void)
Delta loads are connected line-to-line.
DSS_CAPI_DLL int32_t XYCurves_Get_First(void)
Sets first XYcurve object active; returns 0 if none.
DSS_CAPI_DLL void Transformers_Set_IsDelta(uint16_t Value)
Active Winding delta or wye connection?
DSS_CAPI_DLL int32_t LoadShapes_Get_First(void)
Set the first loadshape active and return integer index of the loadshape.
DSS_CAPI_DLL char * Loads_Get_Sensor(void)
Name of the sensor monitoring this load.
DSS_CAPI_DLL void CktElement_Get_AllVariableValues(double **ResultPtr, int32_t *ResultCount)
Array of doubles.
DSS_CAPI_DLL void Lines_Set_NormAmps(double Value)
Normal ampere rating of Line.
DSS_CAPI_DLL char * Lines_Get_Geometry(void)
Line geometry code.
DSS_CAPI_DLL void LoadShapes_Set_MinInterval(double Value)
Fixed Interval time value, in minutes.
DSS_CAPI_DLL void CktElement_Get_NodeRef(int32_t **ResultPtr, int32_t *ResultCount)
Array of integers, a copy of the internal NodeRef of the CktElement.
SolutionLoadModels
Definition: dss_capi.h:70
@ SolutionLoadModels_Admittance
Admittance load model option.
Definition: dss_capi.h:72
@ SolutionLoadModels_PowerFlow
Solution_[Get/Set]_LoadModel.
Definition: dss_capi.h:71
DSS_CAPI_DLL void CtrlQueue_Set_Action(int32_t Param1)
Set the active action by index.
DSS_CAPI_DLL void Circuit_Get_AllNodeVmagByPhase(double **ResultPtr, int32_t *ResultCount, int32_t Phase)
Returns Array of doubles represent voltage magnitudes for nodes on the specified phase.
DSS_CAPI_DLL void Bus_Get_puVoltages(double **ResultPtr, int32_t *ResultCount)
Complex Array of pu voltages at the bus.
DSS_CAPI_DLL void PDElements_Get_AllMaxCurrents_GR(uint16_t AllNodes)
Same as PDElements_Get_AllMaxCurrents but using the global buffer interface for results.
DSS_CAPI_DLL void LoadShapes_Get_TimeArray_GR(void)
Same as LoadShapes_Get_TimeArray but using the global buffer interface for results.
DSS_CAPI_DLL void Capacitors_Get_States_GR(void)
Same as Capacitors_Get_States but using the global buffer interface for results.
DSS_CAPI_DLL int32_t RegControls_Get_Next(void)
Sets the next RegControl active.
DSS_CAPI_DLL void Meters_Set_MeteredElement(const char *Value)
Set Name of metered element.
DSS_CAPI_DLL void Solution_Set_StepsizeHr(double Value)
Set Stepsize in Hr.
DSS_CAPI_DLL double Solution_Get_pctGrowth(void)
Percent default annual load growth rate.
DSS_CAPI_DLL int32_t GICSources_Get_Phases(void)
Number of Phases, this GICSource element.
DSS_CAPI_DLL double Loads_Get_CVRwatts(void)
Percent reduction in P for percent reduction in V.
DSS_CAPI_DLL int32_t Error_Get_Number(void)
Error Number (returns current value and then resets to zero)
DSS_CAPI_DLL uint16_t SwtControls_Get_IsLocked(void)
The lock prevents both manual and automatic switch operation.
YMatrixModes
Definition: dss_capi.h:158
@ YMatrixModes_SeriesOnly
Solution_BuildYMatrix, YMatrix_BuildYMatrixD.
Definition: dss_capi.h:159
DSS_CAPI_DLL void Reclosers_Set_NormalState(int32_t Value)
Get/set normal state (ActionCodes.Open=1, ActionCodes.Close=2) of the recloser.
DSS_CAPI_DLL double PVSystems_Get_kvar(void)
Get kvar value.
DSS_CAPI_DLL char * Fuses_Get_TCCcurve(void)
Name of the TCCcurve object that determines fuse blowing.
DSS_CAPI_DLL void Transformers_Set_Rneut(double Value)
Active Winding neutral resistance [ohms] for wye connections.
DSS_CAPI_DLL void LoadShapes_Get_AllNames(char ***ResultPtr, int32_t *ResultCount)
Array of strings containing names of all Loadshape objects currently defined.
DSS_CAPI_DLL double CmathLib_Get_cdang(double RealPart, double ImagPart)
Returns the angle, in degrees, of a complex number specified as two doubles: Realpart and imagpart.
DSS_CAPI_DLL void Meters_Get_Totals(double **ResultPtr, int32_t *ResultCount)
Totals of all registers of all meters.
DSS_CAPI_DLL void Settings_Set_ControlTrace(uint16_t Value)
{True | False*} Denotes whether to trace the control actions to a file.
DSS_CAPI_DLL int32_t Capacitors_Get_Next(void)
Sets the next Capacitor active.