Dssim-Xx Communication Library For Labview®: Ntroduction
Dssim-Xx Communication Library For Labview®: Ntroduction
Dssim-Xx Communication Library For Labview®: Ntroduction
LabVIEW®
INTRODUCTION
The DSSim-XX system is a graphic Distribution network Simulator for PC and Real Time (RT)
systems [ 1 - 3 ] . This software is based in the EPRI’s OpenDSS software to solve the
electrical system and includes almost all the functionalities [4-6].
There are different versions of the DSSim-XX where the characters XX defines the functionality (it
can be RT, PC, MT and OP). But all of them include a TCP communications server to allow the
communication from an external client, this way the user can interact with this simulator no matter
the programming language that he is used to use as shown in Figure 1.
SET OF INSTRUCTIONS
For each instruction, the library will deliver a 2D array of strings with the answer for the query, so
if the data that you are expecting is a number, you have to make the conversion of the data. For
each instruction it is necessary to respect the use of capital and minuscule letters.
Function Connect
This function is used to initialize the communication between the external client and the DSSim; it
has to be used at the beginning of your application.
Function Close
This function will close the communication link between the DSSim and the external application, it
is necessary to include it in your when it finishes.
The data will be delivered by pairs defining the type of element, the name of the element,
magnitude and angle for each phase (if applies).
The data will be delivered by pairs defining the type of element, the name of the element,
magnitude and angle for each phase (if applies).
The data will be delivered by pairs defining the type of element, the name of the element,
magnitude and angle for each phase (if applies).
The data will be delivered by pairs defining the type of element, the name of the element,
magnitude and angle for each phase (if applies).
The data will be delivered by pairs defining the type of element, the name of the element,
magnitude in kW and the magnitude in kVAr, the magnitudes are total.
The data will be delivered by pairs defining the type of element, the name of the element,
magnitude for each phase in kW and in kVAr.
The data will be delivered by pairs defining the type of element, the name of the element,
magnitude and angle for each phase (if applies).
The data will be delivered by pairs defining the type of element, the name of the element,
magnitude and angle for each phase (if applies).
The data will be delivered by pairs defining the type of element, the name of the element,
magnitude in kW and the magnitude in kVAr, the magnitudes are total.
The data will be delivered by pairs defining the type of element, the name of the element,
magnitude for each phase in kW and in kVAr.
The data will be delivered by pairs defining the type of element, the name of the element,
magnitude and angle for each phase (if applies).
The data will be delivered by pairs defining the type of element, the name of the element,
magnitude for each phase in kW and in kVAr.
The data will be delivered by pairs defining the type of element, the name of the element,
magnitude and angle for each phase (if applies).
The data will be delivered by pairs defining the type of element, the name of the element,
magnitude for each phase in kW and in kVAr.
The data will be delivered by pairs defining the type of element, the name of the element,
magnitude in kW and the magnitude in kVAr, the magnitudes are total.
The information is delivered in pairs, where the first data is the current status and the second is
the name of the switch.
The first argument is the name of the function and is a constant, the second argument is the name
of the load to be modified (p.e. Load_1), and the last argument is to specify the multiplier to affect
the nominal power consumed (or delivered) by the load. Use the character point (.) as decimal
separator. The example shows how to fix the power of the ‘Load_1’ to consume the half of his
nominal power (programmed in DSSim).
The first argument is the name of the function and is a constant, the second argument is the name
of the element to be modified (the name must be a full name, this is, describing the type of
element also p.e. Load.Load_1), the third argument is the property to modify (refer to the
OpenDSS manual, p. e. QMult),and the last argument is to specify the value to affect the specified
property. Use the character point (.) as decimal separator. The example shows how to fix the
reactive power of the ‘Load_1’ to consume the half of his nominal reactive power (programmed in
DSSim).
With this function the user can modify any property of any object in the system (refer to the
OpenDSS manual).
The information is delivered as follows: first the name of the element for which the meter is
connected, second the total active power measured (kWh), third the total active power measured
(kVAr) and finally the time (hours:minutes:seconds,miliseconds) of the sample.
Remember that if you want to obtain the adjacency matrix, you must multiply the transpose of
this incidence matrix by the non-transposed matrix. The first row of the matrix corresponds to the
names of the columns of the matrix (names of the nodes), and the first column of the matrix is the
name of the lines or elements that interconnect the nodes.
The sent message corresponds to a matrix of Four columns with a number of rows equal to the
number of elements (EV and storage elements) present within the circuit. The first column is the
name of the element and the second one is the amount of energy stored (%), the third one is the
amount of energy stored in kWh and the last one is the state of the charger (Charging, discharging
or idling).
[1] D. Montenegro, M. Hernandez, and G. A. Ramos, "Real time OpenDSS framework for
distribution systems simulation and analysis," in Transmission and Distribution: Latin
America Conference and Exposition (T&D-LA), 2012 Sixth IEEE/PES, 2012, pp. 1-5.
[2] D. Montenegro, A. Ovalle, and G. A. Ramos, "Real Time distribution system simulator
Based on OpenDSS," in Grid of the Future Symposium, Kansas City, MO, 2012.
[3] D. Montenegro. (2013, 01, 07). DSSim-PC, Electrical Distribution Network simulator for PC.
Available: http://sourceforge.net/projects/dssimpc/?source=navbar
[4] W. H. Kersting and R. C. Dugan, "Recommended Practices for Distribution System
Analysis," in Power Systems Conference and Exposition, 2006. PSCE '06. 2006 IEEE PES,
2006, pp. 499-504.
[5] R. C. Dugan and T. E. McDermott, "An open source platform for collaborating on smart
grid research," in 2011 IEEE Power and Energy Society General Meeting, , 2011, pp. 1-7.
[6] R. C. Dugan, R. F. Arritt, T. E. McDermott, S. M. Brahma, and K. Schneider, "Distribution
System Analysis to support the Smart Grid," in Power and Energy Society General Meeting,
2010 IEEE, 2010, pp. 1-8.