<!DOCTYPE article PUBLIC "-//NLM//DTD JATS (Z39.96) Journal Archiving and Interchange DTD v1.0 20120330//EN" "JATS-archivearticle1.dtd">
<article xmlns:xlink="http://www.w3.org/1999/xlink">
  <front>
    <journal-meta />
    <article-meta>
      <title-group>
        <article-title>A Simulation Tool for Demand Response Programs Implementation</article-title>
      </title-group>
      <contrib-group>
        <contrib contrib-type="author">
          <string-name>Pedro Faria</string-name>
          <xref ref-type="aff" rid="aff0">0</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Zita Vale</string-name>
          <xref ref-type="aff" rid="aff0">0</xref>
        </contrib>
        <aff id="aff0">
          <label>0</label>
          <institution>GECAD - Knowledge Engineering and Decision-Support Research Group of the Electrical Engineering Institute of Porto - Polytechnic Institute of Porto (ISEP/IPP)</institution>
          ,
          <addr-line>Rua Dr. António Bernardino de Almeida, 431, 4200-072 Porto</addr-line>
          ,
          <country country="PT">Portugal</country>
        </aff>
      </contrib-group>
      <abstract>
        <p>The design and development of simulation models and tools for Demand Response (DR) programs are becoming more and more important for adequately taking the maximum advantages of DR programs use. Moreover, a more active consumers' participation in DR programs can help improving the system reliability and decrease or defer the required investments. DemSi, a DR simulator, designed and implemented by the authors of this paper, allows studying DR actions and schemes in distribution networks. It undertakes the technical validation of the solution using realistic network simulation based on PSCAD. DemSi considers the players involved in DR actions, and the results can be analyzed from each specific player point of view.</p>
      </abstract>
      <kwd-group>
        <kwd>Demand response</kwd>
        <kwd>decision support system</kwd>
        <kwd>simulation</kwd>
      </kwd-group>
    </article-meta>
  </front>
  <body>
    <sec id="sec-1">
      <title>-</title>
      <p>
        Demand Response (DR) was expected to significantly grow in the scope of electricity
markets, bringing economic and technical benefits to the whole system. However, DR
is not being as successful as expected [
        <xref ref-type="bibr" rid="ref1">1</xref>
        ]. In this way, the positive impact of DR on
power systems and on the involved players’ business may be enhanced by adequate
tools which are able to simulate DR programs and events, from the point of view of
the relevant players. Several tools have been developed to support decision making
and validation concerning demand response programs. A list of some tools can be
found in [
        <xref ref-type="bibr" rid="ref2">2</xref>
        ]. Generally, the existing software aims to assess the cost savings
opportunities based on building and load characterization.
      </p>
      <p>
        DemSi, the DR simulator developed by the authors of this paper, presents several
innovative features when compared with other existing tools [
        <xref ref-type="bibr" rid="ref3">3</xref>
        ]. One important point
is that the other tools deal with specific installations (e.g. commercial or residential
buildings) whereas DemSi is able to deal with the application of DR programs to a
large set of consumers. Moreover, it uses realistic models that allow to simultaneously
take into account contractual constraints and to undertake the technical validation.
      </p>
      <p>DemSi considers the players involved in the DR actions and results can be
analyzed from the point of view of each specific player. This includes five types of
players, namely consumers, retailers (suppliers), Distribution Network operatos (DNOs),
Curtailment service Providers (CSPs), and Virtual Power Players (VPPs). The
analysis can also be done from the point of view of the retailer, of the consumers (both
individually or in the scope of a load aggregator) or of the DNO.</p>
      <p>Another advantage of DemSi is that it includes a diversity of DR programs. DemSi
allows choosing among a large set of DR programs, each one modeled according to
its specific characteristics.
2</p>
    </sec>
    <sec id="sec-2">
      <title>Computational tools used in DemSi implementation</title>
      <p>
        The development of DemSi has been based on three simulation tools. GAMS –
General Algebraic Modeling System – is a computational tool developed to
implement linear optimization problems, as well as non-linear and mixed-integer ones [
        <xref ref-type="bibr" rid="ref4">4</xref>
        ].
With GAMS the user is concerned only with the formulation of the problem / model.
In this way, the difficulties around the modeling of the solving method are
suppressed. It is simple to choose from several numeric methods and then comparing the
results. The diverse solvers make possible to solve a large variety of problems.
      </p>
      <p>
        MATLAB is a powerful software of numeric computation that was developed in
1978 by Cleve Moler and is nowadays a property of MathWorks. The main
characteristic of MATLAB is the use of matrixes as the basic data structure [
        <xref ref-type="bibr" rid="ref5">5</xref>
        ]. As it is an
interactive software of high performance, MATLAB is used in several applications in
the industry, as well as in academic activities, and has been applied to several
problems of science and engineering. MATLAB has toolboxes that allow obtaining the
solution for several types of problems such as the ones related with numerical
analysis, data analysis, matrix calculus, and signal processing. The user can use the
available toolboxes or program functions and routines to solve the envisaged problem.
      </p>
      <p>PSCAD/EMTDC is a simulation tool developed by the Manitoba-HVDC
Corporation, dedicated to the system analysis and having electric power systems as the main
application area. PSCAD is the graphical interface to the user, while EMTDC is the
simulation software. The graphical interface of PSCAD considerably improves the
EMTDC usability. It makes possible for the user to build the circuit schematically, to
process the simulation, to analyze the results, and to manage the data in a completely
integrated environment. An important advantage of PSCAD, which is crucial for
DemSi, is the possibility of linking it with MATLAB software.
3</p>
    </sec>
    <sec id="sec-3">
      <title>DemSi architecture and implementation</title>
      <p>DemSi combines the use of GAMS optimization software and of MATLAB, which
has been used to program some of the models. The other models have been
programmed in GAMS. PSCAD is used for the electrical network simulation and is
connected with the other two software tools.</p>
      <p>DemSi is an important tool for DR programs and models analysis and validation,
both in what concerns the business and economic aspects and the technical validation
of their impacts in the network.</p>
      <p>Consumers can be characterized individually or in an aggregated basis. The
simulation requires knowledge about load data and about the contracts between clients and
their electricity suppliers. These contracts may include flexibility clauses that allow
the network operator to reduce or cut the load of specific clients and circuits. On the
other hand, the response of each client to the used tariff scheme is also characterized,
allowing the analysis of the impact of alternative DR schemes.</p>
      <p>Figure 1 presents the DemSi functional diagram. The simulation of a scenario
requires information concerning network characterization, consumers’ profile, and DR
programs models. The gray blocks in figure 1 are the ones that do not change when
the conditions of simulation (models, network, etc.) change.</p>
      <p>PSCAD requires a large amount of parameters for the modeling of the network
elements and for the resources connected to it. In this way, the network data (including
DG and loads’ electrical characteristics) are an important basis for the success of the
simulations to be run. The data concerning load response characterization, as well as
the event data, are necessary for the DR programs and models simulation.</p>
      <p>The simulation timeline is composed by a sequence of periods with a single event
or multiple events occurring over time. In the beginning of the simulation, all the
variable parameters, including the system voltage, are defined according to the
considered initial state. Every change in the system causes instability in the simulation,
and therefore some simulation time is given for the system to be in a stable state.
After this stabilization time, the network state is saved and the first DR event is
simulated. A stabilization period succeeds the DR event trigger; after this, the new state of
the system, seen as the results of the event, is saved. This sequence is repeated for the
number of periods of the simulation. After saving the results of an event, the network
state for the next period is charged.</p>
      <p>During the simulation, the different software tools used communicate and transfer
data among them. The simulation starts in PSCAD and every time a new network
state needs to be charged and/or saved this is done using the MATLAB connection to
save/use data to/from Microsoft Excel datasheets. The sequence of software data
transferences is represented by numbers in the middle block of figure 1.
4</p>
    </sec>
    <sec id="sec-4">
      <title>Conclusions</title>
      <p>DemSi, the DR programs simulator presented in this paper, is of crucial importance
to enable decision-support by the players acting in DR programs. DemSi presents
characteristics that distinguish it from the already existing DR tools, what makes it a
valuable contribution to the DR field. A very relevant feature is the realistic technical
validation of DR solutions, based on PSCAD, which ensures DemSi applicability to
real world problems. Moreover, DemSI provides the means for this analysis to be
undertaken from different points of view of several players.</p>
    </sec>
    <sec id="sec-5">
      <title>Acknowledgment References</title>
      <p>This work is supported by FEDER Funds through COMPETE program and by
National Funds through FCT under the projects FCOMP-01-0124-FEDER:
PEstOE/EEI/UI0760/2011, PTDC/EEA-EEL/099832/2008,
PTDC/SENENR/099844/2008, and PTDC/SEN-ENR/122174/2010.</p>
    </sec>
  </body>
  <back>
    <ref-list>
      <ref id="ref1">
        <mixed-citation>
          [1]
          <string-name>
            <given-names>US</given-names>
            <surname>Department</surname>
          </string-name>
          of Energy, “
          <article-title>Benefits of Demand Response in Electricity Markets and Recommendations for achieving them”, Report to the United States Congress</article-title>
          ,
          <year>February 2006</year>
          , Available from: http://eetd.lbl.gov/EA/EMS/reports/congress-1252d.pdf, [accessed in May 2011].
        </mixed-citation>
      </ref>
      <ref id="ref2">
        <mixed-citation>
          [2]
          <string-name>
            <surname>U.S</surname>
          </string-name>
          . Department of Energy, “Building Energy Software Tools Directory” Available from: http://apps1.eere.energy.gov/buildings/tools_directory/software.cfm/ID=522/p
        </mixed-citation>
      </ref>
      <ref id="ref3">
        <mixed-citation>
          [3]
          <string-name>
            <given-names>Pedro</given-names>
            <surname>Faria</surname>
          </string-name>
          , Zita Vale, “
          <article-title>Demand Response in Electrical Energy supply: An Optimal Real Time Pricing Approach”</article-title>
          , Energy, Elsevier, Vol.
          <volume>36</volume>
          , no.
          <issue>8</issue>
          ,
          <year>August 2011</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref4">
        <mixed-citation>
          [4]
          <string-name>
            <surname>Richard</surname>
            <given-names>E.</given-names>
          </string-name>
          <string-name>
            <surname>Rosenthal</surname>
          </string-name>
          , “
          <article-title>GAMS - A User's Guide”</article-title>
          ,
          <string-name>
            <given-names>GAMS</given-names>
            <surname>Develop</surname>
          </string-name>
          . Corp. Washington, DC,
          <year>2008</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref5">
        <mixed-citation>
          [5]
          <string-name>
            <surname>I. Graham</surname>
          </string-name>
          , “
          <article-title>MATLab manual and introductory tutorials”</article-title>
          , Bath University Computing Service, Bath,
          <string-name>
            <surname>UK</surname>
          </string-name>
          ,
          <year>February 2005</year>
          .
        </mixed-citation>
      </ref>
    </ref-list>
  </back>
</article>