Sie sind auf Seite 1von 566

O pen Smart Grid Platform Documentation

Table of Contents
1. Introduction
2. General platform architecture
1. Platform properties
2. Architecture introduction
3. Architecture functional layers
4. Architecture Principles
5. Platform components des cription
6. Mes s age flow examples
7. Logical Authoris ation Model
8. Non-functional overview
1. T imeBehavior
2. Internationalization and localization
3. Security
4. Scalability
5. Redundancy
6. Performance
9. T echnical O verview
1. Web Services Layer
2. Domain Layer
3. Core Layer
4. Protocol Layer
5. T echnology Stack
10. Us e cas es
3. General Us er's Guide
1. Ins tallation Guide
1. Ins tallation
1. Vagrant
2. Manual Setup
2. Platform Setup
3. T es t the Platform
1. Us ing SoapUi
2. Us ing the Demo App
2. Configuration
1. Add a device
2. Us ers
3. Add a new organis ation
3. Web Services
4. Deployment
5. FAQ
4. O pen Source Community
1. Start contributing
2. Developers 101
3. Contributing to the code
4. Contributing to documentation
5. Communication and Contact
6. Governance
7. Code of Conduct
8. Foundation
5. Domains
1. Admin
2. Smart lighting
1. Us e cas es
3. T ariff s witching
4. Microgrids
5. Dis tribution automation
6. SmartMetering
1. Web Services
1. bypas s retry
2. priority
3. s cheduling
4. AdHocManagement
1. GetAs s ociationLnO bjects
2. GetGetAs s ociationLnO bjects Res pons e
3. RetrieveConfigurationO bjects
4. GetRetrieveConfigurationO bjects Res pons e
5. SpecificConfigurationO bject
6. SynchronizeT ime
7. GetSynchronizeT imeRes pons e
5. Bundle

2
O pen Smart Grid Platform Documentation

1. Bundle
2. GetBundleRes pons e
6. Configuration
1. GetAdminis trativeStatus
2. GetGetAdminis trativeStatus Res pons e
3. GetFirmwareVers ion
4. GetGetFirmwareVers ionRes pons e
5. UpdateFirmware
6. GetUpdateFirmwareRes pons e
7. ReplaceKeys
8. GetReplaceKeys Res pons e
9. SetActivityCalendar
10. GetSetActivityCalendarRes pons e
11. SetAdminis trativeStatus
12. GetSetAdminis trativeStatus Res pons e
13. SetAlarmNotifications
14. GetSetAlarmNotifications Res pons e
15. SetConfigurationO bject
16. GetSetConfigurationO bjectRes pons e
17. SetEncryptionKeyExchangeO nGMeter
18. GetSetEncryptionKeyExchangeO nGMeterRes pons e
19. SetPus hSetupAlarm
20. GetSetPus hSetupAlarmRes pons e
21. SetPus hSetupSms
22. GetSetPus hSetupSms Res pons e
23. SetSpecialDays
24. GetSetSpecialDays Res pons e
25. GetConfigurationO bject
26. GetConfigurationO bjectRes pons e
27. ConfigureDefinableLoadProfile
28. GetConfigureDefinableLoadProfileRes pons e
29. SetMbus Us erKeyByChannel
30. GetSetMbus Us erKeyByChannelRes pons e
31. GetMbus EncryptionKeyStatus
32. GetGetMbus EncryptionKeyStatus Res pons e
33. GetMbus EncryptionKeyStatus ByChannel
34. GetGetMbus EncryptionKeyStatus ByChannelRes pons e
35. ScanMbus Channels
36. ScanMbus Channels Res pons e
7. Ins tallation
1. AddDevice
2. GetAddDeviceRes pons e
3. CoupleMbus Device
4. GetCoupleMbus DeviceRes pons e
5. DeCoupleMbus Device
6. GetDeCoupleMbus DeviceRes pons e
8. Management
1. FindEvents
2. GetFindEvents Res pons e
3. GetDevices
4. SetDeviceLifecycleStatus ByChannel
5. SetDeviceLifecycleStatus ByChannelRes pons e
6. EnableDebugging
7. Dis ableDebugging
8. FindMes s ageLogs
9. Monitoring
1. GetActualMeterReads
2. GetActualMeterReads Res pons e
3. GetActualMeterReads Gas
4. GetActualMeterReads Gas Res pons e
5. GetPeriodicMeterReads
6. GetPeriodicMeterReads Res pons e
7. GetPeriodicMeterReads Gas
8. GetPeriodicMeterReads Gas Res pons e
9. GetProfileGenericData
10. GetProfileGenericDataRes pons e
11. ReadAlarmRegis ter
12. GetReadAlarmRegis terRes pons e
13. RetrievePus hNotificationAlarm
10. Notification
1. SendNotification
2. Res pons eMes s ages

3
O pen Smart Grid Platform Documentation

3. Us e cas es
7. Guidelines to add a new domain to O SGP
6. Protocols
1. IEC61850
1. SWDevice-010805
1. SWDevice-010805.icd
2. Regis terDevice
3. GetConfiguration
4. SetConfiguration
5. SetEventNotifications
6. EventNotification
7. SetSchedule
8. GetFirmwareVers ion
9. UpdateFirmware
10. SetReboot
11. StartSelfT es t
12. StopSelfT es t
13. SetLight
14. SetT rans ition
15. GetStatus
16. GetPowerUs ageHis tory
17. UpdateDeviceSs lCertification
2. FlexO VL_540_171101_2
1. FlexO VL_540_171101_2_out.icd
2. GetStatus
3. EventNotification
2. DLMS / CO SEM
1. DLMS device s imulator
3. O SLP
1. O SLP v0.5.1
1. Protobuf Contract
2. O SLP v0.6.1
1. Protobuf Contract
2. Regis terDevice
3. ConfirmRegis terDevice
4. GetConfiguration
5. SetConfiguration
6. SetEventNotifications
7. EventNotification
8. SetSchedule
9. Res umeSchedule
10. GetFirmwareVers ion
11. UpdateFirmware
12. SetReboot
13. StartSelfT es t
14. StopSelfT es t
15. SetLight
16. SetT rans ition
17. GetStatus
18. GetPowerUs ageHis tory
19. UpdateDeviceSs lCertification
20. SetDeviceVerificationKey
21. SwitchFirmware
22. SwitchConfiguration
7. Support
8. Licens e
9. Glos s ary

4
O pen Smart Grid Platform Documentation

Introduction

Introduction to the Open Smart Grid Platform


T he O pen Smart Grid Platform (O SGP) is an open, generic, s calable and independent 'Internet of T hings ' platform, which
enables various connected s mart objects in the public s pace to be eas ily controlled and monitored. O ur platform allows the
us e of any (web)application and with any IP communication infras tructure.

O ur goal is to s timulate the development of s mart and s us tainable s olutions . Smart devices and s mart apps play a central role
in the development of s mart grids and s mart s ocieties . T he open s mart grid platform s oftware enables you to connect to
thous ands of devices , control them, and monitor their performance. T his is done in an open and s ecure way, s o you can us e it
for your own applications and devices , thereby reducing the time to market and decreas ing development cos ts .

Us ing the p latform

T he O pen Smart Grid Platform is us ed in the following way:

A us er or operator us es one or more (web) applications to monitor and/or control devices


T he applications connect to the open s mart grid platform via s everal web s ervices which are divided into functional
domains , i.e. Public Lighting, Smart Metering, Power Q uality, etc. T hird party developers can us e the web s ervices
for the development or integration of new applications
T he platform handles all thes e application reques ts in a s ecure way and us es various functions and s ervices to do s o
(e.g. authorization, authentication, device management, logging)
For the 'trans lation' and communication of us er/operator commands to the various s mart devices , the platform us es
multiple (open) protocols
T he platform s upports various IP bas ed data telecommunication technologies and protocols to communicate with the
devices

More technical and us er information about the open s mart grid platform can be found in this document. More generic/product
information about the open s mart grid platform can be found on the open s mart grid platform webs ite.

Example us e cas e for the open s mart g rid platform


Us e cas es of the open s mart grid platform are only limited by your imagination. Here are s ome examples :

Ad-hoc and s cheduled Switching of Public Lighting


Electrical T rans portation
Smart Metering
T raffic Control (LED/matrix s igns , traffic lights )
Flexible load management ( s olar energy and wind energy)
Power Q uality monitoring

Getting s tarted
Vis it the us erguide s ection to try the open s mart grid platform on your local machine
T he Architecture s ection provides information on platform architecture
Check out the domain s ection if you want to know about the the exis ting domains
Check out the protocol s ection to find out more on the exis ting s upported protocols
Read the open s ource s ection how to contribute!

Introduction 5
O pen Smart Grid Platform Documentation

General platform architecture


CHAPTER 1 Technical overview of the Open Smart Grid
Platform
T his chapter contains the general architecture and properties of the O pen Smart Grid Platform. Domain and protocol
s pecific information can be found in the domain and protocol chapters . T his chapter is written for (potential) us ers ,
architects and developers .

General platform architecture 6


O pen Smart Grid Platform Documentation

Platform properties
Properties of the Open Smart Grid Platform
T he O pen Smart Grid Platform is des igned for mes s age bas ed communication.

Acts as a conne cting link between (web)applications and s mart devices


T he open Source approach p re ve nts ve nd or lock-in
State of the art s e curity
Fully s calab le , dynamically s caling up and down as more devices and applications are added.
Freedom of choice in the d e s ire d IP communication infras tructure , e.g. CDMA and GPRS.
Stimulates open innovation by us ing op e n s tand ard s and op e n s ource technology
Multip le d e vice s and communication protocols are s upported
Ind e p e nd e nt of (cloud) hos ting infras tructure
By de-linking the chain and the us e of open s tandards and the open s ource licens e, anyone can build his or her
applications on top of the open s mart grid platform.
T he open s mart grid platform is op timiz e d to provide reliable and efficient delivery of command and control
information for e.g. s mart meters , direct load control modules , s olar panels , gateways and other applications .
T he open s mart grid platform s implifies the implementation of s mart devices res ulting in a s horter time-to-market by
having built-in d e vice manag e me nt features
T he platform s upports various IP data communication infras tructures to communicate with the devices (internet, lan,
GPRS, CDMA, UMT S, etc.).
T he open s mart grid platform als o s upports authentication and encryption for all data exchanges to protect the
integrity and privacy of data as required in e.g. the s mart grid.
T he open s mart grid platform s upports multip le p rotocols
Eas y ap p lication inte g ration
Supports active -active s etup over multiple data centers
Adding s ervers can be done in runtime

Pleas e note: the O pen Smart Grid Platform is not built for s treaming data s uch as video, audio or a s tream of high frequency
meas urement data.

Unique features of the Open Smart Grid Platform


T he O pen Smart Grid Platform is unique due to its multi-dimens ional, generic and open des ign. Becaus e of a true s eparation
of layers and the us e of open s tandards , other s uppliers and/or third parties are able to develop and market innovative
s olutions .

1. T he platform is multi-d ime ns ional. T his means that s everal cus tomer us e cas es (with s eparate bus ines s models )
are able to us e the various device functions . O ne s ingle application could us e the s ame function of different devices .
2. T he g e ne ric des ign ens ures that the platform can be us ed in a flexible way for s everal functions and applications
(e.g. public lighting s ervices and s mart meter s ervices ).
3. T he platform is aimed at the 'common p arts ' of the technology chain; s uppliers or vendors (of both applications and
devices ) have no competitive advantage in delivering thes e kind of s ervices .
4. T he platform layers are truly s eparated by open s tandards and the platform is made available as op e n s ource
s oftware.
5. T he platform does not s tore any application data (the platform is thus s tate le s s ). No mes s ages /commands will ever
get los t. T his enables third party vendors and developers to deliver innovative applications which are competitive in
both rich functionalities and the generated data.

Platform properties 7
O pen Smart Grid Platform Documentation

Architecture introduction
Basic Architecture
T he b as ic archite cture

Architecture introduction 8
O pen Smart Grid Platform Documentation

Bas ic O verview

Layered architecture

Architecture introduction 9
O pen Smart Grid Platform Documentation

T he O pen Smart Grid Platform environment cons is ts of five layers :

1. Web s ervices layer


2. Domain logic layer
3. O pen Smart Grid Platform Core layer
4. Protocol layer
5. Device layer

Web s ervices layer


In this layer the web s ervices are expos ed to the outs ide world. Applications can connect to the web s ervices to implement
the required functionality of the open s mart grid platform. T he web s ervices are divided into functional domains , i.e. Public
Lighting, Smart Metering, Power Q uality, etc. Additional functional domains can be created.

Domain log ic layer


Every functional domain has a s eparate s et of web s ervices and a corres ponding domain logic block. In the domain logic
block the bus ines s logic of that functional domain can be found. T his is where a functional command will be trans lated into a
generic intermediate format. For example, in the cas e of public lighting the command "T urn light on" will be trans lated into a
command like "s et s witch(1) in clos ed pos ition". In this layer it could als o be decided that one functional command res ults in
multiple commands to a device. T he domain logic is clos ely related to the web s ervices layers and can be added as well.

Open Smart Grid Platform core layer


In the core of the O pen Smart Grid Platform the following generic functions are found:

Device management
T ime s ynchronization
Firmware management
Workflow engine
Device ins tallation s ervices
Scheduler
Device s tatus monitoring
Routing of device commands to appropriate device protocol

Protocol layer
T he different protocol adapters are found in this layer. Here the generic intermediate format of a command for a s pecific
device will be trans lated into the protocol mes s age the device unders tands . T his mes s age will be s ent to the device. A retry
mechanis m has been implemented to prevent communication failure in the cas e that the receiving end is temporarily
unavailable. T he lis teners for mes s ages initiated by a device are implemented here. Examples are the DLMS/CO SEM protocol
adapter for s mart meters .

Devices
Any device in the public s pace with an Internet connection may be connected to the platform. T he platform is independent of
the device us ed, therefore this part of the s et-up is not part of the platform.

Architecture introduction 10
O pen Smart Grid Platform Documentation

Architecture functional layers


Functional view
Image, functional layers overview

S tarting archite cture

T he Functional view s hows an overview of the mos t important functions of the s ys tem. T he two images below s how the
s tarting architecture and functional reference architecture res pectively.

Image, functional starting architecture

Architecture functional layers 11


O pen Smart Grid Platform Documentation

1. Web applications
2. O pen Smart Grid Platform
3. Web s ervices
4. Bas ic functions
5. Databas e
6. Communication infras tructure (CDMA/GPRS/Ethernet)
7. IP infras tructure
8. O pen Street Light Protocol (O SLP)
9. Public Street Lighting Device (PSLD) or Sub Station Lighting Device (SSLD)

Functional Reference
T his model partitions the s ys tem in s even functional clus ters (vertically) which are s hown on the s ys tem layers (horizontally).
T he circled numbers refer to image 1.

Image, functional reference architecture

Vertical clus ters :

Architecture functional layers 12


O pen Smart Grid Platform Documentation

Device ins tallation


Device management
Firmware management
Configuration management
Schedule management
Ad-hoc control and s tatus
Monitoring

Horizontal Sys tem layers :

Web applications
HT T PS/SO AP communication
Platform
O pen protocols
Smart devices

Architecture functional layers 13


O pen Smart Grid Platform Documentation

Architecture Principles
Architecture Principles
T his chapter gives an overview of the principles us ed defining and implementing the architecture. T he following principles
were applied:

Layering
Domain driven des ign
Dependency invers ion principle
Behavior driven development

Layering
T he us e of layers improves the s eparation of res pons ibilities . Each application contains the following layers :

Pres entation layer: res pons ible for providing information to us ers (pers ons and/or s ys tems ) and the handling of us er
reques ts
Application layer: res pons ible for executing s ys tem tas ks including authoris ation control
Domain layer: res pons ible for the repres entation of the problem domain.
Infras tructure layer: res pons ible for technical matters s upporting other layers . For ins tance pers is tence, mes s aging,
etc

Image, Layers:

1. Audit logger
2. Web Services
3. Functions
4. Q ueue
5. Workflow engine
6. Protocol framework
7. Protocol implementations
8. Workflow engine
9. Q ueue
10. Communication

Architecture Principles 14
O pen Smart Grid Platform Documentation

Domain driven des ig n (DDD)


Domain-driven des ign focus es on the problem domain. DDD's s tarting point is creating an optimal model for a s pecific
problem domain by having a common language and cons tructive collaboration between technical and domain experts .

DDD us es the following building blocks :

Entity: An object not identified by its attributes but by its own identity.
Value O bject: an object with attributes but has no own identity.
A collection of objects s urrounding a s pecific root entity (or aggregate root). T o ens ure cons is tency objects in the
aggregate can only be addres s ed through the aggregate root.
Service: Contains ins tructions not related to a s pecific object.
Repos itory: Serves as a collection for fetching and s aving objects . Creates an abs traction for actual pers is tent
implementations .
Factory: Contains methods to create domain objects .

Dependency invers ion principle


T he dependency invers ion principle promotes an independent connection by inverting dependency relations . T his ens ures
that the domain model can be very 'clean' without knowledge of the underlying infras tructure (PO JO clas s es ). T he Spring
framework is us ed to implement the Dependency Invers ion principle.

Behavior driven development (BDD)


Behavior driven development is a way of programming that firs t des cribes behavior in us er s tories and then implements this
in code. T he us er s tories contain s cenarios with acceptation criteria that can be automated. T his creates a complete tes t
s uite for the whole s ys tem.

For the application of BDD the following frameworks are us ed:

Cucumber and Gherkin, automated acceptance tes ting, bas ed on s cenarios from s tories .

Architecture Principles 15
O pen Smart Grid Platform Documentation

Platform components description


Description of the individual platform components
Application Layering
T he us e of layers improves the s eparation of res pons ibilities . Each application contains the following layers :

Pres entation layer: res pons ible for providing information to us ers (pers ons and/or s ys tems ) and the handling of us er
reques ts
Application layer: res pons ible for executing s ys tem tas ks including authorization control
Domain layer: res pons ible for the repres entation of the problem domain.
Infras tructure layer: res pons ible for technical matters s upporting other layers . For ins tance pers is tence, mes s aging,
etc

Laye rs :

Authentication and authorization


T he web s erver is configured with a SSL certificate to encrypt the incoming and outgoing communication. T he SO AP Web
s ervice (Spring Framework web s ervice) us es a Java Keys tore and a certificate for each organization. O nly organizations
that are known within the platform are authorized to us e the web s ervice.

Application integ ration layer


For the s everal functional domains s eparate SO AP Web s ervices are offered. T his s eparation offers authorization per
functional domain. Each of the web s ervice components s end a queue mes s age to the corres ponding domain component.

WSDL A s eparate WSDL is implemented for each functional clus ter. All SO AP operations have a reques t object parameter
and return a res pons e object. For Synchronized Web Services the res ult is immediately included in the res pons e. For
as ynchronous web s ervices the res pons e contains a correlation ID. T his Correlation ID is to be us ed by the reques ter to
receive the actual res ult from the platform. T he following diagram is an example of s uch an as ynchronous reques t.

Platform components des cription 16


O pen Smart Grid Platform Documentation

Furthermore each SO AP mes s age has a header which contains the us er's organis ation ID. T his table dis plays an overview of
the WSDL's including operations and fields in the reques t and res pons e objects .

SO AP vs . REST

SO AP is chos en in the open s mart grid platform web s ervices over REST for the following reas ons :

REST is res ources /data oriented (put, get, delete) while the open s mart grid platform is function/method oriented
SO AP has the advantage of having a contract (WSDL)
SO AP has extens ive s ecurity features that are being us ed in the open s mart grid platform to meet the high s ecurity
demands /requirements reques ted by e.g. the energy utilities
Energy companies are generally not progres s ive in terms of technology. SO AP is acceptable for energy companies
and REST is s ometimes s een as new and ins ecure.

T he benefits of REST (e.g. s peed / les s overhead) does not outweigh the benefits of SO AP. More general information on this
topic can be found online.

Domain log ic layer


For each functional domain bus ines s logic is implemented us ing a s eparate domain component. Common functionality like
authorization s hould be abs tracted to a s hared component. Domain components receive queue mes s ages from web s ervice
components and s end queue mes s ages to the open s mart grid platform core component.

More information on the s pecific domains can be found in the domain chapter

Open Smart Grid Platform Core Services


T he open s mart grid platform core component receives queue mes s ages from domain components . T hes e mes s ages from
domain components are forwarded to a protocol adapter project. T he open s mart grid platform core component als o offers
logic for a protocol adapter project to s end the res pons e of a s mart device back to a domain project. T he Core component
routes mes s ages from domain adapter components to protocol adapter components and vice vers a. T he core layer als o
contains a workflow engine.

T he internal databas e model in the core layer:

Platform components des cription 17


O pen Smart Grid Platform Documentation

Platform components des cription 18


O pen Smart Grid Platform Documentation

Image, Overview of platform data model

Data model explanation:

T ab le De s crip tion
devices Devices table
Authoris ation table, function group column concerns the device functions (AD_HO C,
device_authoris ation
INST ALLAT IO N, etc)
organization O rganization table, function group column concerns the platform functions (ADMIN of USER)
event Events table
os lp_log_item T able for logging of O SLP mes s ages .
webs ervice monitor log
Audit record for tracking webs ervice activity.
item

T he platform will s tore as little data as pos s ible. Generic (and domain s pecific) devices attributes are s tored in core DB.

Protocol Layer
T he open s mart grid platform s upports multiple protocols .

O SLP (O pen Street Light Protocol)


DLMS/CO SEM
IEC61850

T he protocols can us e one of the s ecurity layers :

T LS (T rans port Layer Security encryption)


SSL (Secure Sockets Layer encryption)

O ther protocols can be eas ily added to the platform. If pos s ible, we prefer protocols bas ed on open s tandards . A
comprehens ive lis t of protocols that are currently s upported can be found in the protocols chapter.

Protocol s pecific device attributes are s tored in the protocol adapter DB

Queues
O pen s mart grid platform components connect to each other through mes s age queues .

Platform components des cription 19


O pen Smart Grid Platform Documentation

T rans actions on mes s ages to and from the queues


Mes s ages are pers is ted on the queues
Q ueues are clus tered for reliability and s peed
By us ing queues , the open s mart grid platform can be s tateles s

Smart devices
T he open s mart grid platform can connect to any device that s upports one of the s upported protocols . Smart devices can
receive mes s ages from or s end mes s ages to protocol adapter components . In cas e of SSLD's this is done us ing T CP/IP over
mobile internet connections (e.g. GPRS, CDMA, etc.). T he communication is encrypted us ing public key cryptography.

Platform components des cription 20


O pen Smart Grid Platform Documentation

Message flow examples


Messageflow examples
T his are s ome examples how a mes s age flows in the O pen Smart Grid Platform.

Message Flow: Request/Acknowledge/Poll

S te p De s crip tion
1 WS adapter receives client s oap reques t with organization certificate and organization id in s oap header
WS adapter authenticates organization, checks authorizations and s ends reques t mes s age to domain adapter (via
2
queue)
3 WS adapter returns s oap acknowledgement with correlation id
4 Domain adapter s ends reques t mes s age to core (via queue)
5 Core determines protocol for device and s ends reques t mes s age to protocol adapter (via queue)
6 Protocol adapter trans lates domain reques t mes s age, s ends reques t to device and receives res pons e from device
7 Protocol adapter s ends res pons e mes s age to core (via queue)
8 Core forwards res pons e mes s age to domain adapter (via queue)
9 Domain adapter forwards res pons e mes s age to res pons e queue
10 Client app polls for res pons e us ing correlation id (with organization certificate and organization id in s oap header)
11 WS adapter retrieves res pons e mes s age from res pons e queue
12 WS adapter s ends s oap res pons e to client app

Message Flow: Request/Acknowledge/Notify

Mes s age flow examples 21


O pen Smart Grid Platform Documentation

S te p De s crip tion
1-8 Same as reques t/acknowledge/poll mes s age flow
9 Domain adapter forwards res pons e mes s age to WS adapter
10 WS adapter s tores res pons e in DB
11 WS adapter s ends s oap notification with correlation id to the client app*
12 Client app s ends s oap reques t with correlation id to retrieve the res pons e
13 WS adapter retrieves (and deletes ) res pons e from DB
14 WS adapter s ends s oap res pons e to the client app

*In cas e the res pons e is not timely retrieved by the client app, O SGP will res end the notification with correlation id to the
client app. T he amount of retries is configurable.

Mes s age flow examples 22


O pen Smart Grid Platform Documentation

Logical Authorisation Model


Logical Authorisation Data Model
Authe ntication of op e n s mart g rid p latform

T he O pen Smart Grid Platform contains an extens ive authorization model, which enables a device owner to give certain
rights on certain devices to other organizations . Every organization will only s ee devices they have rights to.

T his model dis plays the mos t important entities of the open s mart grid platform s ys tem and their mutual relations hips .

Image of Logical Authorisation Data Model

T he logic of the model above:

At the top of the image is the entity "authoris ation". T his repres ents the permis s ions of an organization on a certain device. In
general an organis ation will have a lot of permis s ions , at leas t one for each device it needs to manage.

T he functions an organis ation can execute on a device are determined by the function group the authoris ation refers to.
Function groups are collections of functions and are predefined in the s oftware. T he following function groups have been
predefined.

O wner-group (this contains all functions )


Ad hoc-group (Functions for ad hoc s witching of lighting)
Management-group (Platform functions )
Ins tallation-group (Functions to ins tall devices )
Firmware-group (Functions for updating firmware)
Schedule-group (Functions to create lighting s chedules )

Logical Authoris ation Model 23


O pen Smart Grid Platform Documentation

T ariff s cheme-group (Functions to create tariff groups )


Configuration-group (Functions to configure devices )
Monitoring-group (Functions to monitor devices )

T his s tructure provides maximum flexibility when as s igning rights to devices . Devices always belong to an O wner. An owner
is an organis ation, but not every organis ation is an owner. A device can have more than one owner. T he entity "Event", at the
bottom of the image, is the execution of a function by an organis ation on a device.

Details like device-type, device-s tatus , etc. have been omitted from this model.

O ne s ecurity requirement is that each event mus t be traced back to a 'natural' pers on, als o known as an audit trail. Although
the open s mart grid platform does not regis ter individual us ers we can meet this requirement by regis tering a data-item with
each event. T his enables the us er organis ation to inves tigate which events belongs to which 'natural' pers on. T his data-item
can for example be an us er-ID provided by the us er organis ation which does n't have to be unique in the open s mart grid
platform.

T able des cribing the entities in the logical data-model

Entity De s crip tion


Authorization – Permis s ions of an organis ation to execute a certain function (member of a role) on a certain
authorization
device
Electronics pres ent in a "container" (for example a lamp pos t), connecting to the open s mart grid platform and
device
(in cas e of a lamp pos t) controls the lights . O ne device has one owner.
audit trail T he actions of an organization on a device. A combination of [time, organization, function and device].
function An end-to-end operation. For example "s et s chedule". A function belongs to multiple function groups .
function Us ually this will be larger groups than the "function clus ters " in this document. All functions available to end
group us ers could be in a s ingle group for example.
organization A party playing a role in the management and control of the devices , for example municipalities .
owner An organization role. Each device has an owner.
An event reported by the device (which is not the action of a natural pers on) for example an error or s ecurity
event
problem.

An organization can get rights to one or more function groups , and thus all functions in that function group will be available
to this organization.

T o ens ure that devices can only receive ins tructions from a 'genuine' open s mart grid platform it mus t be pos s ible to
authenticate the open s mart grid platform. T his is implemented through a s tandard technology bas ed on as ymmetric
encryption (if s upported by the Device). T he open s mart grid platform will receive a unique key to enable the devices to tell if
the mes s ages come from a 'genuine' open s mart grid platform. Both O SLP and DLMS device types us e this kind of
encryption. T o prevent replay-attacks each mes s age will get an index number (this is s tandard practice as well).

Authe ntication of d e vice s

T o ens ure that the open s mart grid platform can dis tinguis h between 'genuine' devices and 'illegal' devices , all devices are
s upplied with a manufacturer key. Each device has a unique key. Becaus e of the as ymmetrical encryption the platform
contains the public part of each key. In this way devices can be identified by their unique key and their unique hardware ID.
T he device-ID will be encrypted in each mes s age s ent from the device to the platform.

All communication between the open s mart grid platform and the devices will be s igned with thes e keys to ens ure (1) the
s ource is legitimate and (2) to ens ure the integrity of the mes s age. It is not neces s ary to encrypt the whole mes s age becaus e
confidentiality is not important. T his res ults in a les s computationally intens ive proces s .

When a key is s tolen (by hacking a device) this will not affect the integrity of the other devices . Each device has an unique key
after all and only the hacked device has to be excluded from communication in the platform.

T he s ecurity is independent from the carrier (GPRS, CDMA, Ethernet, etc.). T he open s mart grid platform s upports
s ymmetric and as ymmetric encryption (depends on device and protocol).

For O SLP devices , the firmware will be us ed to dis tribute keys to devices . In this way we can us e the exis ting s ecure
firmware update mechanis m for updating keys and certificates . DLMS devices us e a mechanis m to s witch keys that is not
dependent on firmware updates .

Additional s ecurity may be provided by us ing T LS communication.

Authoris ation of org anis ations

Authoris ation for us e of the platform functionalities is handled by function groups . Function groups are defined for both
platform functionality and device functionality. Each function group has one or more functions . Acces s to device functions
can be s et per device. T he tables below s how an overview of all function-groups and device-functions and platform-groups
and platform-functions res pectively.

Logical Authoris ation Model 24


O pen Smart Grid Platform Documentation

Group s
Functions O WNER INST ALLAT IO N AD_HO C MANAGEMENT FIRMWARE SCHEDULING T ARIFF_SCHEDULING
GET _DEVICE_AUT HO RISAT IO N X X X X X X X
SET _DEVICE_AUT HO RISAT IO N X
ST ART _SELF_T EST X X
ST O P_SELF_T EST X X
SET _LIGHT X X
GET _ST AT US X X
RESUME_SCHEDULE X X
SET _REBO O T X X
SET _T RANSIT IO N X X
SET _EVENT _NO T IFICAT IO NS X X
GET _EVENT _NO T IFICAT IO NS X X
REMO VE_DEVICE X X
UPDAT E_FIRMWARE X X
GET _FIRMWARE_VERSIO N X X
SET _SCHEDULE X X
SET _T ARIFF_SCHEDULE X X
SET _CO NFIGURAT IO N X
GET _CO NFIGURAT IO N X
GET _ACT UAL_PO WER_USAGE X
GET _PO WER_USAGE_HIST O RY X
Group s
Functions ADMIN USER
CREAT E_O RGANISAT IO N X
GET _O RGANISAT IO NS X X
GET _DEVICE_NO _O WNER X
GET _MESSAGES X
FIND_DEVICES X
SET _O WNER X

Logical Authoris ation Model 25


O pen Smart Grid Platform Documentation

Non-functional overview
Non-functional view
T he non-functional view is an overview of the mos t s ignificant non-functional demands .

T he identified non-functional demands are:

T ime Behavior
Extens ibility
Internationalis ation and localis ation
Security
Scalability

Non-functional overview 26
O pen Smart Grid Platform Documentation

TimeBehavior
Time Behavior
T ime behavior is mainly important in the Flexovl application when a lot of devices have to be addres s ed in a s hort period of
time over a wireles s network. Both latency and limited bandwidth have to be taken into cons ideration while demanding the
coordinated on and off s witching of the lighting, s ince we want to avoid the Chris tmas tree effect.

T ime s ynchronization: devices periodically regis ter with the platform and receive a time.
Protocol: becaus e of the limited bandwidth an efficient protocol "protobuf" was s elected.

Points of inte re s t:

Light metering mes s ages


When the SSLD's are dis abled the PSLDs cannot be addres s ed

Becaus e of thes e points of interes t we us e mes s age queueing combined with a retry mechanis m of delayed delivery.

T he platform and devices us e UT C time. T he O SLP protocol between platform and devices us es UT C time as well.

T imeBehavior 27
O pen Smart Grid Platform Documentation

Internationalization and localization


Internationalization and localization
T he platform and devices us e UT C time. T he O SLP protocol between platform and devices us es UT C time as well.

Internationalization and localization 28


O pen Smart Grid Platform Documentation

Security
Security
T he following s ecurity meas ures can be us ed in a hos ted environment:

Cloud s ecurity
DDO S protection
IPSEC VPN connections
IP whitelis ting

Mos t cloud environments s upport thes e features .

Operating Sys tem


Hardened operating s ys tems (according to Center of Internet Security)

Platform s ecurity
Communication over T LS
Firewalls between all s ervers and layers
Certificates from a recognized Certificate Authority (CA)
Audit trail on all actions throughout the platform
Role bas ed authorizations on s pecific functions of devices
Acces s control
Unique device identification

For every major releas e there will be a mandated s ecurity tes t initiated by Smart Society Services .

In cooperation with the European Network of Cyber Security (ENCS) s tate of the art s ecurity meas ures were implemented.

Security per device


Security per application
Security Certificates per O rganis ation and per device

All communication is encrypted

Security 29
O pen Smart Grid Platform Documentation

S e curity me as ure s :

1. Firewall in defined zone


2. O perating Sys tem Hardening
3. DDO S protection
4. Replay attack prevention
5. Private encryption key per device
6. Certificates from a Certificate Authority
7. Encryption via Elliptic Curve DSA
8. IPSEC VPN for CDMA and GPRS
9. Unique device identification
10. Unique CDMA modem number
11. Role bas ed authorizations on functions and devices

Encryp tion

An analys is of s afety as pects has led to the decis ion that the s afety of the whole s ys tem will be realized by proven
technology bas ed on as ymmetrical coding (als o known as public-key encryption).

Authe ntication of we b ap p lications

T wo-way SSL will be us ed between web applications and the O pen Smart Grid Platform to verify the identities for both client
and s erver. Us er organis ations are res pons ible for the adminis tration of the identity of and acces s to their web applications .
T he web applications feature a login page. After s ucces s ful login the us er is linked to an organis ation. Pas s words will be
s tored with encryption. T he organis ation ID will be s ent in each mes s age to the O pen Smart Grid Platform and will be
verified by the SSL certificate.

Alg orithms

O nly public encryption Algorithms will be us ed. Due to performance limitations (of the devices ) and recommendations from

Security 30
O pen Smart Grid Platform Documentation

T he European Network for Cyber Security (ENCS) Elliptic Curve DSA with 256-bit-keys was s elected. T his improves the
s ecurity and efficiency over the 1024 bit RSA algorithm. Mes s ages can be s maller and les s proces s or capacity is needed. T he
key length of Elliptic Curve DSA is s imilar to the 3072 bit key length of RSA.

Note: Even though the open s mart grid platform us es ECDSA to s ecure the O SLP, other encryptions may be us ed as well.
T he RSA Algorithm is s till s upported if preferred. T his is a flexible configuration option.

Private APN

A private APN is us ed for linking to mobile data communication infras tructures .

Log g ing
Every action to and from devices is logged in the audit trail
Mes s ages from unknown devices will be denied (and logged)

Security 31
O pen Smart Grid Platform Documentation

Scalability
Scalability
T he O pen Smart Grid Platform is des igned and built for s calability and reliability

Mes s ages will never get los t, In the wors t cas e s cenario, a mes s age will be s ent to the dead letter queue.
Any layer of the platform can be independently s caled up- and down
Adding s ervers can be done runtime
It can run in an active-active s etup over multiple s ervers and data centers . In our cloud hos ted s etup even over s ets of
data centers in different countries .

Scalability 32
O pen Smart Grid Platform Documentation

Scalability 33
O pen Smart Grid Platform Documentation

Redundancy
Redundancy
T his chapter des cribes the pos s ibilities of a redundant s et up of the O pen Smart Grid Platform. T he Platform is des igned to
run in a High Available (or HA) environment, and to prevent data los s due to unexpected failures . Each component of the
Platform is des igned to be s tateles s . Components communicate with each other us ing mes s age queues , which are proces s ed
in an as ynchronous way.

Active -active

In an active-active s etup, multiple ins tances of each component (eg. Web Services , Core, Protocol Adapter) proces s the data
at the s ame time. T raffic is equally dis tributed acros s the ins tances . In cas e of a defect in one ins tance the traffic is
automatically proces s ed by the remaining ins tance(s ). T he O pen Smart Grid Platform is des igned to run in s uch a s et up, and
thus preventing down time in cas e of a failing s erver. Each component of the Platform can run in an independent, redundant
and s calable way.

Datab as e

T he O pen Smart Grid Platform us es a Pos tgreSQ L databas e. Pos tgreSQ L s upports multiple databas e s ervers . For example,
a s lave and mas ter node, where the s lave node continuous ly replicates the mas ter node. In cas e the mas ter node fails , the
s lave mode is triggered and will s top replicating from the mas ter node, execute a recovery and will become the mas ter node.

Active MQ

T he components of the Platform communicate with each other through a Mes s age Q ueue. T he O pen Smart Grid Platform
us es Apache Active Mes s age Q ueue, which makes as ynchronous communication pos s ible between components . T he
components can regis ter to the queues as cons umers . In cas e a cons umer (e.g. a s erver running a component of the platform)
is down, the mes s age will s till be cons umed by the remaining cons umer(s ). T he Mes s age Brokers can be us ed as a
Mas terSlave. In cas e the Mas ter mes s age broker is down, you get immediate fail-over to the s lave without los s of mes s ages .

Redundancy 34
O pen Smart Grid Platform Documentation

Redundancy 35
O pen Smart Grid Platform Documentation

Performance
Performance
T his chapter des cribes the res ults of a performance tes t, to give potential us ers an indication of the s ys tem requirements for
the platform.

T he Platform was tes ted with the following AWS s etup:

Sys tems :

S p e cifications Comp one nt S e rve r: 2 CPU's , 8 GB RAM


S p e cifications Datab as e S e rve r: 1 CPU, 2 GB RAM

Setup:

Front-e nd : 2x Component Server


Mid d le -e nd : 2x Component Server
Back-e nd : 2x Component Server
Active MQ Front-Mid d le : 1x Component Server
Active MQ Mid d le -Back: 1x Component Server
Datab as e s : 1x DB Server

For the tes t to s ucceed, two requirements were to be met:

1. Switch 10.000 s imulated O SLP devices under 5 minutes .


2. Switch 40.000 s imulated O SLP devices under 5 minutes .

T he res ults s howed that both tes ts s ucceeded.

Performance 36
O pen Smart Grid Platform Documentation

Technical Overview
Technical Architecture
T his chapter gives a more technical overview. It des cribes each layer of the platform by giving an overview of its packages
and the code it contains . Furthermore it des cribes how a mes s age proceeds through the platform. If you are planning on
adding your own Domain Adapter or Protocol Adapter, it will be us eful to read this chapter to get a feeling of how the
Platform has been built.

A Re q ue s t throug h the Platform

T he picture below depicts an example of a reques t (O SLP SetLight reques t) proceeding through the platform to a device.

A web reques t enters the platform at its EndPoint, which in turns calls the Reques tService. T he Reques tService
checks if the organis ation in the reques t is authorized, creates the reques t mes s age and s ends it to the
Mes s ageSender which in turn puts it on the queue of the Domain Adapter.
In the Domain Adapter, the incoming mes s age is proces s ed in the Mes s ageProces s or, which in turn calls the Reques t
Service. Here the mes s age is converted to a DT O object. T he CoreReques tMes s ageSender puts the mes s age on the
Core Q ueue.
T he Mes s ageLis tener in Core receives the mes s age. T he DeviceReques tMes s ageService contains generic
functionality s uch as Authorization, Validation, etc. O nce thes e procedures are completed, the mes s age is routed to
the appropriate protocol adapter.
In the Protocol Adapter the mes s age is received by the Mes s ageLis tener. It is proces s ed through the
Mes s ageProces s or and O s lpDeviceService. T he reques t eventually ends up in the O s lpChannelHandler, where the
actual Protocol Reques t to the device is made.

For a detailed des cription of each layer, pleas e take a look at a more detailed des cription of each layer in this chapter.

Config uration file s

T he Platform us es property files for certain s ettings (s uch as JMS s ettings , Pers is tence s ettings , etc.). T hes e files are s tored
in property files which can be found in the Config repos itory on Github. T hes e files are s ym linked to /etc/os p/, where the
Platform (through reference in context.xml) looks for the property files .

T echnical O verview 37
O pen Smart Grid Platform Documentation

T echnical O verview 38
O pen Smart Grid Platform Documentation

Web Services Layer


Web Services
T he Web Services layer contains the web s ervices that are us ed to communicate with the Platform. T he O pen Source Smart
Grid Platform us es the Simple O bject Acces s Protocol or SO AP to expos e its interfaces . T he Web Services Adapter
receives reques ts and s ends thos e to the Domain Adapter. An incoming reques t is converted to a Domain O bject, and put on
the Mes s ageQ ueue of the Domain layer. T he Web Services layer als o has a queue for incoming res pons es from the Domain
adapter.

Each domain of the Platform has its own web s ervices :

Ge ne ric

Core - os gp-adapter-ws -core: Contains the Core (common) web s ervices .


Admin - os gp-adapter-ws -admin: Contains the Admin web s ervices .
Shared - os gp-adapter-ws -s hared: Contains s hared endpoints , s uch as header authorization
Databas e - os gp-adapter-ws -db: Contains repos itories for pers is tence.

Domain

Public Lighting - os gp-adapter-ws -publiclighting: Contains the Public Lighting web s ervices .
Smart Metering - os gp-adapter-ws -s martmetering: Contains the Smart Metering web s ervices .
T ariff Swithcing - os gp-adapter-ws -tariffs witching: Contains the T ariff Switching web s ervices .
Microgrids - os gp-adapter-ws -microgrids : Contains the Micro Grids web s ervices .
Dis tribution Automation - os gp-adapter-ws -dis tributionautomation: Contains the Dis tribution Automation web
s ervices .

For a des cription of the WSDL's s ee the Domain Chapter.

General Packag e s tructure


A des cription of the general package s tructure of a web s ervice component.

ap p lication

config: Contains the configuration files for the Component. Us es the property files in /etc/os p/. -- ApplicationContext -
- AdapterInitializer -- Mes s agingConfig -- Pers is tenceConfig -- WebServiceConfig
exceptionhandling: Exceptions are defined here.
mapping: Cus tom O rika converters .
s ervices : Contains s ervices us ed by the domain, s uch as AdHocManagement. T hes e are called by the end points and
convert the reques t to a Domain O bject and put the reques t on the domain mes s age queue us ing the JMS clas s es .

e nd p oints

EndPoints for the web s ervices : contain a reference to a s ervice that proceeds with handling the reques t.

infra

jms : contains the JMS clas s es s uch as : -- Mes s ageSender(s ) -- Mes s ageT ype -- Res pons eMes s ageFinder

we b ap p

T he WSDL and s chema definitions can be found under main/webapp/WEB_INF/ws dl.

Web Services Layer 39


O pen Smart Grid Platform Documentation

Domain Layer
Domain Adapters
T he Domain Adapters are res pons ible for receiving reques ts from the Web Services layer, and delivering them to the Core
layer. T he Domain Layer mainly contains Mes s ageProces s ors and Services for reques t handling.

T he Core/Admin components contains the s hared functionality, while the Domain components contain additional domain
s pecific functionality.

At the moment the Platform us es the following Domain Adapters :

Generic

Core - os gp-adapter-domain-core: Contains Core (common) functionality; AdHocManagement,


FirmwareManagement, etc.
Admin - os gp-adapter-domain-admin: Contains Admin functionality, e.g. DeviceManagement.

Domain

Public Lighting - os gp-adapter-domain-publiclighting: Contains functionality for the Public Lighting Domain.
Smart Metering - os gp-adapter-domain-s martmetering: Contains functionality for the Smart Metering Domain.
T ariff Switching - os gp-adapter-domain-tariffs witching: Contains functionality for the T ariff Switching Domain.
Microgrids - os gp-adapter-domain-microgrids : Contains functionality for the Micro Grids domain.
Dis tribution Automation - os gp-adapter-domain-dis tributionautomation: Contains functionality for the Dis tribution
Automation domain.

General Packag e s tructure

ap p lication

config: Contains the configuration files for the Component. Us es the property files in /etc/os p/. -- ApplicationContext -
- DomainAdapterInitializer -- Mes s agingConfig -- Pers is tenceConfig
mapping: Cus tom O rika converters for mapping to/from DomainO bjects /DT O O bjects .
s ervices : Contains mos t of the domain logic, related to the s pecific s ervices of the adapter. T he s ervice clas s es
converts DT O objects to Domain objects (or vice vers a), and put the reques t on the Core queue through the JMS
clas s es .

infra

jms .core: Inbound/outbound mes s ages from/to the Core layer. T his package contains Mes s ages , Mes s ageLis teners ,
Mes s ageSenders and Mes s ageProces s ors for s ending reques ts to the Core Q ueue, or receiving and proces s ing
res pons es from Core.
jms .ws : Inbound/outbound mes s ages from/to the web s ervices layer. T his package contains Mes s ages ,
Mes s ageLis teners , Mes s ageSenders and Mes s ageProces s ors for s ending reques ts to the Web Services Q ueue, or
receiving and proces s ing res pons es from the web s ervices layer.

Domain Layer 40
O pen Smart Grid Platform Documentation

Core Layer
Core Layer
T he Core layer of the O pen Source Grid Platform is res pons ible for Validation, T rans lation, Authoris ation and Routing of
reques t mes s ages . It als o contains all the Domain O bjects .

T he core layer cons is ts of two components :

os gp-domain-core: Shared Domain objects , s ervices , repos itories , etc. T hes e clas s es are us ed through the entire
platform.
os gp-core: Logic for routing domain reques ts , s cheduling, retrying, etc.

General Packag e s tructure: os g p-domain-core


entities : Defines the entities us ed for pers is tence.
exceptions : Domain s pecific exceptions res ide here.
repos itories : Repos itories that contain logic for pers is ting entities .
s ervices : Domain s ervices that reference a repos itory.
s pecifications : Interfaces that define s pecifications for Devices and Events .
validations : Validators and cons traints .
valueobjects : Definitions of the Domain O bjects .

General Packag e s tructure: os g p-core

ap p lication

config: Contains the configuration files for the Component. Us es the property files in /etc/os p/. -- ApplicationContext -
- O s gpCoreInitializer -- DomainMes s agingConfig -- Pers is tenceConfig -- ProtocolMes s agingConfig --
SchedulingConfig
s ervices : Services that proces s device reques ts / res pons es . Checks for authorization, and if the reques t is s upported
by the platform, it will be routed to the appropriate protocol adapter.
tas ks : Contains tas k s cheduler logic.

d omain.mod e l

T hes e packages contain interfaces for the Services .

domain: Interfaces for the Domain s ervices .


protocol: Interfaces for the Protocol s ervices .

infra.jms

domain: Contains Mes s ages , Mes s ageLis teners and Mes s ageProces s ors for Domain related mes s aging.
protocol: Contains Mes s ages , Mes s ageLis teners and Mes s ageProces s ors for Protocol related mes s aging.

Core Layer 41
O pen Smart Grid Platform Documentation

Protocol Layer
Protocol Adapters
T he Protocol Adapters are res pons ible for the actual communication to and from a device. T hey us ually operate in a certain
domain, and might us e common/ generic functions from the platform.

T he O pen Smart Grid Platform currently has the following protocol adapters :

Protocol-Adapter-DLMS: Smart Metering


Protocol-Adapter-IEC61850: Public Lighting, Micro Grids and Dis tribution Automation
Protocol-Adapter-O SLP: Public Lighting and Micro Grids

General packag e s tructure

ap p lication

config: Contains the configuration files for the Component. Us es the property files in /etc/os p/. -- ApplicationContext -
- Mes s agingConfig -- O s gpProtocolAdapterO s lpInitializer -- O s lpConfig -- O s lpPers is tenceConfig
mapping: Cus tom O rika converters .
s ervices : Contains the (functional) s ervices that control communication from (and to) the device. Als o pers is ts
reques ts and res pons es , and deals with s ecurity. Actual communication is done through the clas s es in the infra
package.

d e vice

Contains the Protocol Adapter O bjects us ed for the Protocol Adapter.

reques ts : O bjects repres enting the reques ts that are s upported by this adapter.
res pons es : O bjects repres enting the res pons es that are s upported by this adapter.

d omain

entities : Entities us ed for pers is tence.


repos itories : Repos itories us ed for pers is tence.

e xce p tions

Contains the exceptions that might be thrown while communication with a device, e.g. ValidationException,
Mes s ageRejectedException, etc.

infra

T his package contains all the code for communication through JMS (Platform) and Networking (Device).

mes s aging: Contains the JMS Mes s ages , Mes s ageLis teners , Mes s ageSenders and Mes s ageProces s ors .
networking: Contains the clas s es that are res pons ible for connecting to a device us ing a certain protocol.

s e rvice s

Services us ed to check the reques t s tatus .

Protocol Layer 42
O pen Smart Grid Platform Documentation

Technology Stack
Tools and technology used
Platform
Apache ActiveMQ : O pen s ource mes s aging s erver, us ed to relay mes s ages between components of the open s mart
grid platform. ActiveMQ is an open s ource mes s age broker written in Java and a full Java Mes s age Service (JMS)
client. It provides "Enterpris e Features " which in this cas e means fos tering the communication from more than one
client or s erver.
Apache HT T P s erver: Web s erver, us ed as front for Apache T omcat.
Apache T omcat: Provides a "pure Java" s ervlet container for Java code to run in.
pgAdmin-III: Pos tgreSQ L adminis tration and management tools .
Protobuf (Google Protocol Buffers ): A language-neutral, platform-neutral, extens ible way of s erializing s tructured
data for us e in communications protocols , data s torage, and more.
Flyway: Agile databas e migration framework for Java
HikariCP: JDBC connection pool
Hibernate: O bject/Relational mapping
Netty: Network application framework for protocol s ervers & clients
O penMUC: Library implementing the IEC61850 and DLMS/CO SEM communication s tandard
O rika: Java bean mapping
Spring: Application development framework. Several Spring libraries are us ed, including Spring Data, Spring
Security and Spring WS.
Puppet: Application for Automatically delivering, operating and s ecuring your infras tructure

Development
Bower: Package manager for Javas cript packages . Web applications cons is t of various components ; frameworks ,
libraries , as s ets , utilities , and rainbows . Bower manages all thes e things for you.
Eclips e: IDE for developing s oftware.
FileZilla: FT P application.
Git: Vers ion control s ys tem.
NodeJS: T ooling s uite with various Javas cript tools .
NPM: Package manager for the NodeJS Javas cript applications .
Putty: A free and open-s ource terminal emulator, s erial cons ole and network file trans fer application.
Vim: Source code editor.
Apache Maven: Software project management tool.
GIT & GitHub: Source code management.

Tes ting &QA


Apache JMeter: Application des igned to load tes t functional behaviour and meas ure performance.
Cucumber: automated acceptance tes ting framework.
Gherkin: DSL for acceptence tes ting framework.
Sonarqube: Q uality management platform.
SoapUI: Functional tes ting tool for tes ting web s ervices .
JUnit: Unit tes ting.
Mockito: A Mock framework for Unit tes ting.

T he following table pres ents an overview of the components and the mos t important technical choices per component.

Comp one nt T e chnolog y


O pen Smart Grid Platform Java, Spring Framework, Hibernate, Netty
Demo application Java, Spring Framework, Spring MVC
Web s ervices SO AP, WSDL
O SLP Protocol Google Protocol Buffers
Comp one nt (not op e n s ource ) T e chnolog y
O SGP Management application Java, Spring Framework, Spring MVC
Net-Management application Java, Spring Framework, JAX-RS, AngularJS
Liander Ins tallatie application Java, Spring Framework, JAX-RS, AngularJS

T echnology Stack 43
O pen Smart Grid Platform Documentation

Use cases
Use cases
T he open s mart grid platform us e-cas es are s trongly related to the open s mart grid platform domains . Up-to-date
information on us e-cas es can be found on the open s mart grid platform webs ite.

Us e cas es 44
O pen Smart Grid Platform Documentation

General User's Guide


CHAPTER 2. User's Guide
Sys Admins who are tas ked with keeping the O pen Source Grid Platform running on a environment, can find s ome information
in this chapter.

Get Started
T o get s tarted with O pen Source Grid Platform, pleas e read our Introduction. T he Introduction offers an excellent overview
of the Platform and its features .

A next s tep could be to have a look at the WSDL's to unders tand which functions are pres ent per functional domain.
Depending on the functional domain one is interes ted in, one could als o have a look at the Protocol Adapter and device
s imulator for the domain.

Ins tallation
If a full ins tallation is des ired, have a look at our Ins tallation Guide. T his can be us ed to s etup a development environment
which can be us ed to s tart the Platform and run it. Ins tallation on one or s everal s ervers can be derived from the s teps within
the Ins tallation Script.

General Us er's Guide 45


O pen Smart Grid Platform Documentation

Installation Guide
Installation Script
T o get s tarted quickly, a Vagrant Ins tallation Guide has been created and a guide for Manual Ins tallation.

T he goal of the ins tallation manual is to control a s imulated O SLP device through the Platform. Below, is a s ummary of all
s teps involved. See the next chapters for a detailed guide with s creens hots . Pleas e follow the s teps carefully.

A s ummary of the s teps involved:

Creating a virtual machine us ing Vagrant and Virtual Box


Run the puppet s cript (part of the Vagrant ins tallation), or complete the s teps manually (Manual ins tallation)
Importing Maven Projects into Eclips e
Creating an Apache T omcat7 Server
Setting Up Apache T omcat7 Server Context
Deploying all open s mart grid platform components to an Apache T omcat7 Server
Starting Apache ActiveMQ
Starting Apache T omcat7 Server
Creating the 'tes t-org' organization in the Databas e
Setting up SoapUI
Firs t SO AP Reques ts to add a device to the open s mart grid platform
O pening Device Simulator to add a device
Regis tering a device
Us ing 'SetLight' SO AP Reques t to s witch the light on

Ins tallation Guide 46


O pen Smart Grid Platform Documentation

Installation
Open Smart Grid Platform Installation
T o ins tall the platform you can us e one of the following procedures .

1. T he Vagrant Ins tallation. T his procedure creates and ins talls a complete image with the O pen Smart Grid Platform
pre-ins talled, including all the tools s uch as Maven, Eclips e, SoapUI, etc.
2. T he Manual Ins tallation. Follow this guide if you want to ins tall the O pen Smart Grid Platform yours elf.

Ins tallation 47
O pen Smart Grid Platform Documentation

Vagrant
Installation
T his document des cribes the automatic ins tallation procedure for your O pen Smart Grid Platform development environment.

Manual ins tallation


If you would like to follow the manual ins tallation p roce d ure , pleas e proceed to the Manual Ins tallation Chapter.

Overview
Cre a tin g a Virtu a l Ma c h in e u s in g Virtu a l B o x a n d Va g ra n t

T o improve the us ability of the Ins tallation proces s , a Vagrant file and s ome puppet s cripts are us ed to automatically s et-up
an virtual O pen Smart Grid Platform development environment. T he following s teps will des cribe how to ins tall VirtualBox,
Vagrant and kick off the procedure by running the vagrant up command.

Sys tem Requirements


T he following s ys tem requirements are recommended:

Core i5/i7 ~2.5GHz Dual Core, Q uad Core recommended


At leas t 6 GB RAM, 8 GB RAM recommended
At leas t 20 GB free s pace, 50 GB free s pace recommended

T he ins tallation procedure has been tes ted on Windows 7, Windows 10, MacO S, Ubuntu 14.04 and Ubuntu 16.04.

Ins tall Vag rant and VirtualBox


Start by downloading VirtualBox by going to https ://www.virtualbox.org/wiki/Downloads And follow the ins tallation s teps .

note : If you already have VirtualBox, make s ure it is at leas t ve rs ion 5.1.32

Ins tallation 48
O pen Smart Grid Platform Documentation

note : Check whether Virtualbox s tores the images on a drive with enough free s pace. (O pen O racle VM VirtualBox
Manager -> Preferences -> General -> Default Machine Folder).

Now download and ins tall Vagrant. Vagrant is available at the following URL: https ://www.vagrantup.com/downloads .html

Ins tallation 49
O pen Smart Grid Platform Documentation

note : If you already have Vagrant, make s ure it is at leas t ve rs ion 2.1.1 Complete the ins tallation and res tart your PC.

note : If you did a fres h ins tall of Vagrant and already had a command prompt open, make s ure you clos e this command
prompt and open it again.

T ip

Remember to enable Virtualization in your s ys tem BIO S.


Als o dis able Hyper-V in Windows (can be found in Windows Features )

Download and run the Vagrant file


Firs t create a new directory (for example: D:\My Vagrant Images\OSGP Development\)

Brows e to https ://github.com/O SGP/Config/tree/development/vagrant and s ave the png image and Vagrantfile files in your
newly created directory.

Ins tallation 50
O pen Smart Grid Platform Documentation

Note

Make s ure that the file is named like this : Vagrantfile without an extens ion!
If the file has an extens ion (for example .txt) you can rename the file us ing the following cons ole command.
MacO S/Linux:

mv Vagrantfile.txt Vagrantfile

Windows :

move Vagrantfile.txt Vagrantfile

Now open a Command Prompt and navigate to the newly created directory where you jus t put the files .

note : When you open the Vagrantfile you s ee that default the image is configured to run in virtualbox with 2 cpu cores
and 8192 MB of RAM. If you need to you can change this to more or les s cpu cores and RAM, but it is recommended to
us e the provided s ettings .

Run the following command: vagrant up

note : In cas e of error bad uri Images /O SGP Development/has hicorp/cxtlabs /vagrant-ubuntu-16.04-mate then us e the
following command;

vagrant des troy


vagrant box add cxtlabs /vagrant-ubuntu-16.04-mate
vagrant up

Ins tallation 51
O pen Smart Grid Platform Documentation

Vagrant will now automatically download an Ubuntu image (+- 2.6 Gb), create a virtualbox image from it and run the
ins tallation puppet s cript when finis hed. T his might take a while, depending on your internet s peed. After s ome time (while
the s cript is s till running) you will notice that a window with an Ubuntu Virtual Machine pops -up. Don't log in yet, wait until the
s cript in the Cons ole is finis hed.

T ip

Ins tallation 52
O pen Smart Grid Platform Documentation

If the s cript fails for s ome reas on (eg. Errors in the cons ole s uch as time outs during downloading), you can retry the
procedure by running the following command vagrant destroy && vagrant up

Now that the s cript has ran its cours e, it will automatically log in on the Ubuntu virtual machine as us er dev.

note : For s ome actions , like sudo, you will have to enter the pas s word of us er dev. T he pas s word for us er dev is dev.

Optimize your Open Smart Grid Platform Development virtualbox image.


At this point you als o can adjus t the virtualbox s ettings like cpus and memory s ize. If you don't want to adjus t this proceed to
Chapter 2.1.2. Platform Setup.

If you do want to update the virtualbox s ettings for this image, s hut down the image firs t:

Ins tallation 53
O pen Smart Grid Platform Documentation

O nce the machine has been Shut Down, open VirtualBox and right click on the new virtual machine (called "O SGP
Development") and s elect Settings . Go to Sys tem and increas e the Bas e Memory of the s ys tem to at leas t 6144 MB (6 GB) (or
the maximum recommended (in green) amount for your s ys tem).

Now go to the Proces s or T ab and increas e the amount of Proces s ors to the maximum recommended (in green) amount.

Ins tallation 54
O pen Smart Grid Platform Documentation

Clos e the Settings window and Start the Virtual Machine again. O nce it is booted, you s hould be automatically logged in as
the 'dev' us er.

Post actions
In order to us e git correctly you need to execute the following commands in a terminal:

git config --global user.name "your full name"


git config --global user.email yourEmailAddress

Recap
You jus t created a virtual machine running Ubuntu with pre-ins talled tooling. Proceed with Platform Setup of the guide
des cribing how to s et-up the open s mart grid platform.

Ins tallation 55
O pen Smart Grid Platform Documentation

Manual Setup
Manual Ins tallation
T his chapter des cribes the s teps for a manual ins tallation (eg. not us ing the vagrant s cript and puppet s cripts ). T his chapter
is for developers who would like to have more control over the ins tallation procedure.

With the increas ed control come increas ed ris ks of things not working with the vers ions or configuration of the s oftware
involved with the O SGP environment. If you run into is s ues , you may find clues in the puppet s cripts about vers ions and
modifications to the configuration of ins talled s oftware.

Note

Skip this chapter if you followed the Vagrant ins tallation! You can continue with next chapter: Setup the O pen Smart
grid Platform

Operating Sys tem


T he O pen Smart Grid Platform runs on a Linux environment. It is recommended to s et up a machine running Ubuntu.

Software and tools


T he O pen Smart Grid platform needs the following s oftware and tools ins talled/downloaded:

Java 8 openjdk-8
Pos tg re S QL and p g Ad min 3
Git
Mave n
Active MQ
T omcat
Ap ache HT T PD
S oap Ui
Eclip s e IDE for Java EE De ve lop e rs
Goog le Protocol Buffe rs : p rotob uf-comp ile r, lib p rotoc7 and lib p rotob uf7
Pos tg re S QL JDBC d rive r

Setting s

Us e r

It is recommended to create a 'dev' us er, becaus e s ome s cripts contain hard coded references to this 'dev' us er. It is pos s ible
to s kip this s tep, but then s ome of the s cripts will have to be adjus ted manually.

To m ca t

Place the Pos tgreSQ L JDBC driver jar in the T omcat lib directory.
Change permis s ions of T omcat Config files to 644 in the T omcat conf directory.

Ap a c h e HT T PD

Enable mod_s s l by running the following command:

a2enmod ssl

Enable proxy_ajp by running the following command:

a2enmod proxy_ajp

Java

Make s ure the JAVA_HO ME var is s et, and points to openjdk-8.

Cloning Sources
Clone the following repo's , it is recommended to create a Sources/OSGP directory in /home/dev/ s ince s ome s cripts
contain hard coded references to thos e folders .

git clone https://github.com/OSGP/Config.git /home/dev/Sources/OSGP/Config


git clone https://github.com/OSGP/open-smart-grid-platform.git /home/dev/Sources/OSGP/open-smart-grid-p
git clone https://github.com/OSGP/Documentation.git /home/dev/Sources/OSGP/Documentation

Ins tallation 56
O pen Smart Grid Platform Documentation

Make s ure you are on the development branch (default).

Creating directories and s ymlinks


Create the following directories :

/var/log/osp/logs
/etc/osp/

Make the dev us er (or equivalent) the owner of the log directory with rwx permis s ion. Give the other us ers read and execute
permis s ion.

Execute the s cript /home/dev/Sources/OSGP/Config/scripts/create-symlinks.sh

Note T his s cript us es hard coded references to /home/dev/Sources/OSGP/*, if you us ed a different us er, pleas e edit
the s cript before executing it.

T he s cript will make s ymlinks to certificates , to Apache HT T P s erver configuration and copy configuration s ettings as
s amples to locations where thes e properties may be overridden.

Initiating the Databas e


T o create the databas e run the following command (Change /home/dev/ in cas e of no dev us er)

sudo -u postgres /usr/bin/psql -p 5432 -f /home/dev/Sources/OSGP/Config/sql/create-users-and-databases.s

And create a backup of the pg_hba.conf file (modify if your vers ion of Pos tgreSQ L is different)

cp -p /etc/postgresql/9.4/main/pg_hba.conf /etc/postgresql/9.4/main/pg_hba.backup

Finally, reload the pos tgres ql s ervice:

service postgresql reload

Set up the Open Smart Grid Platform


Continue with s etting up the O pen Smart Grid Platform by following the Set up the O pen Smart Grid Platform Guide

Ins tallation 57
O pen Smart Grid Platform Documentation

Platform Setup
Setting Up the Open Smart Grid Platform Development environment
T his chapter des cribes all the s teps needed to finalize the open s mart grid platform development environment.

Importing Maven Projects into Eclips e


O pen Eclips e by clicking the s hortcut on the Des ktop and import the projects .

Go to File -> Import -> Exis ting Maven Projects , brows e to folder /home/dev/Sources/OSGP

Import the projects from location /home/dev/Sources/OSGP/open-smart-grid-platform.

Creating an Apache Tomcat Server


In Eclips e go to Window -> O pen Pers pective -> Debug

Platform Setup 58
O pen Smart Grid Platform Documentation

In the 'Debug' pers pective, go to the 'Servers ' view and add a new Apache T omcat s erver, T omcat is available in the folder
/home/dev/Tools/tomcat (or in another location if you didn't s et up a VM us ing Vagrant, the lates t vers ion us ually works
fine).

Click on Next

Platform Setup 59
O pen Smart Grid Platform Documentation

Click on Finis h

Platform Setup 60
O pen Smart Grid Platform Documentation

After adding the s erver, double click on the T omcat s erver in the 'Servers ' view and s et the following configuration: under
'T imeouts ' s et 'Start' to 600 and 'Stop' to 30.

Platform Setup 61
O pen Smart Grid Platform Documentation

Click on 'O pen launch configuration', click on the 'Arguments ' tab and add the following at the end of the 'VM arguments ': -
Xms512m -Xmx2048m -Xss512k -XX:MaxMetaspaceSize=1024m -XX:+CMSClassUnloadingEnabled -
XX:+UseConcMarkSweepGC -Dcom.sun.management.jmxremote=true

Platform Setup 62
O pen Smart Grid Platform Documentation

Platform Setup 63
O pen Smart Grid Platform Documentation

Setting Up Apache Tomcat Server Context


All modules contain their own context.xml. In the module s pecific context.xml are the environment variables defined where the
global and module s pecific configuration files are located. Default they will point to a location in /etc/osp/.

If you want to deviate from this , you might s et up the context.xml in T omcat to be able to redirect in one file to different
locations . T his is optional and not required. In order to us e a cus tom context.xml, copy the entries in
/home/dev/Sources/OSGP/Config/tomcat/context.xml.sample to the T omcat context.xml in the eclips e Servers
folder, to map configuration file names to file paths .

Platform Setup 64
O pen Smart Grid Platform Documentation

Deploying all Open Smart Grid Platform components to Apache Tomcat Server
Continue by adding the Maven Projects to the T omcat s erver by right clicking on the T omcat s erver and choos ing 'Add and
Remove'. Select all available res ources , except for os gp-protocol-s imulator-61850 (which is for advanced us e and requires
additional configuration), then click the 'Add' button.

Platform Setup 65
O pen Smart Grid Platform Documentation

At this point, eclips e's auto-build s hould have built the projects , and the T omcat s erver has been s etup.

Starting Apache ActiveMQ


Continue with s tarting Apache ActiveMQ . If you ins talled an environment as des cribed with Vagrant, you can double click the
ActiveMQ s hortcut on the des ktop.

Alternatively you can open a terminal and run the executable manually by us ing the following command: (the executable can be
found in the folder /home/dev/Tools/activemq/bin/linux-x86-64)

sudo ./activemq console

T his s tarts ActiveMQ as a terminal proces s (this way, ActiveMQ does n't detach from the terminal and s tarts running as a
daemon).

Platform Setup 66
O pen Smart Grid Platform Documentation

Starting Apache Tomcat Server


With ActiveMQ running, the T omcat s erver can be s tarted. Go to Eclips e, go to the Servers tab in the Debug view, and right
click on the T omcat s erver and s elect 'Start'.

Starting pg Admin III and Connect to Pos tg reSQL


O pen pgAdminIII and configure a connection: choos e the 'Add a connection to a s erver.' and fill out the fields us ing

Hos t: localhos t
Port: 5432
Us ername: os p_admin
Pas s word: 1234

Platform Setup 67
O pen Smart Grid Platform Documentation

Creating the 'tes t-org ' Org anization


Run the s cript in /home/dev/Sources/OSGP/Config/sql/create-test-org.sql to ins ert 'tes t-org' organization

Platform Setup 68
O pen Smart Grid Platform Documentation

into the organis ation table of the os gp_core databas e.

psql -U osp_admin -h localhost -d osgp_core -f /home/dev/Sources/OSGP/Config/sql/create-test-org.sql

If as ked for a pas s word, enter 1234

Go back to PgAdmin III, expand s ervers , s elect localhos t -> databas es -> os gp_core -> Schemas -> public -> T ables . Right
click the organis ation table and s elect to view data for the top 100 rows . Confirm that the tes t-org organis ation has been
added to the Databas e.

Now that everything has been s et up, continue to the next chapter to s tart tes ting the Platform by s ending it s ome reques ts .

Platform Setup 69
O pen Smart Grid Platform Documentation

Test the Platform


Testing the Open Smart Grid Platform
T here are two procedures for tes ting the O pen Smart Grid Platform.

1. SoapUI. Create and s end Soap reques ts to the Platform to manage a (s imulated) light.
2. PublicLighting Demo App. Us e the Demo App to s end reques ts to the Platform to manage a (s imulated) device.

T es t the Platform 70
O pen Smart Grid Platform Documentation

Using SoapUi
Tes ting the platform
T his chapter will des cribe the s teps needed to tes t the O pen Smart Grid Platform.

Setting Up SoapUI
Start SoapUI by double clicking the s hortcut on the Des ktop or run it manually by typing the following command in a terminal:

/home/dev/Tools/SoapUI/bin/soapui.sh

Go to File -> Preferences -> SSL Settings , and brows e for the KeyStore to
/home/dev/Sources/OSGP/Config/certificates/osgp-ca/certs/test-org.pfx and fill out the pas s word (the
pas s word is 1234)

Go to WSDL Settings and check 'Generate Example Values in New Reques ts ' and 'Generate Comments with T ype Information
in New Reques ts '

T es t the Platform 71
O pen Smart Grid Platform Documentation

Add the SoapUI projects to SoapUI


T here are s everal SoapUI project prepared, s ee /home/dev/Sources/OSGP/Config/soapui/. Import all SoapUI
projects pres ent in the folder mentioned above. Below, 2 projects are s hown as examples .

Adding the 'Admin' Soap project


Import the 'admin' project by clicking File -> Import project. Brows e to /home/dev/Sources/OSGP/Config/soapui/,
s elect 'admin-s oapui-project.xml' and click open.

Alternatively you can create the 'admin' project yours elf by following the s teps below:

Create a new SO AP Project and call it 'admin'

O pen the Project View by double-clicking on the 'admin' project. Go to 'WS-Security Configurations ' and s elect the
'Keys tores ' T ab. Click on the '+' to add the test-org.pfx in

T es t the Platform 72
O pen Smart Grid Platform Documentation

/home/dev/Sources/OSGP/Config/certificates/osgp-ca/certs/

Fill out the pas s word (1234) and click O k and clos e the Project View window.

Right click the 'admin' project and choos e 'Add WSDL'. Enter the following URL in the WSDL Location field:

/home/dev/Sources/OSGP/open-smart-grid-platform/osgp/shared/osgp-ws-admin/src/main/resources/Devic

Make s ure the box 'Create s ample reques ts for all operations ' is checked, and click O K.

Adding the 'Public Lig hting ' Soap project.


Import the 'public-lighting' project by clicking File -> Import project. Brows e to
/home/dev/Sources/OSGP/Config/soapui/, s elect 'public-lighting-s oapui-project.xml' and click open.

Alternatively you can create the 'public-lighting' project yours elf by following the s teps below:

Create another new SO AP Project and call it 'public-lighting'

T es t the Platform 73
O pen Smart Grid Platform Documentation

O pen the Project View by double-clicking on the 'public-lighting' project. Go to 'WS-Security Configurations ' and
s elect the 'Keys tores ' T ab. Click on the '+' to add the test-org.pfx in
/home/dev/Sources/OSGP/Config/certificates/osgp-ca/certs/

Fill out the pas s word (1234) and click O k and clos e the Project View window.

Right click the 'public-lighting' project and choos e 'Add WSDL'. Enter the following URL in the WSDL Location field:

/home/dev/Sources/OSGP/open-smart-grid-platform/osgp/shared/osgp-ws-publiclighting/src/main/resour

Make s ure the box 'Create s ample reques ts for all operations ' is checked, and click O K.

T es t the Platform 74
O pen Smart Grid Platform Documentation

Firs t SOAP reques ts to add a device to the open s mart g rid platform
Before s ending the reques t, the tes t-org.pfx s hould be added as SSL Keys tore: Go to the properties interface for the reques t
(bottom left of the s creen, after s electing 'Reques t 1' under UpdateKey in the 'admin' project'), and choos e test-org.pfx
from the drop-down box.

Note
T his has to be done for each reques t!

An SSLD needs to be added to the platform, as well as a manufacturer and a public key for the SSLD. A couple of s teps need
to be performed to realize this .

1 Add manufacturer 2 Add device model 3 Add SSLD 4 Setup a protocol for the SSLD to us e 5 Set the public key for the
SSLD (in cas e of O SLP)

T es t the Platform 75
O pen Smart Grid Platform Documentation

T he AddManufacturer function adds a new manufacturer to O SGP. All devices are coupled to a manufacturer.

<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ns="http://www.opensmar


<soapenv:Header>
<ns:ApplicationName>APPLICATION_NAME</ns:ApplicationName>
<ns:UserName>USER_NAME</ns:UserName>
<ns:OrganisationIdentification>test-org</ns:OrganisationIdentification>
</soapenv:Header>
<soapenv:Body>
<ns1:AddManufacturerRequest>
<ns1:Manufacturer>
<!--type: int-->
<ns1:Id>3</ns1:Id>
<!--anonymous type-->
<ns1:Code>MAN</ns1:Code>
<!--anonymous type-->
<ns1:Name>Manufacturer01</ns1:Name>
<!--type: boolean-->
<ns1:UsePrefix>false</ns1:UsePrefix>
</ns1:Manufacturer>
</ns1:AddManufacturerRequest>
</soapenv:Body>
</soapenv:Envelope>

T he AddDeviceModel function adds a new device model to O SGP. All devices are coupled to a device model.

<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ns="http://www.opensmar


<soapenv:Header>
<ns:ApplicationName>APPLICATION_NAME</ns:ApplicationName>
<ns:UserName>USER_NAME</ns:UserName>
<ns:OrganisationIdentification>test-org</ns:OrganisationIdentification>
</soapenv:Header>
<soapenv:Body>
<ns1:AddDeviceModelRequest>
<ns1:DeviceModel>
<ns1:Manufacturer>MAN</ns1:Manufacturer>
<!--Optional:-->
<ns1:ModelCode>MOD01</ns1:ModelCode>
<!--Optional:-->
<ns1:Description>Device model MOD01.</ns1:Description>
<ns1:Metered>false</ns1:Metered>
</ns1:DeviceModel>
</ns1:AddDeviceModelRequest>
</soapenv:Body>
</soapenv:Envelope>

T he AddDevice function adds a new SSLD to O SGP. T he device is coupled to a device model and a manufacturer.

<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ns="http://www.opensmar


<soapenv:Header>
<ns:ApplicationName>APPLICATION_NAME</ns:ApplicationName>
<ns:UserName>USER_NAME</ns:UserName>
<ns:OrganisationIdentification>test-org</ns:OrganisationIdentification>
</soapenv:Header>
<soapenv:Body>
<ns1:AddDeviceRequest>
<ns1:Device>
<ns1:DeviceIdentification>SSLD_000-00-01</ns1:DeviceIdentification>
<!--Optional:-->
<ns1:Owner>test-org</ns1:Owner>
<!--Optional:-->
<ns1:Activated>false</ns1:Activated>
<!--Optional:-->
<ns1:HasSchedule>false</ns1:HasSchedule>
<!--Optional:-->
<ns1:PublicKeyPresent>false</ns1:PublicKeyPresent>
<ns1:DeviceModel>
<!--anonymous type-->
<ns1:Manufacturer>MAN</ns1:Manufacturer>
<!--Optional:-->
<!--anonymous type-->
<ns1:ModelCode>MOD01</ns1:ModelCode>
<!--Optional:-->

T es t the Platform 76
O pen Smart Grid Platform Documentation

<!--anonymous type-->
<ns1:Description>Test device.</ns1:Description>
<!--type: boolean-->
<ns1:Metered>false</ns1:Metered>
</ns1:DeviceModel>
</ns1:Device>
</ns1:AddDeviceRequest>
</soapenv:Body>
</soapenv:Envelope>

T he function UpdateDeviceProtocol s ets a protocol for a device.

<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ns="http://www.opensmar


<soapenv:Header>
<ns:ApplicationName>APPLICATION_NAME</ns:ApplicationName>
<ns:UserName>USER_NAME</ns:UserName>
<ns:OrganisationIdentification>test-org</ns:OrganisationIdentification>
</soapenv:Header>
<soapenv:Body>
<ns1:UpdateDeviceProtocolRequest>
<ns1:DeviceIdentification>SSLD_000-00-01</ns1:DeviceIdentification>
<ns1:ProtocolInfo>
<ns1:Id>4</ns1:Id>
<ns1:Protocol>OSLP ELSTER</ns1:Protocol>
<ns1:ProtocolVersion>1.0</ns1:ProtocolVersion>
</ns1:ProtocolInfo>
</ns1:UpdateDeviceProtocolRequest>
</soapenv:Body>
</soapenv:Envelope>

T he UpdateKey function of the admin webs ervice s ets a public key for a device. Double click 'Reques t 1' under UpdateKey in
the 'admin' project. Add the following reques t:

<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ns="http://www.opensmar


<soapenv:Header>
<ns:ApplicationName>APPLICATION_NAME</ns:ApplicationName>
<ns:UserName>USER_NAME</ns:UserName>
<ns:OrganisationIdentification>test-org</ns:OrganisationIdentification>
</soapenv:Header>
<soapenv:Body>
<ns1:UpdateKeyRequest>
<!--type: Identification-->
<ns1:DeviceIdentification>SSLD_000-00-01</ns1:DeviceIdentification>
<!--type: string-->
<ns1:PublicKey>MFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAEFhUImXFJdqmputquVAc2CPdnn9Ju00M3m/Ice7wABNN
<!--type: long-->
<ns1:ProtocolInfoId>1</ns1:ProtocolInfoId>
</ns1:UpdateKeyRequest>
</soapenv:Body>
</soapenv:Envelope>

T es t the Platform 77
O pen Smart Grid Platform Documentation

Click the 'play' button to s ubmit the reques t to the endpoint. You s hould receive s imilar res pons e as s hown in the s creens hot
below:

After the SSLD has been added, let's s ee if the function FindAllDevices s hows the SSLD. Continue with the FindAllDevices
reques t from the public-lighting project. Since this is not the s ame project, we have to change the endpoint; in this cas e in
https ://localhos t:443/os gp-adapter-ws -publiclighting/publiclighting/adHocManagementService/. Do not forget to s et the SSL
keys tore in the Reques t Properties . Us e the following parameters in the reques t:

<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ns="http://www.opensmar


<soapenv:Header>

T es t the Platform 78
O pen Smart Grid Platform Documentation

<ns:ApplicationName>APPLICATION_NAME</ns:ApplicationName>
<ns:UserName>USER_NAME</ns:UserName>
<ns:OrganisationIdentification>test-org</ns:OrganisationIdentification>
</soapenv:Header>
<soapenv:Body>
<ns1:FindAllDevicesRequest>
<!--type: int-->
<ns1:Page>0</ns1:Page>
</ns1:FindAllDevicesRequest>
</soapenv:Body>
</soapenv:Envelope>

After the reques t has been s ubmitted, the res pons e s hould include the SSLD device with ID SSLD_000_00_01

Opening Device Simulator to Add a Device


In order to be able to us e the SSLD-000-00-01 Device, the device needs to be s imulated in the Device Simulator. T o do this
we have to create it. In the Firefox Brows er, open the Device Simulator by going to the following URL:

https://localhost/web-device-simulator/devices

If you encounter an Untrus ted Connection page, go to 'I Unders tand the Ris ks ' -> Add Exception.. -> Confirm Security
Exception

Click Add Device

T es t the Platform 79
O pen Smart Grid Platform Documentation

Fill out the fields like this :

Device Identification: SSLD_000-00-01


IP Addres s : 127.0.0.1
Device T ype: SSLD
Protocol: O SLP ELST ER

Click Create Device

You s hould return to the Devices s creen and s ee the mes s age "Device with identification SSLD_000-00-01 was created."

T es t the Platform 80
O pen Smart Grid Platform Documentation

Reg is tering a Device


Now click on the newly created device and click the 'Regis ter Device' button. After a while the mes s age "Device identification
with identification SSLD_000-00-01 was regis tered at XXXXXXXX" appears .

T hen click the 'Confirm Regis tration' button. T he mes s age s hould read: "Device with identification SSLD_000-00-01 was
confirmed to be regis tered."

T es t the Platform 81
O pen Smart Grid Platform Documentation

Us ing 'SetLig ht' SOAP Reques t to Switch the Lig ht On


Now that the Device is known in the platform, and s imulated in the Device-Simulator, the device can be us ed. Let's s witch on
the Light. Us ing SoapUI, click on Reques t 1 under SetLight at the public-lighting project. Set the following parameters in the
reques t (And do not forget to s et the Keys tore in the reques t properties ):

<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ns="http://www.opensmar


<soapenv:Header>
<ns:ApplicationName>APPLICATION_NAME</ns:ApplicationName>
<ns:UserName>USER_NAME</ns:UserName>
<ns:OrganisationIdentification>test-org</ns:OrganisationIdentification>
</soapenv:Header>
<soapenv:Body>
<ns1:SetLightRequest>
<!--type: Identification-->
<ns1:DeviceIdentification>SSLD_000-00-01</ns1:DeviceIdentification>
<!--1 to 6 repetitions:-->
<ns1:LightValue>
<!--Optional:-->
<!--anonymous type-->
<ns1:Index>0</ns1:Index>
<!--type: boolean-->
<ns1:On>true</ns1:On>
<!--Optional:-->
<!--anonymous type-->
<ns1:DimValue>100</ns1:DimValue>
</ns1:LightValue>
</ns1:SetLightRequest>
</soapenv:Body>
</soapenv:Envelope>

Submit the reques t. T ake note of the CorrelationUid in the res pons e. You can us e this Id in another reques t to as k the s erver
for the s tatus of this reques t.

T es t the Platform 82
O pen Smart Grid Platform Documentation

In the home s creen of the O SLP device s imulator, the lightbulb s hould light up for SSLD_000-00-01. T his means that the
reques t s ucceeded.

T he las t reques t concerns the res pons e from the previous SetLight reques t. In SoapUi open Reques t 1 under
'GetSetLightRes pons e' in the 'public-lighting' project. Set the following parameters in the reques t (And the keys tore in the
reques t properties ). Make s ure to replace the CorrelationUid with the value from the res pons from the SetLight reques t.

<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ns="http://www.opensmar


<soapenv:Header>
<ns:ApplicationName>APPLICATION_NAME</ns:ApplicationName>
<ns:UserName>USER_NAME</ns:UserName>
<ns:OrganisationIdentification>test-org</ns:OrganisationIdentification>
</soapenv:Header>
<soapenv:Body>
<ns1:SetLightAsyncRequest>
<ns1:AsyncRequest>
<!--type: CorrelationUid-->
<ns:CorrelationUid>test-org|||SSLD_000-00-01|||20160721083641940</ns:CorrelationUid
<!--type: Identification-->
<ns:DeviceId>SSLD_000-00-01</ns:DeviceId>
</ns1:AsyncRequest>
</ns1:SetLightAsyncRequest>
</soapenv:Body>
</soapenv:Envelope>

T es t the Platform 83
O pen Smart Grid Platform Documentation

Note

Do not forget to s et the CorrelationUid to value in the res pons e you received from the s etLight reques t.

T he s erver replied O k, indicicating that the SetLight reques t has been proces s ed s ucces fully.

T his s tep als o concludes the ins tallation manual.

T es t the Platform 84
O pen Smart Grid Platform Documentation

Using the Demo App


Tes ting the platform us ing the Web Demo
T his chapter will des cribe the s teps needed to tes t the O pen Smart Grid Platform us ing the Web Demo Application.

O pen Eclips e and import the following folder as Maven project /home/dev/Sources/OSGP/open-smart-
grid-platform/public-lighting-demo-app/
Add the PublicLightingDemoApp components to the T omcat Server.
(Re)Start the T omcat Server.

Creating a device
T o acces s the Demo App go to the following URL: https://localhost/web-demo-app/

If you encounter an Untrus ted Connection page, go to 'I Unders tand the Ris ks ' -> Add Exception.. -> Confirm Security
Exception

Click the Add a Device button in the Menu bar, and enter SSLD_000-00-01 at the Device Identification field and pres s
Submit.

T es t the Platform 85
O pen Smart Grid Platform Documentation

T he following s creen will appear, it s hows that the device has been s ucces s fully added to the Platform.

Opening Device Simulator to Add a Device


In order to be able to us e the SSLD-000-00-01 Device, the device needs to be s imulated in the Device Simulator. T o do this
we have to create it. In the Firefox Brows er, open the Device Simulator by going to the following URL:

https://localhost/web-device-simulator/devices

Click Add Device

T es t the Platform 86
O pen Smart Grid Platform Documentation

Fill out the fields like this :

Device Identification: SSLD_000-00-01


IP Addres s : 127.0.0.1
Device T ype: SSLD
Protocol: O SLP_ELST ER

Click Create Device

You s hould return to the Devices s creen and s ee the mes s age "Device with identification SSLD_000-00-01 was created."

T es t the Platform 87
O pen Smart Grid Platform Documentation

Reg is tering a Device


Now click on the newly created device and click the 'Regis ter Device' button. After a while the mes s age "Device identification
with identification SSLD_000-00-01 was regis tered at XXXXXXXX" appears .

T hen click the 'Confirm Regis tration' button. T he mes s age s hould read: "Device with identification SSLD_000-00-01 was
confirmed to be regis tered."

T es t the Platform 88
O pen Smart Grid Platform Documentation

Us ing 'SetLig ht' Switch the Lig ht On


Now that the Device is known in the platform, and s imulated in the Device-Simulator, the device can be us ed. Let's s witch on
the Light. Go to the Demo App and pres s the Lis t button in the Menu. A lis t s hould appear, s howing the device that has jus t
been added us ing the Add Device button.

Click on the Manage button to acces s the Device Details .

T es t the Platform 89
O pen Smart Grid Platform Documentation

Switch on the Light by s etting the Light Value to 100 and by checking the 'LightO n' checkbox (as s hown in the s creens hot
below)

Hit s ubmit to s ubmit the reques t to the Platform. T he following s creen s hould appear:

T es t the Platform 90
O pen Smart Grid Platform Documentation

In the home s creen of the O SLP device s imulator, the lightbulb s hould light up for SSLD_000-00-01. T his means that the
reques t s ucceeded.

T his s tep als o concludes the ins tallation manual.

T es t the Platform 91
O pen Smart Grid Platform Documentation

Configuration
Configuration
We have prepared a full s et of configuration (properties files , certificates , key s tore, ...) which is available in our Config
repos itory. T his configuration can be us ed to s etup a trial environment.

Configuration 92
O pen Smart Grid Platform Documentation

Add a device
Add a device
Platform us es single device calls.
In order to add a device to the platform, call the add device method in the device ins tallation web s ervice (for a s pecific
domain) for each device.

Implementation may differ for different device types


Each device type may require its own s et of attributes , s ecurity s ettings , etc. Each device type may have its own regis tration
mechanis m.

T o add a DLMS Device to the Platform, take a look at the documentation of the Soap call AddDevice as defined in the
SmartMeteringIns tallation.ws dl.

T o add an O SLP Device to the Platform, the Soap call defined in DeviceIns tallation can be us ed, or the UpdateKey
Reques t.

Pleas e take a look at the chapter T es ting the open s mart grid platform in the ins tallation manual for a detailed guide of how to
add a O SLP device to the platform.

Additional Device actions


In the Domain Chapter of the documentation more information of the Web Service calls can be found for Adding devices ,
s etting configuration, authorizations , s chedules , firmware updates , etc.

Add a device 93
O pen Smart Grid Platform Documentation

Users
Users
Soap Reques ts in the O pen Source Grid Platform have fields for an Us er name and an Application name in the Header. T hes e
are only us ed for logging and auditing. T here are no res trictions (e.g. Authorizations ) with regard to thes e fields . However, it
is recommended to us e names for Logging and Auditing purpos es .

Us ers 94
O pen Smart Grid Platform Documentation

Add a new organisation


Adding an Org anis ation to the platform
T his chapter des cribes how to add a new O rganis ation to the platform. T his includes creating a certificate for the new
organis ation.

Creating an Org anis ation


In SoapUi go to DeviceManagement under the Admin project. Click on reques t 1 under CreateO rganis ation. Fill in the
parameters like the example reques t below. Make s ure to s ign the reques t with the tes t-org.pfx and to us e the tes t-org
organis ation in the reques t header.

T his reques t creates a new organis ation called "my-org":

<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ns="http://www.opensmar


<soapenv:Header>
<ns:ApplicationName>APPLICATION_NAME</ns:ApplicationName>
<ns:UserName>USER_NAME</ns:UserName>
<ns:OrganisationIdentification>test-org</ns:OrganisationIdentification>
</soapenv:Header>
<soapenv:Body>
<ns1:CreateOrganisationRequest>
<ns1:Organisation>
<!--type: Identification-->
<ns1:OrganisationIdentification>my-org</ns1:OrganisationIdentification>
<!--type: string-->
<ns1:Name>my-org</ns1:Name>
<!--type: string-->
<ns1:Prefix>MYO</ns1:Prefix>
<!--type: PlatformFunctionGroup - enumeration: [ADMIN,USER]-->
<ns1:FunctionGroup>ADMIN</ns1:FunctionGroup>
<!--type: boolean-->
<ns1:Enabled>true</ns1:Enabled>
<!--1 or more repetitions:-->
<!--type: PlatformDomain - enumeration: [COMMON,PUBLIC_LIGHTING,TARIFF_SWITCHING]-->
<ns1:Domains>COMMON</ns1:Domains>
<ns1:Domains>PUBLIC_LIGHTING</ns1:Domains>
</ns1:Organisation>
</ns1:CreateOrganisationRequest>
</soapenv:Body>
</soapenv:Envelope>

Authoris e the new Org anis ation for the device


T o us e this new organis ation to control the SSLD_000-00-01 device, the authoris ations need to be updated. T o do that the
UpdateDeviceAuthoris ations reques t will be us ed, it can be found under DeviceManagement in the admin project.

Fill in the parameters like s hown below. T he functionGroup will be s et to AdHoc to authoris e the 'my-org' organis ation for
the AdHoc functions .

Make s ure to us e the tes t-org as O rganis ationIdentification in the reques t header, and to s ign the reques t with the tes t-
org.pfx.

<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ns="http://www.opensmar


<soapenv:Header>
<ns:ApplicationName>AAPLICATION_NAME</ns:ApplicationName>
<ns:UserName>USER_NAME</ns:UserName>
<ns:OrganisationIdentification>test-org</ns:OrganisationIdentification>
</soapenv:Header>
<soapenv:Body>
<ns1:UpdateDeviceAuthorisationsRequest>
<!--1 or more repetitions:-->
<ns1:DeviceAuthorisations>
<!--type: Identification-->
<ns1:deviceIdentification>SSLD_000-00-01</ns1:deviceIdentification>
<!--type: Identification-->
<ns1:organisationIdentification>my-org</ns1:organisationIdentification>
<!--type: DeviceFunctionGroup - enumeration: [OWNER,INSTALLATION,AD_HOC,MANAGEMENT,FIRMWARE,
<ns1:functionGroup>AD_HOC</ns1:functionGroup>
<!--Optional:-->
<!--type: boolean-->

Add a new organis ation 95


O pen Smart Grid Platform Documentation

</ns1:DeviceAuthorisations>
</ns1:UpdateDeviceAuthorisationsRequest>
</soapenv:Body>
</soapenv:Envelope>

Cre ating a ce rtificate for the ne w org anis ation

Now that the 'my-org' organis ation is authoris ed to us e the SSLD_000-00-01 device, it is time to create a certificate for the
my-org organis ation. T his certificate will be us ed to s ign the reques ts .

O pen a terminal and navigate to /home/dev/Sources/OSGP/Config/certificates/

A s cript has been created to create the certificates , execute it by running the following command in the terminal:

./create_client_cert.sh my-org 1234 1234

You s hould receive s imilar output as s hown in the s creens hot below.

Add a new organis ation 96


O pen Smart Grid Platform Documentation

Now that the certificate has been created, res tart the tomcat s erver.

Sig ning a reques t with the new certificate


When the tomcat s erver is up and running again, go to SoapUi and add the new certificate to the public-lighting project:
double-click on the project, go to the WS-Security Configurations tab and s elect the keys tores tab. Click the '+' button and
brows e to the my-org.pfx certificate which can be found in /home/dev/Sources/OSGP/Config/certificates/osgp-
ca/certs/

Add a new organis ation 97


O pen Smart Grid Platform Documentation

Now double-click on 'Reques t 1' in SetLight in PublicLightingAdHocManagement in the public-lighting project. Set the SSL
Keys tore to 'my-org.pfx' in the reques t properties s o the reques t gets s igned with the new certificate. Change the reques t
parameters as s hown in the example below:

<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ns="http://www.opensmar


<soapenv:Header>
<ns:ApplicationName>APPLICATION_NAME</ns:ApplicationName>
<ns:UserName>USER_NAME</ns:UserName>
<ns:OrganisationIdentification>my-org</ns:OrganisationIdentification>
</soapenv:Header>
<soapenv:Body>
<ns1:SetLightRequest>
<!--type: Identification-->
<ns1:DeviceIdentification>SSLD_000-00-01</ns1:DeviceIdentification>
<!--1 to 6 repetitions:-->
<ns1:LightValue>
<!--Optional:-->
<!--anonymous type-->
<ns1:Index>0</ns1:Index>
<!--type: boolean-->
<ns1:On>true</ns1:On>
<!--Optional:-->
<!--anonymous type-->
<ns1:DimValue>50</ns1:DimValue>
</ns1:LightValue>
</ns1:SetLightRequest>
</soapenv:Body>
</soapenv:Envelope>

Note the O rganis ationIdentification is now s et to 'my-org'. Send the new reques t, you s hould receive the following res pons e:

<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/">
<SOAP-ENV:Header/>
<SOAP-ENV:Body>
<ns2:SetLightAsyncResponse xmlns:ns2="http://www.opensmartgridplatform.org/schemas/publiclighting/a
<ns2:AsyncResponse>
<ns3:CorrelationUid>my-org|||SSLD_000-00-01|||20160805150420802</ns3:CorrelationUid
<ns3:DeviceId>SSLD_000-00-01</ns3:DeviceId>
</ns2:AsyncResponse>
</ns2:SetLightAsyncResponse>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>

Check the device-s imulator to s ee if the dimValue of the SSLD_000-00-01 changed to 50.

You now have s ucces s fully created a new organis ation, along with a certificate to s ign the reques ts , and changed the device
authoris ations of the device to accept commands from the new organis ation.

Add a new organis ation 98


O pen Smart Grid Platform Documentation

Add a new organis ation 99


O pen Smart Grid Platform Documentation

Web Services
Using the Open Smart Grid Platform Web Services
All the features of the open s mart grid platform are acces s ible by it's webs ervices , as defined in the WSDL files . T o us e
thes e s ervices to communicate with devices through the platform, pleas e keep in mind the following things .

A Soap reques t will have to be generated from your Application.


In the WSDL and xs d files of the Platform the Reques ts and it's objects are defined.
Fill in the parameters once you have an empty s oap reques t for a certain function. T he res trictions /requirements are
defined in the WSDL files .
T he reques t s hould have a header where an ApplicationName, Us erName and O rganis ationId are defined. At the
moment Us er and App name are not us ed in the Platform (Except for audability and logging). T he O rganis ationId,
however, mus t match a known organis ation within the Platform. T his organis ation mus t have the right authortities to
make a certain reques t.
Furthermore, the Reques t mus t be s igned with a certificate from the O rganization with the O rganis ationId in the
header.
T he reques ts us e the Secure HT T P protocol (https ).
For As ynchronious reques ts , the Platform will res pond with a correlationId after s ucces fully making the reques t. Us e
this correlationId in the matching Res pons e-Reques t to obtain the res pons e from the device.

T o learn more about the open s mart grid platform's webs ervices , pleas e take a look at the Domain Documentation or for
hands -on experience with the Platform's webs ervices follow the Us erGuide.

Res t
It is not pos s ible to communicate with the Platform directly us ing REST webs ervices . As mentioned above, the open s mart
grid platform us es SO AP (For reas ons defined here). If you want to us e REST for your front end, you can write an Integration
Layer that s erves as a Soap Client and expos es the Soap calls through Res t web s ervices that you can acces s from your front
end.

Flows
When us ing the SO AP Web s ervice, there are 2 flows that can occur:

s ome calls are s ynchronous : a res pons e is returned immediately;


other calls are a-s ynchronous : an initial res pons e contains a correlation id, which can be us ed to obtain the actual
res pons e.

Web Services 100


O pen Smart Grid Platform Documentation

Deployment
Deployment options
Hos ting the open s mart grid platform in the cloud is pos s ible, as well as on premis es .

Active-active s etup over multiple datacenters


If you like to s etup an active-active ins tallation over multiple datacenters . Make s ure that the open s mart grid platform
databas e runs redundant over both datacenters (mas ter-s lave configuration).

Maintenance
T here's not much maintenance that needs to be performed. Archiving s ome old log files , checking up on available dis k s pace
and creating a backup of the databas es . Looking into the queues to s ee if there are no mes s ages in the dead letter queue.

Deployment 101
O pen Smart Grid Platform Documentation

FAQ
FAQ
How to s tart e ve rything up ? Make s ure that Pos tgreSQ L is running. Make s ure that Apache HT T PD web s erver
and Apache ActiveMQ are running. T hen s tart Apache T omcat application s erver as des cribed in the ins tallation
manual.
Whe re are the log file s ? T he Apache T omcat application s erver logs can be found in /var/log/tomcat7. T he
Apache HT T PD web s erver logs can be found in /var/log/httpd. T he Pos tgreSQ L log files can be found in
/var/lib/pgsql/9.3/data/pg_log. T he platform log files can be found in /var/log/osp/logs/.
He lp : S ELinux is p re ve nting < s ome thing >? Make s ure to s et SELinux to 'permis s ive' mode. T hen try again and it
s hould work as SELinux will no longer enforce the current policy. Later, one can us e the SELinux tools to create a
proper policy that allows everything that was prevented before.
How to ad d or up d ate a comp one nt? Make s ure to place the properties file(s ) for the component in /etc/osp.
Add the locations of the properties file(s ) to Apache T omcat context.xml file. Add the war file to
/usr/share/tomcat7/webapps. Res tart Apache T omcat.
How to config ure a comp one nt? Mos t (if not all) components of the open s mart grid platform are de-coupled us ing
queues . Configure the broker URL in the properties file and take notice of the queues that a component us es /needs .
Make s ure to double check the connections tring for Pos tgreSQ L.
How to config ure URL's for a comp one nt? In this cas e the Apache HT T PD vhos t needs to be updated. T he vhos t
config file can be found in /etc/httpd/conf.d. We us e redirects from HT T P to HT T PS and AJP proxy to s end the
reques ts to Apache T omcat.
How to che ck up on Ap ache Active MQ? Apache ActiveMQ offers a web interface (the default port is 8161). Us ing
the web interface one can check the queues and es pecially the dead letter queue (DLQ ).
How d o I ob tain a p ub lic ke y for a d e vice ? Public Keys are us ually manufacterer s upplied for Smart Metering. For
the O pen Source part you can us e the O SLP device s imulator. In Sources/OSGP/Config/certificates/oslp/
you can find ins tructions for generating a O SLP device public key, and a folder with 5 pre-generated keys for tes t
devices .
My cod e g ive s a lot of e rrors in Eclip s e afte r imp orting T ry the following things : run mvn clean install in
the Shared, Platform and Adapter directories . Right-click on a project in Eclips e and s elect 'Maven -> Update
project..', s elect all projects and update.
T he Vag rant s crip t fails If you are receiving errors while downloading the ubuntu is o, s ources , etc. or if the puppet
s cript does not s tart; try running the Vagrant s cript again by typing vagrant destroy && vagrant up in the
directory with the vagrant file.
I want to up d ate my cod e from Github If you want to update your code, jus t run git pull in the repos itory you
want to update. You can als o create a fres h Virtual Machine us ing the vagrant ins tallation, this procedure makes s ure
you have the mos t recent code.
Is a us e r re q uire d to cons ume p latform s e rvice s ? No, an organization is required.

_If your ques tion is not in this lis t, pleas e create an [is s ue on Github in the documentation repos itory ]documentation
repos itory

FAQ 102
O pen Smart Grid Platform Documentation

Open Source Community


CHAPTER 3. Open Source and Community
We invite everyone to participate in the development of the open s mart grid platform. T here are multiple ways to s upport the
project.

s ubmit is s ues about bugs or reques ted features


s olve is s ues
develop new features
write or improve the documentation

T his chapter contains all the non-technical and general technical knowledge for developers to s tart contributing.

O pen Source Community 103


O pen Smart Grid Platform Documentation

Start contributing
T his is a guide to s tart contributing to the open s mart grid platform project:

1. Make yours elf comfortable with the open s mart grid platform by e.g. ins talling it.
2. Read the documentation to get an idea of how the s oftware works (architecture chapter), how the community works
(this chapter).
3. Find an open is s ue to work on or fire an new is s ue.
4. As s ign yours elf to the is s ue and s tart contributing.
5. Start contributing by us ing the procedures mentioned in this chapter.

Start contributing 104


O pen Smart Grid Platform Documentation

Developers 101
Developer tools, technical guidelines and continuous integration
Tools Used
T he technology and tools us ed can be found in the T echnology s tack s ection.

Code Guidelines and Code Tests


Us e the code formatting rules for Eclips e
Us e the s ave actions for Eclips e
Follow GitFlow approach for branching
Write behaviour driven tes ts us ing Cucumber and Gherkin, s ee the Integration-T es ts repo
In cas e you are not familiar with behaviour driven tes ts , include unit tes ts
Fix SonarQ ube is s ues
Is s ue pull reques t (preferable to development branch)

Continuous Integration
All changes pus hed to GitHub are built by our build s erver. Pull reques ts to mas ter branch or development branch are als o
built. SonarQ ube performs s tatic code analys is to help improve the quality level of the code bas e.

Jenkins builds erver: An open s ource continuous integration tool written in Java.
SonarQ ube: SonarQ ube is an open platform to manage code quality.

Technical Conventions and Rules for New Code


T his project is engineered, built and tes ted us ing Domain Driven Des ign and Behaviour Driven T es ts .

Us e the Frameworks , don't roll your own


Single clas s , s ingle res pons ibility
Value objects are immutable
Map generated objects to value objects or entities
T rans ferring an object means us ing a DT O
Us e bas e clas s es for common logic
Interfaces are good, but 'impl' is bad
Extend clas s es , don't expand clas s es
Migrate databas es us ing Flyway
JMS for mes s aging
Extend the authorization logic if needed, don't bypas s it
Log errors /exceptions
Add meaningful comments to the code
Follow the code guidelines

Development Guide per Component


Web Service Adapters
T he web s ervice adapters us e Spring Web Service, contract firs t. JAXB is us ed to generate Java clas s es from the XSD's . All
SO AP operations are bound to an endpoint. T he incoming SO AP reques ts are authenticated by organization identification
(plus certificates ). O rganization authorizations are checked for the des ired operation. If the reques t is O K, a JMS mes s age is
s ent to a domain adapter component.

Domain Adapters
Domain adapters contain bus ines s logic and pers is tence. Domain adapters proces s and forward the JMS mes s age to the
Core component.

Domain Components
Domain components contain entities and value objects .

Core
T he Core component routes mes s ages from domain adapter components to protocol adapter components and vice vers a.
Furthermore, it offers read-only databas e acces s for protocol adapter components .

Developers 101 105


O pen Smart Grid Platform Documentation

Protocol Adapters
Protocol Adapter components trans late a mes s age from domain adapter components into a protocol mes s age for a s mart
device. Protocol Adapter components s end the protocol mes s age to a s mart device us ing a network connection. T he
res pons e from the s mart device is trans lated into a domain res pons e mes s age which will be s ent to the Core components
(which will route it to the domain adapter which is s ued the reques t).

OS LP

For the O SLP implementation, two components are us ed. T he firs t component is the protocol adapter for the protocol. It can
trans late mes s age into the protocol mes s age for SSLD's . Second there's the s igning-s erver component. It is res pons ible for
s igning the protocol mes s age us ing the private key of the platform. T he components communicate us ing a key-pair. T he
s igning-s erver can handle multiple protocol adapter ins tances by utilizing a reply-to queue per protocol adapter ins tance.
Since the protocol adapter component needs to be reachable from a network, it is a requirement that the private key may not
be us ed by the protocol adapter directly. T he s igning s erver component can be deployed in s uch a way that no network
acces s is available to this component, as the only coupling needed are the queues / the mes s age broker.

Other Guides
Ins tallation Guide
If a full ins tallation is des ired, have a look at our Ins tallation Guide.

Create New Domain Guide


In order to add a new domain to O SGP, you can benefit from the information in the Create New Domain Guide.

Developers 101 106


O pen Smart Grid Platform Documentation

Contributing to the code


Contributing to the code
T hank you for contributing to the O pen Smart Grid Platform. Pleas e keep the following in mind before s ubmitting code.

Guidelines
Before code is merged it needs to comply with a number of guidelines :

1. Code s hould be as complete as pos s ible (preferably no placeholders , T O DO 's or FIXME's )


2. Right formatting; code s hould follow the Coding Conventions (s ee 3.1.2)
3. Fixed/added unit tes ts where applicable
4. Javadocs added where applicable
5. Accepting pull-reques ts with SonarQ ube reports "Blocker" and "Critical" are not allowed
6. Comply with International open s tandards where pos s ible (e.g. IEC s tandards )

Contributor Licens e Ag reement


We as k each of our contributors to s ign our contributor licens e agreement (CLA). T his has advantages for both parties , it
gives you the as s urance that your contribution will remain available under the Apache 2.0 licens e. Meanwhile, you give your
code in licens e to us , s o we can add your code to the open s mart grid platform. And we know your contribution is entirely
your work, s o we don't get in trouble with legal is s ues . Pleas e read the CLA text carefully.

Submitting code
T o s ubmit changes to the open s mart grid platform branches :

1. Create a fork of the open s mart grid platform repo you will be working in
2. Make and commit your changes to your fork
3. Create a pull reques t to merge the changes into the right branch (s ee 4.1.4 for the branching s trategy) If the changes
fix a bug, mention the is s ue number in the commit mes s age or pull reques t mes s age (example: fixes 101, s olved 87). If
no ticket exis ts , create one beforehand. Afterwards , pleas e update the relevant documentation in this GitBook.

Open Source Branching Strateg y


T he open s mart grid platform's main branch is mas ter. All major releas es are tagged in this branch. Development is done in
the development and feature branches . We us e the GitFlow branching s trategy. Find more information on this s trategy here:
GitFlow

T he GitFlow workflow is s omeone complicated, but it has the advantage that it gives a clear overview of all previous
releas es and current development and thus helps to collaborate more efficiently. Pleas e follow this s trategy in your commits .

Pull reques ts : review proces s


Anyone can s end in a pull reques t. As s ign a maintainer or other developer with knowledge on this topic to accept/evaluate
your pull reques t. You can view the SonarCube tes t res ults at (http://ci.opens martgridplatform.org/s onarqube/) and the
Jenkins continuous integration res ults at (http://ci.opens martgridplatform.org)

If your code is a us eful contribution and meets our quality s tandards (s ee s ection 3.1), it will be added to the open s mart grid
platform! Developers are in charge of judging this . Don't forget to update the documentation as well.

Contributing to the code 107


O pen Smart Grid Platform Documentation

Contributing to documentation
Documentation Publication
T his documentation is available in multiple formats .

Web

Development branch publication


Mas ter branch publication
Lates t Pull-reques t publication

PDF

Development branch publication in PDF

Contributing to documentation
T he documentation is build us ing GitBook s oftware from Markdown files in the documentation repos itory.

We encourage you to participate in improving the documentation. From corrected typos to new s ections , every commit is
appreciated. You can acces s the s ource files by clicking the "Fix this page"-button in the GitBook or by s electing the relevant
Markdown-file in the documentation. You can commit your changes by s ending a pull reques t.

1. Fork the repo, do work in a feature branch.

2. Is s ue a pull reques t.

3. Make s ure the automated tes t s uite s ucceeds . T hey will s how-up in the pull reques t.

4. Sign the CLA us ing cla-as s is tant (a comment by CLAAdmin will appear for your pull reques t to help you out).

5. As s ign a maintainer or other developer on this topic to accept/evaluate your pull reques t. T he current maintainer can
be found in the governance paragraph.

Some information on GitBook and us ing Markdown can be found here, more elaborate information on GitHub-flavored
Markdown is found here. If you like to upload illus tration, you can us e git or Github

If you are completely new to this and you need help to get s tarted, file an is s ue in the documentation repos itory.

Chapters in the documentation


It may be obvious to you already from the index, however, here is an overview on what documentation goes in which chapter.

Chapter 1 cons is t of an open s mart grid platform introduction and architecture for potential us ers , architects and
developers . T he open s mart grid platform webs ite is us ed for bas ic product information.
Chapter 2 contains the general us erguide for open s mart grid platform us ers
Chapter 3 contains community related topics
Chapter 4 contains information related to the open s mart grid platform domains
Chapter 5 contains information related to the protocols and s imulators
Chapter 6 s hows the s upport options
Chapter 7 code and documentation licens e

Vers ioning within the documentation


We have chos en to work with GitBook s ince it allows us to make different vers ions of documentation for each releas e. T his is
done by branching the files in the documentation repos itory. T he mas ter branch is us ed for releas es only. T he development
branch is our main and current branch. If you like to improve the documentation, s tart a feature branch with your changes and
s end a pull reques t to the development branch.

Guidelines for new documentation


T he mas ter branch is only us ed by major open s mart grid platform releas es
Don't commit directly to the development branch, pleas e do a pull reques t.
We us e the American s pelling
Pleas e follow the us ed chapter and s ection numbering and apply it in your commits as well
Currently we do not us e image numbering, s ince it is too much of a has s le to keep it up-to-date. If you have a s mart
idea to do this , let us know!
Give your (s ub) document a relevant name or s ection with number
Update SUMMARY.md if needed

Documentation ins piration

Contributing to documentation 108


O pen Smart Grid Platform Documentation

Ins piration on how to write good documentation can be found here: http://docs .writethedocs .org/.

Contributing to documentation 109


O pen Smart Grid Platform Documentation

Communication and Contact


Communication and Contact
We choos e Jira for mos t of our development communication. T his keeps the communication central and topic central and
connect to development effort. Pleas e us e Jira for is s ues and bugs .

If you want to get in touch to dis cus s to dis cus s non-technical s ubjects , s end us an email info@opens martgridplatform.org or
open an is s ue on Github. O nce we get the foundation going, we will open an addres s s o you can directly contact one of the
foundation's employees .

Jira
Jira was chos en due to its extens ive features . T he current Jira board is s pons ored by Smart Society Services for s ynergy
reas ons . O nce we have multiple contributors outs ide Smart Society Services we can move to a dedicated Jira ins tance or
s omething els e.

O nce you get actively involved, you can reques t write permis s ions on the Jira board. You can reques t write acces s to the Jira
is s ue board by s ending a reques t to opens ource@s marts ocietys ervices .com (Marcel checks this mailbox for Jira reques ts ).

New Features
1. If there is a need (or wis h!) for a new feature, add it as is s ue to Jira as a us er s tory. Pleas e provide a full des cription
about the background of the problem. Spilt-up big us er s tories in multiple s mall us er s tories .

2. A developer can take on the is s ue and s tart working on it on voluntary bas e. If you need this feature and you have the
money to pay for it, you can hire a developer and have the developer work on it. If open s mart grid platform core
components are involved, pleas e dis cus s your change firs t with one of the developers /maintainers .

3. T he developer makes a des cription on how he wants to fix the problem. O ther developers can dis cus s the s olution as
well. If everybody agrees on the s olution direction, the developer codes the s olution and s ubmits it (by s ending in a
pull reques t). T he developer s hould als o document the feature in the GitBook

4. T he maintainer can check the code (or as s ign this to s omeone els e) and merge it with ups tream releas es .

Bug tracking
1. Find out as much as pos s ible about the bug before reporting it. Pleas e check on GitHub/Jira whether the bug has
already been reported. Als o, look for logs , error mes s ages etc. Pleas e include as much information as pos s ible
background on the bug and s ubmit the bug on Github or Jira.
2. T he maintainer makes s ure that s omebody will look at the bug, check for duplicates and thank the contributor for
s ending in the bug. If the bug turns out to be a duplicate, the is s ue will be clos ed.
3. A developer will try to reproduce the bug and will look for the root caus e. T he developer adds his findings to the
is s ue. If the developer cannot reproduce the bug, the developer will contact the us er for more information or/and
login into the us er's s ys tem (when pos s ible for the us er/developer). If it's impos s ible to re-produce the bug, the is s ue
will be clos ed.
4. O therwis e, the developer will write a patch and tes ts the fix.
5. O nce the patch is accepted (s ee Code review/tes t proces s ), it will be s hipped with the next releas e.
6. T he maintainer than clos es the is s ue.

Ques tions
If you have a ques tion, pleas e create an Github is s ue in the documentation repos itory or reques t acces s to Jira.

Report s ecurity is s ues


Due to the s ens ible nature of s ecurity is s ues e.g. zero days , we prefer a res pons ible dis clos ure. Security is s ues can be
reported on the opens martgridplatform.org webs ite.

Communication and Contact 110


O pen Smart Grid Platform Documentation

Governance
Governance
With the open s mart grid platform we intend to have the right balance between a benevolent Dictator and a Formal
Meritocracy in order to have a balanced decis ion-making proces s and to prevent unwanted dictators and everlas ting
dis cus s ions . T he bas ic principle is that decis ions are bas ed on cons ens us . If this decis ion making proces s takes too long or
a decis ion is required, the community council has the authority to make a decis ion.

T he governance and rules s hould be res pected.

Community council
T he community council cons is ts of 5 members and has the authority to make decis ions on all community related s ubjects .

T he community council is res pons ible for:

General ambitions , objectives and goals


Principles and unders tandings
Governance and cons ultation bodies
Guidelines and procedures and tool s election
Contribution (proces s ) of individual members
Architectural and (development) infras tructure choices
Rais e s ubjects /is s ues that are important for the direction/development of the community

When the community grows , members of the community council can be elected. If the s ituation demands or requires it, the
community council has the ability to es tablis h s ub councils for a s pecific s ubject, area of domain. O ne member (s eat)
repres ents the O pen Smart Grid Platform Foundation (once s tarted) for alignment between the objectives of the foundation
and the direction of the development of the online community.

T he community council cons is t of the following members :

Sander Jans en - O pen s ource cons ultant - Chairman


Paul Houtman - Lead Architect
Kevin Smeets - Maintainer
Vacancy
Vacancy - O pen Smart Grid Platform foundation s eat

If you would like to join the community council, pleas e contact us ! Mention @O SGP/communitycouncil in an github is s ue. T he
(online) community council meetings will happen when needed.

Maintainers
Maintainers are res pons ible for maintaining parts of the code-bas e. Maintainers have the following res pons ibilities

Coordinate development activity


Make s ure code/documentation reviews are being done
Coordinate pull-reques ts
Coordinate bug follow-ups
Coordinate ques tions

In cas e of long dis cus s ions or arguments , maintainers or other can reques t a community council decis ion.

Current maintainers :

O pen s mart grid platform and s mart lighting domain: Kevin Smeets
Smart metering domain: Bart van der Zwet
Non-domain s pecific documentation & configuration: Ruud Lemmers

@Sander3003 will track new Github is s ues and as s ign them to maintainers and inform them (via a Jira ticket).

Governance 111
O pen Smart Grid Platform Documentation

Code of Conduct
Code of Conduct
Like the technical community as a whole, the open s mart grid platform community is made up of a mixture of profes s ionals
and volunteers from all over the world, working on every as pect of the mis s ion - including mentor-s hip, teaching, and
connecting people.

Divers ity is one of our huge s trengths , but it can als o lead to communication is s ues and unhappines s . T o that end, we have a
few ground rules that we as k people to adhere to. T his code applies equally to founders , mentors and thos e s eeking help and
guidance.

T his is n’t an exhaus tive lis t of things that you can’t do. Rather, take it in the s pirit in which it’s intended - a guide to make it
eas ier to enrich all of us and the technical communities in which we participate.

T his code of conduct applies to all s paces managed by the open s mart grid platform project (or O pen Smart Grid Platform
Software Foundation once es tablis hed). T his includes IRC, the mailing lis ts , the is s ue tracker, DSF events , and any other
forums created by the project team which the community us es for communication. In addition, violations of this code outs ide
thes e s paces may affect a pers on's ability to participate within them.

If you believe s omeone is violating the code of conduct, we as k that you report it by emailing
info@opens martgridplatform.org.

Be frie nd ly and p atie nt.

Be we lcoming .

We s trive to be a community that welcomes and s upports people of all backgrounds and identities . T his includes , but is not
limited to members of any race, ethnicity, culture, national origin, color, immigration s tatus , s ocial and economic clas s ,
educational level, s ex, s exual orientation, gender identity and expres s ion, age, s ize, family s tatus , political belief, religion, and
mental and phys ical ability.

Be cons id e rate .

Your work will be us ed by other people, and you in turn will depend on the work of others . Any decis ion you take will affect
us ers and colleagues , and you s hould take thos e cons equences into account when making decis ions . Remember that we're a
world-wide community, s o you might not be communicating in s omeone els e's primary language.

Be re s p e ctful.

Not all of us will agree all the time, but dis agreement is no excus e for poor behavior and poor manners . We might all
experience s ome frus tration now and then, but we cannot allow that frus tration to turn into a pers onal attack. It’s important
to remember that a community where people feel uncomfortable or threatened is not a productive one. Members of the open
s mart grid platform community s hould be res pectful when dealing with other members as well as with people outs ide the
open s mart grid platform community.

Be care ful in the word s that you choos e .

We are a community of profes s ionals , and we conduct ours elves profes s ionally. Be kind to others . Do not ins ult or put down
other participants . Haras s ment and other exclus ionary behavior aren't acceptable. T his includes , but is not limited to:

Violent threats or language directed agains t another pers on.


Dis criminatory jokes and language.
Pos ting s exually explicit or violent material.
Pos ting (or threatening to pos t) other people's pers onally identifying information ("doxing").
Pers onal ins ults , es pecially thos e us ing racis t or s exis t terms .
Unwelcome s exual attention.
Advocating for, or encouraging, any of the above behavior.
Repeated haras s ment of others . In general, if s omeone as ks you to s top, then s top.

Whe n we d is ag re e , try to und e rs tand why.

Dis agreements , both s ocial and technical, happen when people get pas s ionate about what they are doing. It is important that
we res olve dis agreements and differing views cons tructively. Remember that we’re different. T he s trength of open s mart
grid platform comes from its varied community, people from a wide range of backgrounds . Different people have different
pers pectives on is s ues . Being unable to unders tand why s omeone holds a viewpoint does n’t mean that they’re wrong. Don’t
forget that it is human to err and blaming each other does n’t get us anywhere. Ins tead, focus on helping to res olve is s ues and
learning from mis takes .

This Code of Conduct is based on the Django Code of Conduct

Code of Conduct 112


O pen Smart Grid Platform Documentation

Foundation
Foundation
T he Foundation will be an independent organis ation to s upport and promote the open s mart grid platform development (the
foundation is not s tarted yet). T he foundation will be s imilar to the Linux foundation or Apache foundation. T he Foundation
will s tart once we have multiple founding members . If you like to s upport the Foundation, contact us :
info@opens martgridplatform.org. T his foundation will promote and facilitate the us e of and future development of the O pen
Smart Grid Platform. In addition, the Foundation will s upport the community of developers and us ers of the O pen Smart Grid
Platform to accelerate future development and to develop a larger us er bas e of the platform. T his foundation will encourage
the development of the ecos ys tem.

T he foundation will be non-profit. O ur aim is that companies / organizations can make a s pons ors hip contribution to the
foundation, in order to s upport the us e and development of the open s ource platform.

Planned key activities of the foundation are:

Maintaining and developing the O pen Smart Grid Platform via a publicly acces s ible s ource with an open s ource
initiative recognized licens e (Apache 2.0).
Providing information (manuals , publications , releas e notes , white papers , etc.)
T aking care of legal conditions
Community management, events for us ers and developers
Marketing and promotion of the s oftware

Foundation 113
O pen Smart Grid Platform Documentation

Domains
Chapter 4 Domain T his chapter des cribes the s eparate domain in the open s mart grid platform.

Web Service Adapters


T he web s ervice adapters us e Spring Web Service, contract firs t. JAXB is us ed to generate Java clas s es from the XSD's . All
SO AP operations are bound to an endpoint. T he incoming SO AP reques ts are authenticated by organization identification
(plus certificates ). O rganization authorizations are checked for the des ired operation. If the reques t is O K, a JMS mes s age is
s ent to a domain adapter component.

Domain Adapters
Domain adapters contain bus ines s logic and pers is tence. Domain adapters proces s and forward the JMS mes s age to the
Core component.

Domain Components
Domain components contain entities and value objects .

Domains 114
O pen Smart Grid Platform Documentation

Admin
The open smart grid platform core and admin functions for device management.
Scope
T his core and admin domain contains all generic web s ervices that can be us ed in other domains . Mos t generic s ervices
relate to device management including powerful device authorization management

Common webs ervices

Op e ration Re q ue s t Re s p ons e
De vice Ins tallation.ws d l
AddDevice DeviceIdentification -
FindDevices WhichHaveNoO wner - Devices
FindRecentDevices - Devices
StartDeviceT es t DeviceIdentification -
StopDeviceT es t DeviceIdentification -
UpdateDevice DeviceIdentification -
GetStatus DeviceIdentification Status
De vice Manag e me nt.ws d l
ChangeO rganis ation O rganis ation -
CreateO rganis ation O rganis ation -
FindAllO rganis ations - O rganis ations
FindDeviceAuthoris ations DeviceIdentification DeviceAuthoris ations
FindDevices PageSize, Page Devices , Page
FindEvents DeviceIdentification, From, Until, PageSize, Page Events , Page
FindMes s ageLogs DeviceIdentification, Page Mes s ageLogPage
RemoveDevice DeviceIdentification -
RemoveO rganis ation O rganis ation
SetEventNotifications DeviceIdentification, EventNotifications -
SetO wner DeviceIdentification, O rganis ationIdentification -
UpdateDeviceAuthoris ations DeviceAuthoris ations -
ActivateO rganis ation O rganis ation -
SetDeviceLifecycleStatus DeviceIdentification, DeviceLifecycleStatus -
Firmware Manag e me nt.ws d l
GetFirmwareVers ion DeviceIdentification FirmwareVers ion
UpdateFirmware DeviceIdentification, FirmwareIdentification -
Config urationManag e me nt.ws d l
GetConfiguration DeviceIdentification Configuration
SetConfiguration DeviceIdentification, Configuration -
S che d ule Manag e me nt.ws d l
SetSchedule DeviceIdentification, Schedules , Page -
SetT ariffSchedule DeviceIdentification, Schedules , Page -
Ad HocManag e me nt.ws d l
SetReboot DeviceIdentification -

Core WSDL's
Core XSD s chema's

Admin webs ervices


Admin WSDL's
Admin XSD s chema's

Admin 115
O pen Smart Grid Platform Documentation

Smart lighting
This domain covers the use of the open smart grid platform for smart lighting.
Scope
T he goal of this domain is to control, monitor and manage (s treet) lights at s cale. It allows s treetlight owners to
control/manage the (s treet) lights in an more intelligent way compared to ripple control technology.

Features
T his domain cons is t of Switching s chedules , groups , light s ens ors , manual s witching and monitoring of a typical public
lighting us e-cas e.

PublicLighting webservices
Op e ration Re q ue s t Re s p ons e
De vice Monitoring .ws d l
GetActualPowerUs age DeviceIdentification PowerUs ageData
DeviceIdentification, T imePeriod,
GetPowerUs ageHis tory PowerUs ageData, PageInfo
His toryT ermT ype, Page
Pub licLig hting Ad HocManag e me nt
DeviceIdentification,
SetT rans ition -
T rans itionT ype, T ime
FindAllDevices Page DevicePage
LightValues , PreferredLinkT ype,
GetStatus DeviceIdentification
ActualLinkT ype, LightT ype, EventNotifications
DeviceIdentification, Index,
Res umeSchedule -
Is Immediate
SetLight DeviceIdentification, LightValue -
Pub licLig hting S che d ule Manag e me nt
DeviceIdentification, Schedules ,
SetSchedule -
Page

PublicLighting WSDL's
PublicLighting XSD s chema's

Smart lighting 116


O pen Smart Grid Platform Documentation

Use cases
Example use-case for this domain
Up-to-date information on us e-cas es can be found on the open s mart grid platform webs ite.

Re fe re nce imp le me ntation in T he Ne the rland s : Fle xib le s ys te m for op e rating p ub lic lig hting (Fle xOVL)

FlexO VL, a new and flexible s witching s ys tem of public lighting delivers more control for municipalities and is the firs t
s olution which is powered by the O pen Smart Grid Platform.

T e chnical d rive rs for Alliand e r

Replacing Ripple Control


Decreas e future inves tments
Decreas e outages

Cus tome r d rive rs (Municip alitie s )

Be more in control, by controlling s witching times thems elves


Res olve power failures fas ter, through up-to-date information
Reduction in cos ts , through energy s aving and more efficient maintenance and management
No vendor lock-in, not dependent on one s upplier

Imp le me ntation/roll-out

Small s cale roll-out s tarted January 2015


200 Sub Stations will be fitted with an SSLD to control public lighting and tariff s witching
15 municipalities in the Liander grid operator area will be participating
Goal is to allow municipalities to us e the application, give feedback and to s ee if the s ervices offered to municipalities
are adequate

Large s cale roll-out will s tart around 2016


T he entire Liander grid operator area will us e SSLD's to control all public lighting and tariff s witching
About 25.000 Sub Stations (middens pannings ruimtes )
About 800.000 s treet lights will be s witched by the SSLD's mounted in the 25.000 Sub Stations

Fle xOVL we b ap p lication (not op e n s ource availab le )

Municipalities are free to choos e their own (web)application (us ing the web s ervices of the O pen Smart Grid Platform), or
they could us e the default web application developed by Smart Society Services .

Us e cas es 117
O pen Smart Grid Platform Documentation

Functionality of the d e fault we b ap p lication as us e d b y g rid op e rator Liand e r (e xamp le )

Create s witching s chedules and as s ign thos e s chedules to one or more SSLD's
Create groups of SSLD's in order to be able to as s ign s chedules to many SSLD's at once
O n demand s witching of public lighting
Review current s tatus of an SSLD in order to review public lighting and tariff s witching s tates
Abilities to monitor power cons umption of public lighting (available if the SSLD is fitted with an Electricity Meter)
Monthly report offering ins ight into s witch moments and power cons umption

Us e cas es 118
O pen Smart Grid Platform Documentation

Tariff switching
Tariff switching
T his covers the s ervices for tariff s witching domain us ing the open s mart grid platform.

Scope
T his domain allows tariff s witching. It allows a relay to s witch when a tariff changes . T his domain could be us ed to replace
ripple control tariff s ignals .

Webs ervices

Op e ration Re q ue s t Re s p ons e
T ariffS witching Ad HocManag e me nt
GetDevices
GetStatus DeviceIdentification Status
T ariffS witching S che d ule Manag e me nt
SetSchedule DeviceIdentification, Schedules , Page -

T ariff s witching WSDL's


T ariff s witching XSD s chema's

T ariff s witching 119


O pen Smart Grid Platform Documentation

Microgrids
Microgrids documentation
T he O pen Smart Grid Platform act as an central component to monitor and control microgrids .

Scope
T he goal of this domain is to control and monitor microgrids .

Features
Currently, the following features are available within the O pen Smart Grid Platform:

Ge t Data

Get data is us ed to retrieve meas urement and profile data from the device

S e t Data

Set data is us ed to s et s etpoints and profiles on the device

Notifications

When either report data or the res ult for a reques t is available, a notification is s ent to a client, after which the client will be
able to obtain the data or res ult by s ending an 'as ync' mes s age.

Re p orting

When a device is connected it will periodically pus h meas urement reports (and s end trigger-bas ed s tatus reports ) to O SGP.
O SGP will inform the client via a notification, after which the data can be retrieved in a way s imilar to GetData (us ing the
GetDataAs ync mes s age). In order to determine whether all report data are received, the res pons e of a GetDataAs ync
mes s age will (in cas e of a report) contain report metadata cons is ting of a report id, s equence number and time of entry.(XSD
is already updated with report metadata, returning the report metadata from O SGP is not yet implemented)

Mes s ag es
Ge tData is a reques t to retrieve meas urement and profile data from a device.
Ge tDataAs ync is a reques t to retrieve the res ult of the GetData reques t or to retrieve report data pus hed by the
device.
S e tData is a reques t to s et s etpoints and profiles on a device.
S e tDataAs ync is a reques t to retrieve the res ult of the SetData reques t.

WSDLs
WSDL's and s chema's

Cucumber tes t
Functionality like Ge tData can now be tes ted, with the Cucumber framework, us ing the p rotocol-s imulator-ie c61850. T his
s imulator can be s tarted from the Cucumber tes ts , and is configured with its own properties file.

Multiple Server names


By default the RT U device is configured with the s ervername: WAGO61850S e rve r. T his name als o appears in the icd file,
that is us ed by the RT U device. T he name of this icd file, is configured in a properties file. Multiple s erver names are now
s upported, with the introduction of the new column: s e rve r_name in the ie c61850_d e vice table. If this value is null, the
default s ervername (WAGO 61850Server) is us ed, otherwis e the s ervername from the databas e is us ed (eg 'WAGO 123'). In
that cas e another corres ponding icd file, in which this s ervername is us ed, mus t be configured!

Microgrids 120
O pen Smart Grid Platform Documentation

Distribution automation
Distribution Automation
T he O pen Smart Grid Platform can als o be us ed in the monitoring of a variety of components in s ubs tations ; RT Us , s witches ,
trans formers , etc. O ften, an RT U or Remote T erminal Unit is us ed as a central information hub in a s ubs tation. T he RT U is
connected to one or more s ens ors or devices that can meas ure any kind of information. Us ually, the focus is on meas uring
power quality values , temperature and other 'health' variables , but any kind of meas urable data can be read through O SGP.

Scope
T he goal of this domain is to control and monitor s ubs tations ; the current focus is on health s tatus information and power
quality data, but this may be extended in the future.

Features
Currently, the following features are available within the O pen Smart Grid Platform us ing the IEC 61850 protocol;

Ge t PQ Value s

Get PQ Values retrieves the actual, current PQ values from a device. Examples of PQ values are Current, Voltage, Reactive
Power, Active Power, etc. T hes e examples merely s erve as an indication of what is pos s ible; O SGP does not impos e any
res triction on the number or content of variables that can be read. T he outline of what s hould be meas ured is configured on
the device and in the application that reads the data.

Ge t He alth S tatus

Retrieves the current health s tatus of a device. T his is us eful in a monitoring application.

Ge t De vice Mod e l

Retrieves the device model or metadata of a device. T his includes the variables that can be meas ured, the information
s tructure of the device, etc.

Notifications

When either report data or the res ult for a reques t is available, a notification is s ent to a client, after which the client will be
able to obtain the data or res ult by s ending an 'as ync' mes s age. A notification mes s age always contains the correlation ID of
the original reques t; the client can retrieve the res ult us ing this correlation ID.

Mes s ag es
Ge tPQValue s is a reques t to retrieve PQ values from a device.
Ge tPQValue s As ync is a reques t to retrieve the res ult of the GetPQ Values reques t or to retrieve report data pus hed
by the device.
Ge tHe althS tatus is a reques t to retrieve the health s tatus of a device.
Ge tHe althS tatus As ync is a reques t to retrieve the res ult of a GetHealthStatus reques t.
Ge tDe vice Mod e l is a reques t to retrieve the device model from a device
Ge tDe vice Mod e lAs ync is a reques t to retrieve the res ult of a GetDeviceModel reques t.

WSDLs
WSDL's and s chema's

Dis tribution automation 121


O pen Smart Grid Platform Documentation

SmartMetering
SmartMetering Documentation (Beta version)
T his chapter des cribes the SmartMetering domain including the web s ervices . Currently the web s ervices of the beta vers ion
are des cribed, s ince the web s ervices have not yet officially been releas ed. Information on the DLMS device s imulator can be
found in the DLMS protocol s ection

Scope
T he goal of this domain is to read and manage millions of s mart meters . T his includes s mart meter ins tallation, firmware
updates , s mart meter removal, read s mart meter values , time s ynchronis ation, etc. Everything that is needed to profes s ionally
manage millions of s mart meters is or can be included in this domain.

Features
Currently, the following Smart Metering features are available within the open s mart grid platform:

Add s mart meter to the platform, s o the device is known and additional actions can be performed for the device
Proces s s hipment file, which adds s everal s mart meters to the platform along with all needed information
Synchronize time between s mart meters and head-end s ys tem, in cas e the s mart meter adjus ts its time, s ome events
will be logged
Retrieve events from the s mart meter, s everal event logs are available
Retrieve periodic meter reads from the s mart meter

Generic functionality
b yp as s re try operations can be given the flag 'bypas s retry'. Which means that an operation will not be retried in
cas e of an error.
p riority operations can be given a priority from 0 to 9, default is 4. Higher values caus es mes s ages to be proces s ed
fas ter.
s che d uling operations can be s cheduled for a certain time.
b und ling operations can be combined in a Bundle.

Mes s ag es

S martMe te ring Ad Hoc

S ynchroniz e T ime is an operation to s ynchronize the date and time on a device. T he date and time are retrieved
from the s erver and s ent to the device.
Ge tS ynchroniz e T ime Re s p ons e is an operation which returns the res pons e from the SynchronizeT ime operation.
Re trie ve AllAttrib ute Value s is an operation to obtain all the attributes of the whole tree of objects from an E-meter.
Ge tRe trie ve AllAttrib ute Value s Re s p ons e is an operation which returns the res pons e from the
RetrieveAllAttributeValues operation.
Ge tS p e cificAttrib ute Value is an operation to obtain a s pecific attribute value from an O bis Code from an E-meter.
Ge tS p e cificAttrib ute Value Re s p ons e is an operation which returns the res pons e from the
GetSpecificAttributeValue operation.
Ge tAs s ociationLnOb je cts is an operation to get the as s ociated ln objects .
Ge tGe tAs s ociationLnOb je cts Re s p ons e is an operation which gets the res pons e from the
GetAs s ociationLnO bjects operation.
S canMb us Channe ls is an operation to get the M-Bus Short ID attribute values for all four channels from an E-meter.
S canMb us Channe ls Re s p ons e is an operation which returns the res pons e from the ScanMbus Channels operation.

S martMe te ring Config uration

S e tS p e cialDays is an operation to s et a dayId profile and its tariffs for a s pecific date on a device.
Ge tS e tS p e cialDays Re s p ons e is an operation which returns the res pons e from the SetSpecialDays operation.
S e tConfig urationOb je ct is an operation to s et ConfigurationO bject s ettings on a device to s pecify behaviour and
connection options .
Ge tS e tConfig urationOb je ctRe s p ons e is an operation which returns the res pons e from the
SetConfigurationO bject operation.
Ge tConfig urationOb je ct is an operation to retrieve a ConfigurationO bject from a device.
Ge tConfig urationOb je ctRe s p ons e is an operation which returns the res pons e, a ConfigurationO bject, from the
GetConfigurationO bject operation.
S e tPus hS e tup Alarm is an operation that pus hes received alarm mes s ages to O SGP.
Ge tS e tPus hS e tup AlarmRe s p ons e is an operation which returns the res pons e from the SetPus hSetupAlarm
operation.
S e tPus hS e tup S ms is an operation to s et an endpoint in a device which tells the device where to connect to when it is
waked up.
Ge tS e tPus hS e tup S ms Re s p ons e is an operation which returns the res pons e from the SetPus hSetupSms operation.

SmartMetering 122
O pen Smart Grid Platform Documentation

S e tAlarmNotifications is an operation to s et the types of alarm notifications that mus t be notified from the device
when they occur.
Ge tS e tAlarmNotifications Re s p ons e is an operation which returns the res pons e from the SetAlarmNotifications
operation.
S e tEncryp tionKe yExchang e OnGMe te r is an operation to trans fer and s et a G-meter key on a device.
Ge tS e tEncryp tionKe yExchang e OnGMe te rRe s p ons e is an operation which returns the res pons e from the
SetEncryptionKeyExchangeO nGMeter operation.
S e tMb us Us e rKe yByChanne l is an operation to s et the M-Bus encryption key on an M-Bus device by us ing the E-
meter device identification and channel from the G-meter.
S e tMb us Us e rKe yByChanne lRe s p ons e is an operation which returns the res pons e from the
SetMbus Us erKeyByChannel operation.
Ge tMb us Encryp tionKe yS tatus is an operation to retrieve the encryption key s tatus for a M-Bus device.
Ge tGe tMb us Encryp tionKe yS tatus Re s p ons e is an operation which returns the res pons e from the
GetMbus EncryptionKeyStatus operation.
Ge tMb us Encryp tionKe yS tatus ByChanne l is an operation to get the M-Bus encryption key s tatus from an M-Bus
device by us ing the E-meter device identification and channel from the G-meter.
Ge tMb us Encryp tionKe yS tatus ByChanne lRe s p ons e is an operation which returns the res pons e from the
GetMbus EncryptionKeyStatus ByChannel operation.
S e tActivityCale nd ar is an operation to s et s everal parameters on an E-meter s uch as tariffs per day in a week
profile.
Ge tS e tActivityCale nd arRe s p ons e is an operation which returns the res pons e from the SetActivityCalendar
operation.
Ge tAd minis trative S tatus is an operation to retrieve the current Adminis trativeStatus s etting.
Ge tGe tAd minis trative S tatus Re s p ons e is an operation which returns the res pons e from the
GetAdminis trativeStatus operation.
S e tAd minis trative S tatus is an operation to s et the Adminis trativeStatus .
Ge tS e tAd minis trative S tatus Re s p ons e is an operation which returns the res pons e from the
SetAdminis trativeStatus operation.
Ge tFirmware Ve rs ion is an operation to retrieve the firmware vers ion(s ).
Ge tGe tFirmware Ve rs ionRe s p ons e is an operation which returns the res pons e from the
GetFirmwareVers ionoperation.
Re p lace Ke ys is an operation to change the keys on a E-meter.
Ge tRe p lace Ke ys Re s p ons e is an operation which returns the res pons e from the ReplaceKeys operation.
Up d ate Firmware is an operation to update the firmware module(s ) on a device.
Ge tUp d ate Firmware Re s p ons e is an operation which returns the res pons e from the UpdateFirmware operation.
Ge ne rate And Re p lace Ke ys is an operation to generate and s et the encryption and authentication key on a device.
Ge ne rate And Re p lace Ke ys Re s p ons e is an operation which returns the res pons e from the
GenerateAndReplaceKeys operation.
S e tClockConfig uration is an operation to s et the clock configuration on a device.
Ge tS e tClockConfig urationRe s p ons e is an operation which returns the res pons e from the SetClockConfiguration
operation.
Config ure De finab le Load Profile is an operation to configure the load profile on a device.
Ge tConfig ure De finab le Load Profile Re s p ons e is an operation which returns the res pons e from the
ConfigureDefinableLoadProfile operation.

S martMe te ring Ins tallation

Ad d De vice is an operation to add a device to the O SGP databas e.


Ge tAd d De vice Re s p ons e is an operation which returns the res pons e from the AddDevice operation.
Coup le Mb us De vice is an operation to couple a M-Bus device to a gateway.
Ge tCoup le Mb us De vice Re s p ons e is an operation which returns the res pons e from the CoupleMbus Device
operation.
Coup le Mb us De vice ByChanne l is an operation to couple a M-Bus device to a gateway.
Ge tCoup le Mb us De vice ByChanne lRe s p ons e is an operation which returns the res pons e from the
CoupleMbus DeviceByChannel operation.
De Coup le Mb us De vice is an operation to decouple an M-Bus device from a gateway.
Ge tDe Coup le Mb us De vice Re s p ons e is an operation which returns the res pons e from the DeCoupleMbus Device
operation.

S martMe te ring Manag e me nt

Find Eve nts is an operation to retrieve events logging from a device.


Ge tFind Eve nts Re s p ons e is an operation which returns the res pons e from the FindEvents operation.
Ge tDe vice s is an operation to retrieve the las t known relay s tatus es for a group of devices .
Enab le De b ug g ing is an operation to enable debug logging for a device.
Ge tEnab le De b ug g ing Re s p ons e is an operation which returns the res pons e from the EnableDebugging operation.
Dis ab le De b ug g ing is an operation to dis able debug logging for a device.
Ge tDis ab le De b ug g ing Re s p ons e is an operation which returns the res pons e from the Dis ableDebugging
operation.
Find Me s s ag e Log s is an operation to read the debug logging from a device.
Ge tFind Me s s ag e Log s Re s p ons e is an operation which returns the res pons e from the FindMes s ageLogs operation.
S e tDe vice CommunicationS e tting s is an operation to s et the O SGP device communication s ettings for a s pecific

SmartMetering 123
O pen Smart Grid Platform Documentation

device.
S e tDe vice CommunicationS e tting s Re s p ons e is an operation which returns the res pons e from the
SetDeviceCommunicationSettings operation.
S e tDe vice Life cycle S tatus is an operation to s et the lifecycle s tatus from a device.
S e tDe vice Life cycle S tatus Re s p ons e is an operation which returns the res pons e from the SetDeviceLifecycleStatus
operation.
S e tDe vice Life cycle S tatus ByChanne l is an operation to s et the lifecycle s tatus from a device.
S e tDe vice Life cycle S tatus ByChanne lRe s p ons e is an operation which returns the res pons e from the
SetDeviceLifecycleStatus ByChannel operation.

S martMe te ring Monitoring

Ge tActualMe te rRe ad s is an operation to retrieve the actual meter reads from an E-meter.
Ge tActualMe te rRe ad s Re s p ons e is an operation which returns the res pons e from the ActualMeterReads operation.
Ge tActualMe te rRe ad s Gas is an operation to retrieve the actual meter reads from a G-meter.
Ge tActualMe te rRe ad s Gas Re s p ons e is an operation which returns the res pons e from the ActualMeterReads Gas
operation.
Ge tPe riod icMe te rRe ad s is an operation to retrieve the periodic meter reads from an E-meter.
Ge tPe riod icMe te rRe ad s Re s p ons e is an operation which returns the res pons e from the PeriodicMeterReads
operation.
Ge tPe riod icMe te rRe ad s Gas is an operation to retrieve the periodic meter reads from a G-meter.
Ge tPe riod icMe te rRe ad s Gas Re s p ons e is an operation which returns the res pons e from the
PeriodicMeterReads Gas operation.
Ge tProfile Ge ne ricData is an operation to retrieve any Profile Generic data from an E-meter.
Ge tProfile Ge ne ricDataRe s p ons e is an operation which returns the res pons e from the ProfileGenericData
operation.
Re ad AlarmRe g is te r is an operation to read the alarm regis ter from a device.
Ge tRe ad AlarmRe g is te rRe s p ons e is an operation which returns the res pons e from the ReadAlarmRegis ter
operation.
Re trie ve Pus hNotificationAlarm is an operation to pus h retrieved alarm notifications to O SGP.
Cle arAlarmRe g is te r is an operation to clear the Alarm regis ter flags for pus hed event notifications .
Cle arAlarmRe g is te rRe s p ons e is an operation which returns the res pons e from the ClearAlarmRegis ter operation.

De vice Manag e me nt

S e tDe vice Life cycle S tatus is an operation to s et the device lifecycle s tatus of a device.
S e tDe vice Life cycle S tatus Re s p ons e is an operation which returns the res pons e from the SetDeviceLifecycleStatus
operation.

S martMe te ring Notification

S e nd Notification is an operation to let Webapps know there is a res ult ready to retrieve from the platform.

S martMe te ring Bund le

Bund le is a s pecial operation in which one or more s ingle operation(s ) to a s pecific device can be bundled.
Ge tBund le Re s p ons e is an operation which gets the res pons e from the Bundle operation.

All operations s ent to this device make us e of one communication channel, which may improve performance cons iderably.

WSDL's
SmartMetering WSDL's
SmartMetering XSD s chema's

SmartMetering 124
O pen Smart Grid Platform Documentation

Web Services
Smart Metering Web Services
T his chapter des cribes all the web s ervices in the s mart metering domain.

Web Services 125


O pen Smart Grid Platform Documentation

bypass retry
By adding an element Bypas s Retry in names pace http://www.opens martgridplatform.org/s chemas /common/2014/10 with a
value true or fals e, you can bypas s retry when reques t to the device fail.

Web Services 126


O pen Smart Grid Platform Documentation

priority
By adding an element Mes s agePriority in names pace http://www.opens martgridplatform.org/s chemas /common/2014/10 with a
value from 0 - 9 you can give a mes s age a lower or higher priority.

Web Services 127


O pen Smart Grid Platform Documentation

scheduling
By adding an element ScheduleT ime in names pace http://www.opens martgridplatform.org/s chemas /common/2014/10 with a
xs d:dateT ime value can s chedule a mes s age.

Web Services 128


O pen Smart Grid Platform Documentation

AdHocManagement
AdHocManagement
Des cribes the actions as defined in SmartMeteringAdhoc.ws dl

Web Services 129


O pen Smart Grid Platform Documentation

GetAssociationLnObjects
GetAssociationLnObjects request
Des cription
GetAs s ociationLnO bjects is a reques t to get the As s ociation LN object tree from an E-meter. T he reques t is s ent with the
DeviceIdentification number from the des ired device.

All reques ts have s imilar res pons e behaviour which is des cribed in Res pons eMes s ages .

GetGetAs s ociationLnO bjects Res pons e returns the res ult values from getting the As s ociation LN object. T he res pons e
contains the DeviceIdentification and CorrelationUid which is received from the GetAs s ociationLnO bjects reques t.

References
XSD: s m-adhoc.xs d

WSDL: SmartMeteringAdhoc.ws dl

Web Services 130


O pen Smart Grid Platform Documentation

GetGetAssociationLnObjectsResponse
GetGetAssociationLnObjectsResponse request
Des cription
GetGetAs s ociationLnO bjects Res pons e returns the res ult values from getting the As s ociation LN object. T he res pons e
contains the DeviceIdentification and CorrelationUid which is received from the GetAs s ociationLnO bjects reques t.

All reques ts have s imilar res pons e behaviour which is des cribed in Res pons eMes s ages .

References
XSD: s m-adhoc.xs d

WSDL: SmartMeteringAdhoc.ws dl

Web Services 131


O pen Smart Grid Platform Documentation

SpecificConfigurationObject
SpecificConfigurationObject request
Des cription
SpecificConfigurationO bject is a reques t to retrieve the data for a s pecific configuration object indicated with:

Clas s Id
Attribute
O bis Code

References
XSD: s m-configuration.xs d

WSDL: SmartMeteringBundle.ws dl

Web Services 132


O pen Smart Grid Platform Documentation

SynchronizeTime
SynchronizeTime request
Des cription
SynchronizeT ime reques t s ynchronizes the date and time on a device. T he date and time are retrieved from the s erver and
s ent to the device with CLASS_ID 8, O BIS_CO DE 0.0.1.0.0.255 and AT T RIBUT E_ID 2. T he reques t is s ent with the
DeviceIdentification number from the des ired device. T he reques t s hould contain a Deviation of local time to UT C in minutes
(from the range of -720 to 720 inclus ive) and a value Ds t indicating whether daylight s avings is active. For example in Central
European Summer T ime, DST is active and times are UT C/GMT +2 hours . For devices in a region where CEST applies ,
during the s ummer time the value for deviation s hould be "-120" (120 minutes deducted from local time gives GMT /UT C time)
and ds t s hould be "true".

All reques ts have s imilar res pons e behaviour which is des cribed in Res pons eMes s ages .

GetSynchronizeT imeRes pons e returns the res ult from s ynchronizing date and time. T he res pons e contains the
DeviceIdentification and CorrelationUid which is received from the SynchronizeT ime reques t.

References
XSD: s m-adhoc.xs d

WSDL: SmartMeteringAdhoc.ws dl

Web Services 133


O pen Smart Grid Platform Documentation

GetSynchronizeTimeResponse
GetSynchronizeTimeResponse request
Des cription
GetSynchronizeT imeRes pons e returns the res ult from s ynchronizing date and time. T he res pons e contains the
DeviceIdentification and CorrelationUid which is received from the SynchronizeT ime reques t.

All reques ts have s imilar res pons e behaviour which is des cribed in Res pons eMes s ages .

References
XSD: s m-adhoc.xs d

WSDL: SmartMeteringAdhoc.ws dl

Web Services 134


O pen Smart Grid Platform Documentation

Bundle
Bundling
You can combine multiple reques ts to a meter in a bundle by creating a BundleReques t with one or more Actions in the
names pace http://www.opens martgridplatform.org/s chemas /s martmetering/s m-bundle/2014/10. Each Action contains one of
the exis ting reques ts to a meter.

A bundle is executed us ing one connection to the meter. A bundle res pons e contains all individual res pons es of executed
commands both s ucces s ful and uns ucces s ful. When an individual reques t fails it is retried when this is us eful, more precis ely
the bundle is retried, executing only reques ts that are fit for re-s ubmis s ion.

Web Services 135


O pen Smart Grid Platform Documentation

Bundle
Bundle request
Des cription
Bundle is a s pecial reques t in which one or more s ingle reques t(s ) to a s pecific device can be bundled. All reques ts s ent to
this device make us e of one communication channel, which may improve performance cons iderably.

GetBundleRes pons e returns the res ult of the actions of the bundle. T he res pons e contains the DeviceIdentification and
CorrelationUid which is received from the Bundle reques t.

T he Bundle reques t has an Actions tag. T his contains a lis t of one or more s ingle reques t(s ). T he res pons e behavior is
des cribed in Res pons eMes s ages .

Actions
Currently, the following actions are s upported:

FindEvents Reques t s ee FindEvents


SetSpecialDays Reques t s ee SetSpecialDays
ReadAlarmRegis terReques t s ee ReadAlarmRegis ter
GetActualMeterReads Reques t s ee ReadAlarmRegis ter
GetActualMeterReads Gas Reques t s ee GetActualMeterReads Gas
GetAdminis trativeStatus Reques t s ee GetAdminis trativeStatus
GetPeriodicMeterReads Reques t s ee GetPeriodicMeterReads
GetPeriodicMeterReads Gas Reques t s ee GetPeriodicMeterReads Gas
SetAdminis trativeStatus Reques t s ee SetAdminis trativeStatus
SetActivityCalendarReques t s ee SetActivityCalendar
SetEncryptionKeyExchangeO nGMeterReques t s ee SetEncryptionKeyExchangeO nGMeter
SetAlarmNotifications Reques t s ee SetAlarmNotifications
SetConfigurationO bjectReques t s ee SetConfigurationO bject
SetPus hSetupAlarmReques t s ee SetPus hSetupAlarm
SetPus hSetupSms Reques t s ee SetPus hSetupSms
SynchronizeT imeReques t s ee SynchronizeT ime
GetConfigurationReques t
GetFirmwareVers ionReques t
UpdateFirmwareReques t s ee UpdateFirmware
GetSpecificConfigurationO bjectReques t s ee SpecificConfigurationO bject
SetKeys Reques t
GetAs s ociationLnO bjects Reques t
SetClockConfigurationReques t SetClockConfiguration
GetProfileGenericDataReques t s ee GetProfileGenericData
ConfigureDefinableLoadProfileReques t s ee ConfigureDefinableLoadProfile
SetMbus Us erKeyByChannelReques t s ee SetMbus Us erKeyByChannel
GetMBus EncryptionKeyStatus Reques t s ee GetMbus EncryptionKeyStatus

References
XSD: s m-bundle.xs d

WSDL: SmartMeteringBundle.ws dl

Web Services 136


O pen Smart Grid Platform Documentation

GetBundleResponse
GetBundleResponse request
Des cription
GetBundleRes pons e returns the res ult of the bundle reques ted with the Bundle method. T he res pons e contains the
DeviceIdentification and CorrelationUid which is received from the Bundle reques t.

All reques ts have s imilar res pons e behaviour which is des cribed in Res pons eMes s ages .

References
XSD:

s m-adhoc.xs d

s m-bundle.xs d

s m-configuration.xs d

s m-management.xs d

s m-monitoring.xs d

WSDL: SmartMeteringBundle.ws dl

Web Services 137


O pen Smart Grid Platform Documentation

Configuration
Configuration
Des cribes the actions as defined in SmartMeteringConfiguration.ws dl

Web Services 138


O pen Smart Grid Platform Documentation

GetAdministrativeStatus
GetAdministrativeStatus request
Des cription
GetAdminis trativeStatus is a reques t to retrieve the current Adminis trativeStatus s etting from a device. T he reques t needs
the DeviceIdentification.

All reques ts have s imilar res pons e behaviour which is des cribed in Res pons eMes s ages .

GetGetAdminis trativeStatus Res pons e returns if the s etting GetAdminis trativeStatus is enabled. T he res pons e contains the
DeviceIdentification and CorrelationUid which is received from the GetAdminis trativeStatus reques t.

References
XSD: s m-configuration.xs d

WSDL: SmartMeteringConfiguration.ws dl

Web Services 139


O pen Smart Grid Platform Documentation

GetGetAdministrativeStatusResponse
GetGetAdministrativeStatusResponse request
Des cription
GetGetAdminis trativeStatus Res pons e returns if the s etting GetAdminis trativeStatus is enabled. T he res pons e contains the
DeviceIdentification and CorrelationUid which is received from the GetAdminis trativeStatus reques t.

All reques ts have s imilar res pons e behaviour which is des cribed in Res pons eMes s ages .

References
XSD: s m-configuration.xs d

WSDL: SmartMeteringConfiguration.ws dl

Web Services 140


O pen Smart Grid Platform Documentation

GetFirmwareVersion
GetFirmwareVersion request
Des cription
GetFirmwareVers ion is a reques t to retrieve the firmware vers ion(s ) of a device. T he reques t needs the DeviceIdentification.

All reques ts have s imilar res pons e behaviour which is des cribed in Res pons eMes s ages .

GetGetFirmwareVers ionRes pons e returns the vers ion(s ). T he res pons e contains the DeviceIdentification and CorrelationUid
which is received from the GetFirmwareVers ion reques t.

References
XSD: s m-configuration.xs d

WSDL: SmartMeteringConfiguration.ws dl

Web Services 141


O pen Smart Grid Platform Documentation

GetGetFirmwareVersionResponse
GetGetFirmwareVersionResponse request
Des cription
GetGetFirmwareVers ionRes pons e returns the device firmware vers ions reques ted with the GetFirmwareVers ion method.
T he res pons e contains the DeviceIdentification and CorrelationUid which is received from the GetFirmwareVers ion reques t.

All reques ts have s imilar res pons e behaviour which is des cribed in Res pons eMes s ages .

References
XSD: s m-configuration.xs d

WSDL: SmartMeteringConfiguration.ws dl

Web Services 142


O pen Smart Grid Platform Documentation

UpdateFirmware
UpdateFirmware request
Des cription
UpdateFirmware is a reques t to ins tall another firmware vers ion(s ) on a device. T he reques t needs the DeviceIdentification
and the firmware vers ions , that together with the device model (as s tored with the identified device) uniquely determine the
firmware file to be us ed.

All reques ts have s imilar res pons e behaviour which is des cribed in Res pons eMes s ages .

GetUpdateFirmwareRes pons e returns the vers ion(s ). T he res pons e contains the DeviceIdentification and CorrelationUid
which is received from the UpdateFirmware reques t.

References
XSD: s m-configuration.xs d

WSDL: SmartMeteringConfiguration.ws dl

Web Services 143


O pen Smart Grid Platform Documentation

GetUpdateFirmwareResponse
GetUpdateFirmwareResponse request
Des cription
GetUpdateFirmwareRes pons e returns the device firmware vers ions that are on the device after calling the UpdateFirmware
method. T he res pons e contains the DeviceIdentification and CorrelationUid which is received from the UpdateFirmware
reques t.

All reques ts have s imilar res pons e behaviour which is des cribed in Res pons eMes s ages .

References
XSD: s m-configuration.xs d

WSDL: SmartMeteringConfiguration.ws dl

Web Services 144


O pen Smart Grid Platform Documentation

ReplaceKeys
ReplaceKeys request
Des cription
ReplaceKeys is a reques t to change the keys on an E-meter. T he reques t needs the DeviceIdentification, an AuthenticationKey
and an EncryptionKey.

All reques ts have s imilar res pons e behaviour which is des cribed in Res pons eMes s ages .

GetReplaceKeys Res pons e returns if the res ult is s ucces s ful from the ReplaceKeys reques t. T he res pons e contains the
DeviceIdentification and CorrelationUid which is received from the ReplaceKeys reques t.

References
XSD: s m-configuration.xs d

WSDL: SmartMeteringConfiguration.ws dl

Web Services 145


O pen Smart Grid Platform Documentation

GetReplaceKeysResponse
GetReplaceKeysResponse request
Des cription
GetReplaceKeys Res pons e returns if the res ult is s ucces s ful from the ReplaceKeys reques t. T he res pons e contains the
DeviceIdentification and CorrelationUid which is received from the ReplaceKeys reques t.

All reques ts have s imilar res pons e behaviour which is des cribed in Res pons eMes s ages .

References
XSD: s m-configuration.xs d

WSDL: SmartMeteringConfiguration.ws dl

Web Services 146


O pen Smart Grid Platform Documentation

SetActivityCalendar
SetActivityCalendar request
Des cription
SetActivityCalendar is a reques t to s et tariffs on an E-meter according a Seas onProfile and WeekProfile. In a WeekProfile,
s even dayprofiles can be filled in with a s tart time and dayId which contains the tariff.

T he reques t needs the DeviceIdentification, CalendarName, ActivatePas s iveCalendarT ime, Seas onProfileName, Seas onStart,
WeekProfileName, DayId and StartT ime.

All reques ts have s imilar res pons e behaviour which is des cribed in Res pons eMes s ages .

GetSetActivityCalendarRes pons e returns the res ult from s etting a SetActivityCalendar. T he res pons e contains the
DeviceIdentification and CorrelationUid which is received from the SetActivityCalendar reques t.

References
XSD: s m-configuration.xs d

WSDL: SmartMeteringConfiguration.ws dl

Web Services 147


O pen Smart Grid Platform Documentation

GetSetActivityCalendarResponse
GetSetActivityCalendarResponse request
Des cription
GetSetActivityCalendarRes pons e returns the res ult from s etting a SetActivityCalendar. T he res pons e contains the
DeviceIdentification and CorrelationUid which is received from the SetActivityCalendar reques t.

All reques ts have s imilar res pons e behaviour which is des cribed in Res pons eMes s ages .

References
XSD: s m-configuration.xs d

WSDL: SmartMeteringConfiguration.ws dl

Web Services 148


O pen Smart Grid Platform Documentation

SetAdministrativeStatus
SetAdministrativeStatus request
Des cription
SetAdminis trativeStatus is a reques t to s et the Adminis trativeStatus on a device. T he reques t needs the DeviceIdentification
and Enabled parameter.

All reques ts have s imilar res pons e behaviour which is des cribed in Res pons eMes s ages .

GetSetAdminis trativeStatus Res pons e returns if the s etting SetAdminis trativeStatus is enabled. T he res pons e contains the
DeviceIdentification and CorrelationUid which is received from the SetAdminis trativeStatus reques t.

References
XSD: s m-configuration.xs d

WSDL: SmartMeteringConfiguration.ws dl

Web Services 149


O pen Smart Grid Platform Documentation

GetSetAdministrativeStatusResponse
GetSetAdministrativeStatusResponse request
Des cription
GetSetAdminis trativeStatus Res pons e returns if the s etting SetAdminis trativeStatus is enabled. T he res pons e contains the
DeviceIdentification and CorrelationUid which is received from the SetAdminis trativeStatus reques t.

All reques ts have s imilar res pons e behaviour which is des cribed in Res pons eMes s ages .

References
XSD: s m-configuration.xs d

WSDL: SmartMeteringConfiguration.ws dl

Web Services 150


O pen Smart Grid Platform Documentation

SetAlarmNotifications
SetAlarmNotifications request
Des cription
SetAlarmNotifications is a reques t to s et the types of alarm notifications that mus t be notified from the device when they
occur. T he following notifications can be enabled or dis abled:

CLO CK_INVALID, REPLACE_BAT T ERY, PO WER_UP, PRO GRAM_MEMO RY_ERRO R, RAM_ERRO R,


NV_MEMO RY_ERRO R, MEASUREMENT _SYST EM_ERRO R, WAT CHDO G_ERRO R, FRAUD_AT T EMPT ,
CO MMUNICAT IO N_ERRO R_M_BUS_CHANNEL_1, CO MMUNICAT IO N_ERRO R_M_BUS_CHANNEL_2,
CO MMUNICAT IO N_ERRO R_M_BUS_CHANNEL_3, CO MMUNICAT IO N_ERRO R_M_BUS_CHANNEL_4,
FRAUD_AT T EMPT _M_BUS_CHANNEL_1, FRAUD_AT T EMPT _M_BUS_CHANNEL_2,
FRAUD_AT T EMPT _M_BUS_CHANNEL_3, FRAUD_AT T EMPT _M_BUS_CHANNEL_4,
NEW_M_BUS_DEVICE_DISCO VERED_CHANNEL_1, NEW_M_BUS_DEVICE_DISCO VERED_CHANNEL_2,
NEW_M_BUS_DEVICE_DISCO VERED_CHANNEL_3, NEW_M_BUS_DEVICE_DISCO VERED_CHANNEL_4

T he reques t needs the DeviceIdentification, AlarmT ype and Enabled parameters .

All reques ts have s imilar res pons e behaviour which is des cribed in Res pons eMes s ages .

GetSetAlarmNotifications Res pons e returns the res ult from s etting a SetAlarmNotifications . T he res pons e contains the
DeviceIdentification and CorrelationUid which is received from the SetAlarmNotifications reques t.

References
XSD: s m-configuration.xs d

WSDL: SmartMeteringConfiguration.ws dl

Web Services 151


O pen Smart Grid Platform Documentation

GetSetAlarmNotificationsResponse
GetSetAlarmNotificationsResponse request
Des cription
GetSetAlarmNotifications Res pons e returns the res ult from s etting a SetAlarmNotifications . T he res pons e contains the
DeviceIdentification and CorrelationUid which is received from the SetAlarmNotifications reques t.

All reques ts have s imilar res pons e behaviour which is des cribed in Res pons eMes s ages .

References
XSD: s m-configuration.xs d

WSDL: SmartMeteringConfiguration.ws dl

Web Services 152


O pen Smart Grid Platform Documentation

SetConfigurationObject
SetConfigurationObject request
Des cription
SetConfigurationO bject is a reques t to s et ConfigurationO bject s ettings on a device. T he attributes with O BIS code 0-
1:94.31.3.255 give acces s to s et GPRS_operation_mode s etting and following flags :

dis cover_on_open_cover
dis cover_on_power_on
dynamic_mbus _addres s
P0_enable
HLS_3_on_P3_enable
HLS_4_on_P3_enable
HLS_5_on_P3_enable
HLS_3_on_P0_enable
HLS_4_on_P0_enable
HLS_5_on_P0_enable

See DSMR document chapter 8.3 for detailed des cription. T he reques t needs the DeviceIdentification, Gprs O perationMode,
ConfigurationFlagT ype and Enabled parameters .

All reques ts have s imilar res pons e behaviour which is des cribed in Res pons eMes s ages .

GetSetConfigurationO bjectRes pons e returns the res ult from s etting a SetConfigurationO bject. T he res pons e contains the
DeviceIdentification and CorrelationUid which is received from the SetConfigurationO bject reques t.

References
XSD: s m-configuration.xs d

WSDL: SmartMeteringConfiguration.ws dl

Web Services 153


O pen Smart Grid Platform Documentation

GetSetConfigurationObjectResponse
GetSetConfigurationObjectResponse request
Des cription
GetSetConfigurationO bjectRes pons e returns the res ult from s etting a ConfigurationO bject. T he res pons e contains the
DeviceIdentification and CorrelationUid which is received from the SetConfigurationO bject reques t.

All reques ts have s imilar res pons e behaviour which is des cribed in Res pons eMes s ages .

References
XSD: s m-configuration.xs d

WSDL: SmartMeteringConfiguration.ws dl

Web Services 154


O pen Smart Grid Platform Documentation

SetEncryptionKeyExchangeOnGMeter
SetEncryptionKeyExchangeOnGMeter request
Des cription
SetEncryptionKeyExchangeO nGMeter is a reques t to trans fer and s et a G-meter key on a G-meter via the E-meter. T he
reques t needs the DeviceIdentification from the G-meter. If the device identification of the G-meter is not known, but the
gateway device identification and M-Bus channel are known, us e the SetMbus Us erKeyByChannel reques t ins tead.

All reques ts have s imilar res pons e behaviour which is des cribed in Res pons eMes s ages .

GetSetEncryptionKeyExchangeO nGMeterRes pons e returns the res ult from s etting a SetEncryptionKeyExchangeO nGMeter.
T he res pons e contains the DeviceIdentification and CorrelationUid which is received from the
SetEncryptionKeyExchangeO nGMeter reques t.

References
XSD: s m-configuration.xs d

WSDL: SmartMeteringConfiguration.ws dl

Web Services 155


O pen Smart Grid Platform Documentation

GetSetEncryptionKeyExchangeOnGMeterResponse
GetSetEncryptionKeyExchangeOnGMeterResponse request
Des cription
GetSetEncryptionKeyExchangeO nGMeterRes pons e returns the res ult from s etting a SetEncryptionKeyExchangeO nGMeter.
T he res pons e contains the DeviceIdentification and CorrelationUid which is received from the
SetEncryptionKeyExchangeO nGMeter reques t.

All reques ts have s imilar res pons e behaviour which is des cribed in Res pons eMes s ages .

References
XSD: s m-configuration.xs d

WSDL: SmartMeteringConfiguration.ws dl

Web Services 156


O pen Smart Grid Platform Documentation

SetPushSetupAlarm
SetPushSetupAlarm request
Des cription
SetPus hSetupAlarm is a reques t to define the des tination of the T CP mes s age that is optionally s ent by the device. T he
reques t needs the DeviceIdentification, Hos t URL and port.

All reques ts have s imilar res pons e behaviour which is des cribed in Res pons eMes s ages .

GetSetPus hSetupAlarmRes pons e returns the res ult from s etting a SetPus hSetupAlarm. T he res pons e contains the
DeviceIdentification and CorrelationUid which is received from the SetPus hSetupAlarm reques t.

References
XSD: s m-configuration.xs d

WSDL: SmartMeteringConfiguration.ws dl

Web Services 157


O pen Smart Grid Platform Documentation

GetSetPushSetupAlarmResponse
GetSetPushSetupAlarmResponse
Des cription
GetSetPus hSetupAlarmRes pons e returns the res ult from s etting a SetPus hSetupAlarm. T he res pons e contains the
DeviceIdentification and CorrelationUid which is received from the SetPus hSetupAlarm reques t.

All reques ts have s imilar res pons e behaviour which is des cribed in Res pons eMes s ages .

References
XSD: s m-configuration.xs d

WSDL: SmartMeteringConfiguration.ws dl

Web Services 158


O pen Smart Grid Platform Documentation

SetPushSetupSms
SetPushSetupSms request
Des cription
SetPus hSetupSms is a reques t to s et an endpoint in a device which tells the device where to connect to when it is woken. T he
reques t needs the DeviceIdentification, hos t URL and port.

All reques ts have s imilar res pons e behaviour which is des cribed in Res pons eMes s ages .

GetSetPus hSetupSms Res pons e returns the res ult from s etting a SetPus hSetupSms . T he res pons e contains the
DeviceIdentification and CorrelationUid which is received from the SetPus hSetupSms reques t.

References
XSD: s m-configuration.xs d

WSDL: SmartMeteringConfiguration.ws dl

Web Services 159


O pen Smart Grid Platform Documentation

GetSetPushSetupSmsResponse
GetSetPushSetupSmsResponse request
Des cription
GetSetPus hSetupSms Res pons e returns the res ult from s etting a SetPus hSetupSms . T he res pons e contains the
DeviceIdentification and CorrelationUid which is received from the SetPus hSetupSms reques t.

All reques ts have s imilar res pons e behaviour which is des cribed in Res pons eMes s ages .

References
XSD: s m-configuration.xs d

WSDL: SmartMeteringConfiguration.ws dl

Web Services 160


O pen Smart Grid Platform Documentation

SetSpecialDays
SetSpecialDays request
Des cription
SetSpecialDays is a reques t to s et a dayId profile for a s pecific date on a device, other than the s tandard applicable dayId's .
T his can be us eful to change tariffs and tariff s cheduling for s pecific days s uch as public holidays . T he reques t is s end with
the DeviceIdentification number from the des ired device, date and dayId.

All reques ts have s imilar res pons e behaviour which is des cribed in Res pons eMes s ages .

GetSetSpecialDays Res pons e returns the res ult from s etting a Special Day. T he res pons e contains the DeviceIdentification
and CorrelationUid which is received from the SetSpecialDays reques t.

References
XSD: s m-configuration.xs d

WSDL: SmartMeteringConfiguration.ws dl

Web Services 161


O pen Smart Grid Platform Documentation

GetSetSpecialDaysResponse
GetSetSpecialDaysResponse request
Des cription
GetSetSpecialDays Res pons e returns the res ult from s etting a Special Day. T he res pons e contains the DeviceIdentification
and CorrelationUid which is received from the SetSpecialDays reques t.

All reques ts have s imilar res pons e behaviour which is des cribed in Res pons eMes s ages .

References
XSD: s m-configuration.xs d

WSDL: SmartMeteringConfiguration.ws dl

Web Services 162


O pen Smart Grid Platform Documentation

GetConfigurationObject
GetConfigurationObject request
Des cription
GetConfigurationO bject is a reques t to retrieve a ConfigurationO bject from a device. T he configuration object in the
electricity meter with the O BIS code 0-1:94.31.3.255 is us ed to acces s the GPRS_operation_mode s etting and following flags :

dis cover_on_open_cover
dis cover_on_power_on
dynamic_mbus _addres s
P0_enable
HLS_3_on_P3_enable
HLS_4_on_P3_enable
HLS_5_on_P3_enable
HLS_3_on_P0_enable
HLS_4_on_P0_enable
HLS_5_on_P0_enable

See DSMR document chapter 8.3 for detailed des cription. T he reques t needs the DeviceIdentification.

All reques ts have s imilar res pons e behavior which is des cribed in Res pons eMes s ages .

References
XSD: s m-configuration.xs d

WSDL: SmartMeteringConfiguration.ws dl

Web Services 163


O pen Smart Grid Platform Documentation

GetConfigurationObjectResponse
GetConfigurationObjectResponse request
Des cription
GetConfigurationO bjectRes pons e returns the res ult, a ConfigurationO bject, which is received from the
GetConfigurationO bject reques t.

All reques ts have s imilar res pons e behavior which is des cribed in Res pons eMes s ages .

References
XSD: s m-configuration.xs d

WSDL: SmartMeteringConfiguration.ws dl

Web Services 164


O pen Smart Grid Platform Documentation

ConfigureDefinableLoadProfile
ConfigureDefinableLoadProfile request
Des cription
ConfigureDefinableLoadProfile is a reques t to change the configuration of the definable load profile (CO SEM object of
interface clas s 'Profile generic' with logical name '0-1:94.31.6.255') of the device. T he reques t needs the DeviceIdentification,
and at leas t one of CaptureO bjects and CapturePeriod.

T he CaptureO bjects element may be included in the reques t to s pecify one or more objects to be captured in the definable
load profile, containing definitions as CaptureO bject according to the CaptureO bjectDefinition in common.xs d. T he
CaptureO bjects s hould not include the clock definition ({8,0-0:1.0.0.255,2,0}) as this will always be included as firs t capture
object. T his matches the way GetProfileGenericData works when retrieving the buffer of the definable load profile (where
you mus t not s pecify the clock definition as s elected value).

T he CapturePeriod may be included to s pecify the automatic capturing period in s econds (a value of zero meaning no
automatic capturing s hould be done).

All reques ts have s imilar res pons e behaviour which is des cribed in Res pons eMes s ages .

T he res pons e contains the DeviceIdentification and CorrelationUid which is received from the
ConfigureDefinableLoadProfile reques t. GetConfigureDefinableLoadProfileRes pons e returns if the res ult is s ucces s ful from
the ConfigureDefinableLoadProfile reques t.

References
XSD: s m-configuration.xs d

WSDL: SmartMeteringConfiguration.ws dl

Web Services 165


O pen Smart Grid Platform Documentation

GetConfigureDefinableLoadProfileResponse
GetConfigureDefinableLoadProfileResponse request
Des cription
GetConfigureDefinableLoadProfileRes pons e returns if the res ult is s ucces s ful from the ConfigureDefinableLoadProfile
reques t. T he reques t contains the DeviceIdentification and CorrelationUid which is received from the
ConfigureDefinableLoadProfile reques t.

All reques ts have s imilar res pons e behaviour which is des cribed in Res pons eMes s ages .

References
XSD: s m-configuration.xs d

WSDL: SmartMeteringConfiguration.ws dl

Web Services 166


O pen Smart Grid Platform Documentation

SetMbusUserKeyByChannel
SetMbusUserKeyByChannel request
Des cription
SetMbus Us erKeyByChannel is a reques t to generate, trans fer and s et an M-Bus us er key on an M-Bus device (for ins tance a
G-meter behind an E-meter) via the DLMS gateway device. T he reques t needs the DeviceIdentification from the gateway
device and the channel for the M-Bus device. A us e cas e for a reques t with the channel (as only identification of the M-Bus
device bes ides the identification of the gateway) as input is to be able to res pond to new M-Bus device dis covered on
channel x alarms (x in 1..4) from a gateway. If a new M-Bus Us er key is to be s et on an M-Bus device with a known
identification, this can be done with the SetEncryptionKeyExchangeO nGMeter reques t.

All reques ts have s imilar res pons e behaviour which is des cribed in Res pons eMes s ages .

T he res pons e contains the DeviceIdentification and CorrelationUid which is received from the SetMbus Us erKeyByChannel
reques t. GetSetMbus Us erKeyByChannelRes pons e returns the res ult from is s uing a SetMbus Us erKeyByChannel reques t.

References
XSD: s m-configuration.xs d

WSDL: SmartMeteringConfiguration.ws dl

Web Services 167


O pen Smart Grid Platform Documentation

GetSetMbusUserKeyByChannelResponse
GetSetMbusUserKeyByChannelResponse request
Des cription
GetSetMbus Us erKeyByChannelRes pons e returns the res ult from is s uing a SetMbus Us erKeyByChannel reques t. T he reques t
contains the DeviceIdentification and CorrelationUid which is received from the SetMbus Us erKeyByChannel reques t.

All reques ts have s imilar res pons e behaviour which is des cribed in Res pons eMes s ages .

References
XSD: s m-configuration.xs d

WSDL: SmartMeteringConfiguration.ws dl

Web Services 168


O pen Smart Grid Platform Documentation

GetMbusEncryptionKeyStatus
GetMBusEncryptionKeyStatus request
Des cription
GetMbus EncryptionKeyStatus is a reques t to retrieve the encryption key s tatus of a M-Bus device from an E-meter. T he
reques t needs the DeviceIdentification of the M-Bus Device.

All reques ts have s imilar res pons e behaviour which is des cribed in Res pons eMes s ages .

T he returned res pons e for the GetMbus EncryptionKeyStatus reques t is as s pecified in


GetGetMbus EncryptionKeyStatus Res pons e.

References
XSD: s m-configuration.xs d

WSDL: SmartMeteringConfiguration.ws dl

Web Services 169


O pen Smart Grid Platform Documentation

GetGetMbusEncryptionKeyStatusResponse
GetGetMBusEncryptionKeyStatusResponse request
Des cription
GetGetMbus EncryptionKeyStatus Res pons e is a reques t to return the M-Bus encryption key s tatus as reques ted by a
GetMbus EncryptionKeyStatus reques t. T he pos s ible return values for the M-Bus encryption key s tatus can be found in the
EncryptionKeyStatus enum in the s m-configuration.xs d

References
XSD: s m-configuration.xs d

WSDL: SmartMeteringConfiguration.ws dl

Web Services 170


O pen Smart Grid Platform Documentation

GetMbusEncryptionKeyStatusByChannel
GetMBusEncryptionKeyStatusByChannel request
Des cription
GetMbus EncryptionKeyStatus ByChannel is a reques t to retrieve the encryption key s tatus of an M-Bus device from an E-
meter. T he reques t needs the DeviceIdentification of the gateway device and a channel.

All reques ts have s imilar res pons e behaviour which is des cribed in Res pons eMes s ages .

T he returned res pons e for the GetMbus EncryptionKeyStatus ByChannel reques t is as s pecified in
GetMbus EncryptionKeyStatus ByChannelRes pons e.

References
XSD: s m-configuration.xs d

WSDL: SmartMeteringConfiguration.ws dl

Web Services 171


O pen Smart Grid Platform Documentation

ScanMbusChannels
ScanMbusChannels request
Des cription
ScanMbus Channels is a reques t to read the M-Bus Short Equipment Identifier (Short ID) attributes (Identification number,
Manufacturer identification, Vers ion identification, and Device type identification) from all four channels on a Gateway device
to determine if an M-Bus device is bound on a channel of the Gateway device.

All reques ts have s imilar res pons e behaviour which is des cribed in Res pons eMes s ages .

T he returned res pons e for the ScanMbus Channels reques t is as s pecified in ScanMbus Channels Res pons e.

References
XSD: s m-management.xs d

WSDL: SmartMeteringAdhoc.ws dl

Web Services 172


O pen Smart Grid Platform Documentation

ScanMbusChannelsResponse
ScanMbusChannelsResponse request
Des cription
ScanMbus Channels Res pons e returns the res ult of a ScanMbus Channels reques t. T he res pons e contains the M-Bus Short
Equipment Identifier (Short ID) attributes (Identification number, Manufacturer identification, Vers ion identification, and
Device type identification) from all four channels of a Gateway device.

References
XSD: s m-adhoc.xs d

WSDL: SmartMeteringAdhoc.ws dl

Web Services 173


O pen Smart Grid Platform Documentation

Installation
Installation
Des cribes the actions as defined in SmartMeteringIns tallation.ws dl

Web Services 174


O pen Smart Grid Platform Documentation

AddDevice
AddDevice request
Des cription
AddDevice is a reques t to add a device to the O SGP databas e. For the lis t of parameters , s ee the .xs d file (link below).

All reques ts have s imilar res pons e behaviour which is des cribed in Res pons eMes s ages

GetAddDeviceRes pons e returns if the res ult is s ucces s ful from the reques t. T he res pons e contains the DeviceIdentification
and CorrelationUid which is received from the AddDevice reques t.

References
XSD: s m-ins tallation.xs d

WSDL: SmartMeteringIns tallation.ws dl

Example s cenario
Scenario: Add a new device
When receiving a smartmetering add device request
| DeviceIdentification | TEST1024000000001 |
| DeviceType | SMART_METER_E |
| CommunicationMethod | GPRS |
| CommunicationProvider | KPN |
| ICC_id | 1234 |
| DSMR_version | 4.2.2 |
| Supplier | Kaifa |
| HLS3_active | false |
| HLS4_active | false |
| HLS5_active | true |
| Master_key | m_key |
| Authentication_key | a_key |
| Encryption_key | e_key |
Then the get add device response should be returned
| DeviceIdentification | TEST1024000000001 |
| Result | OK |
And the dlms device with identification "TEST1024000000001" exists
And a request to the device can be performed after activation
And the stored keys are not equal to the received keys

Example XML Mes s ag e


<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ns="http://www.opensmar
<soapenv:Header>
<ns:ApplicationName>AutomaticTest</ns:ApplicationName>
<ns:UserName>SoapUI</ns:UserName>
<ns:OrganisationIdentification>test-org</ns:OrganisationIdentification>
</soapenv:Header>
<soapenv:Body>
<ns1:AddDeviceRequest>
<ns1:Device>
<!--Optional:-->
<ns1:Device_Identification>TEST1024000000001</ns1:Device_Identification>
<!--Optional:-->
<ns1:Device_type>SMART_METER_E</ns1:Device_type>
<!--Optional:-->
<ns1:Communication_method>GPRS</ns1:Communication_method>
<!--Optional:-->
<ns1:Communication_provider>KPN</ns1:Communication_provider>
<!--Optional:-->
<ns1:ICC_id>icc_id</ns1:ICC_id>
<!--Optional:-->
<ns1:DSMR_version>4.2.2</ns1:DSMR_version>
<!--Optional:-->
<ns1:Supplier>Kaifa</ns1:Supplier>
<!--Optional:-->
<ns1:HLS3_active>false</ns1:HLS3_active>
<!--Optional:-->

Web Services 175


O pen Smart Grid Platform Documentation

<ns1:HLS4_active>false</ns1:HLS4_active>
<!--Optional:-->
<ns1:HLS5_active>true</ns1:HLS5_active>
<!--Optional:-->
<ns1:Master_key>m_key</ns1:Master_key>
<!--Optional:-->
<ns1:Global_encryption_unicast_key>e_key</ns1:Global_encryption_unicast_key>
<!--Optional:-->
<ns1:Authentication_key>a_key</ns1:Authentication_key>
<ns1:Delivery_date>2017-05-17 06:16:57.07</ns1:Delivery_date>
</ns1:Device>
</ns1:AddDeviceRequest>
</soapenv:Body>
</soapenv:Envelope>

Web Services 176


O pen Smart Grid Platform Documentation

GetAddDeviceResponse
GetAddDeviceResponse request
Des cription
GetAddDeviceRes pons e returns if the res ult is s ucces s ful from the AddDevice reques t. T he res pons e contains the
DeviceIdentification and CorrelationUid which is received from the AddDevice reques t.

All reques ts have s imilar res pons e behaviour which is des cribed in Res pons eMes s ages .

References
XSD: s m-ins tallation.xs d

WSDL: SmartMeteringIns tallation.ws dl

Web Services 177


O pen Smart Grid Platform Documentation

CoupleMbusDevice
CoupleMbusDevice request
Des cription
CoupleMbus Device is a reques t to couple a gateway and a m-bus device. T he reques t needs the following parameters :

DeviceIdentification
Mbus DeviceIdentification

All reques ts have s imilar res pons e behaviour which is des cribed in Res pons eMes s ages

GetCoupleMbus DeviceRes pons e returns if the res ult is s ucces s ful from the reques t. T he res pons e reques t contains the
DeviceIdentification and CorrelationUid which is received from the CoupleMbus Device reques t.

References
XSD: s m-ins tallation.xs d

WSDL: SmartMeteringIns tallation.ws dl

Web Services 178


O pen Smart Grid Platform Documentation

GetCoupleMbusDeviceResponse
GetCoupleMbusDeviceResponse request
Des cription
GetCoupleMbus DeviceRes pons e returns if the res ult is s ucces s ful from the CoupleMbus Device reques t. T he res pons e
contains the DeviceIdentification and CorrelationUid which is received from the CoupleMbus Device reques t.

All reques ts have s imilar res pons e behaviour which is des cribed in Res pons eMes s ages .

References
XSD: s m-ins tallation.xs d

WSDL: SmartMeteringIns tallation.ws dl

Web Services 179


O pen Smart Grid Platform Documentation

DeCoupleMbusDevice
DeCoupleMbusDevice request
Des cription
DeCoupleMbus Device is a reques t to decouple an Mbus device (s uch as a gas meter) from a device to the O SGP databas e.
T he reques t needs the following parameters :

DeviceIdentification
Mbus DeviceIdentification

All reques ts have s imilar res pons e behaviour which is des cribed in Res pons eMes s ages

GetDeCoupleMbus DeviceRes pons e returns if the res ult is s ucces s ful from the reques t. T he res pons e contains the
DeviceIdentification and CorrelationUid which is received from the DeCoupleMbus Device reques t.

References
XSD: s m-ins tallation.xs d

WSDL: SmartMeteringIns tallation.ws dl

Web Services 180


O pen Smart Grid Platform Documentation

GetDeCoupleMbusDeviceResponse
GetDeCoupleMbusDeviceResponse request
Des cription
GetDeCoupleMbus DeviceRes pons e returns if the res ult is s ucces s ful from the DeCoupleMbus Device reques t. T he res pons e
contains the DeviceIdentification and CorrelationUid which is received from the DeCoupleMbus Device reques t.

All reques ts have s imilar res pons e behaviour which is des cribed in Res pons eMes s ages .

References
XSD: s m-ins tallation.xs d

WSDL: SmartMeteringIns tallation.ws dl

Web Services 181


O pen Smart Grid Platform Documentation

Management
Management
Des cribes the actions as defined in SmartMeteringManagement.ws dl

Web Services 182


O pen Smart Grid Platform Documentation

FindEvents
FindEvents request
Des cription
FindEvents is a reques t to retrieve periodic events logging from a device. T he reques t needs the DeviceIdentification,
EventLogCategory, From and Until DateT ime. T he EventlogCategories cons is t off:

ST ANDARD_EVENT _LO G
FRAUD_DET ECT IO N_LO G
CO MMUNICAT IO N_SESSIO N
M_BUS_EVENT _LO G

DSMR Chapter 4.2.1 des cribes the s everal events and their des cription.

All reques ts have s imilar res pons e behaviour which is des cribed in Res pons eMes s ages .

GetFindEvents Res pons e returns if the res ult is s ucces s ful from the reques t. T he res pons e contains the DeviceIdentification
and CorrelationUid which is received from the FindEvents reques t.

References
XSD: s m-management.xs d

WSDL: SmartMeteringManagement.ws dl

Web Services 183


O pen Smart Grid Platform Documentation

GetFindEventsResponse
GetFindEventsResponse request
Des cription
GetFindEvents Res pons e returns if the res ult is s ucces s ful from the FindEvents reques t. T he res pons e contains the
DeviceIdentification and CorrelationUid which is received from the FindEvents reques t.

All reques ts have s imilar res pons e behaviour which is des cribed in Res pons eMes s ages .

References
XSD: s m-management.xs d

WSDL: SmartMeteringManagement.ws dl

Web Services 184


O pen Smart Grid Platform Documentation

GetDevices
GetDevices request
Des cription
GetDevices is a reques t to get the las t known relay s tatus es for a group of devices , s o you can get an overview of s tatus es
for a s pecific s et of devices . T he reques t needs the Page parameter.

All reques ts have s imilar res pons e behaviour which is des cribed in Res pons eMes s ages .

References
XSD: s m-management.xs d

WSDL: SmartMeteringManagement.ws dl

Web Services 185


O pen Smart Grid Platform Documentation

SetDeviceLifecycleStatusByChannel
SetDeviceLifecycleStatusByChannel request
Des cription
SetDeviceLifecycleStatus Bychannel is a reques t to s et the device lifecycle s tatus of an Mbus device, us ing the device
identification of the Gateway device and a channel.

All reques ts have s imilar res pons e behaviour which is des cribed in Res pons eMes s ages .

T he returned res pons e for the SetDeviceLifecycleStatus ByChannel reques t is as s pecified in


SetDeviceLifecycleStatus ByChannelRes pons e.

References
XSD: s m-management.xs d

WSDL: SmartMeteringManagement.ws dl

Web Services 186


O pen Smart Grid Platform Documentation

SetDeviceLifecycleStatusByChannelResponse
SetDeviceLifecycleStatusByChannelResponse request
Des cription
SetDeviceLifecycleStatus ByChannelRes pons e returns the res ult of a SetDeviceLifecycleStatus ByChannel reques t. T he
res pons e contains the GatewayDeviceIdentification, Mbus DeviceIdentification, DeviceLifecycleStatus and
channel.SetDeviceLifecycleStatus ByChannel reques t.

References
XSD: s m-management.xs d

WSDL: SmartMeteringManagement.ws dl

Web Services 187


O pen Smart Grid Platform Documentation

EnableDebugging
EnableDebugging request
Des cription
Enable debugging for a device. Communication with the device will be logged and made available through FindMes s ageLogs ,

All reques ts have s imilar res pons e behaviour which is des cribed in Res pons eMes s ages .

GetEnableDebuggingRes pons e returns the res ult s tatus . T he res pons e contains the DeviceIdentification and CorrelationUid
which is received from the GetEnableDebuggingReques t reques t.

References
XSD: s m-management.xs d

WSDL: SmartMeteringManagement.ws dl

Web Services 188


O pen Smart Grid Platform Documentation

DisableDebugging
DisableDebugging request
Des cription
Dis able debugging for a device. Communication with the device will be logged and made available through
FindMes s ageLogs ,

All reques ts have s imilar res pons e behaviour which is des cribed in Res pons eMes s ages .

GetDis ableDebuggingRes pons e returns the res ult s tatus . T he res pons e contains the DeviceIdentification and CorrelationUid
which is received from the GetDis ableDebuggingReques t reques t.

References
XSD: s m-management.xs d

WSDL: SmartMeteringManagement.ws dl

Web Services 189


O pen Smart Grid Platform Documentation

FindMessageLogs
FindMessageLogs request
Des cription
FindMes s ageLogs is a reques t to retrieve logged mes s ages for a device. T he reques t needs the DeviceIdentification and a
Page number to return.

All reques ts have s imilar res pons e behaviour which is des cribed in Res pons eMes s ages .

GetFindMes s ageLogs Res pons e returns if the res ult is s ucces s ful from the reques t. T he res pons e contains the
DeviceIdentification and CorrelationUid which is received from the FindMes s ageLogs reques t.

Note : T his functionality als o e xis ts in the ad min d e vice manag e me nt s e rvice . It was d up licate d he re to b e
imp le me nte d as ynchronous ly, as the re is no s up p ort for as ynchronous re q ue s ts trig g e ring a notification s e rvice
in the ad min p roje ct. As s oon as as ynchronous re q ue s ts and notifications are imp le me nte d throug hout the OS GP
p latform, this me thod s hould b e re move d in favour of the ad min imp le me ntation.

References
XSD: s m-management.xs d

WSDL: SmartMeteringManagement.ws dl

Web Services 190


O pen Smart Grid Platform Documentation

Monitoring
Monitoring
Des cribes the funtions as defined in SmartMeteringMonitoring.ws dl

Web Services 191


O pen Smart Grid Platform Documentation

GetActualMeterReads
GetActualMeterReads request
Des cription
GetActualMeterReads is a reques t to retrieve the actual import and export meter reads from an E-meter. T he reques t needs
the DeviceIdentification.

All reques ts have s imilar res pons e behaviour which is des cribed in Res pons eMes s ages .

GetActualMeterReads Res pons e returns the retrieved meter reads values , unit and log time from the GetActualMeterReads
reques t. T he res pons e contains the DeviceIdentification and CorrelationUid which is received from the GetActualMeterReads
reques t.

References
XSD: s m-monitoring.xs d

WSDL: SmartMeteringMonitoring.ws dl

Web Services 192


O pen Smart Grid Platform Documentation

GetActualMeterReadsResponse
GetActualMeterReadsResponse request
Des cription
GetActualMeterReads Res pons e returns the retrieved import and export values , unit and logtime from the ActualMeterReads
reques t. T he res pons e contains the DeviceIdentification and CorrelationUid which is received from the GetActualMeterReads
reques t.

All reques ts have s imilar res pons e behaviour which is des cribed in Res pons eMes s ages .

References
XSD: s m-monitoring.xs d

WSDL: SmartMeteringMonitoring.ws dl

Web Services 193


O pen Smart Grid Platform Documentation

GetActualMeterReadsGas
GetActualMeterReadsGas request
Des cription
GetActualMeterReads Gas is a reques t to retrieve the actual import and export meter reads from a G-meter. T he reques t
needs the DeviceIdentification.

All reques ts have s imilar res pons e behaviour which is des cribed in Res pons eMes s ages .

GetActualMeterReads Gas Res pons e returns the retrieved meter reads values , unit and log time from the
GetActualMeterReads Gas reques t. T he res pons e contains the DeviceIdentification and CorrelationUid which is received
from the GetActualMeterReads Gas reques t.

References
XSD: s m-monitoring.xs d

WSDL: SmartMeteringMonitoring.ws dl

Web Services 194


O pen Smart Grid Platform Documentation

GetActualMeterReadsGasResponse
GetActualMeterReadsGasResponse request
Des cription
GetActualMeterReads Gas Res pons e returns the retrieved import and export values , unit and log time from the
ActualMeterReads Gas reques t. T he res pons e contains the DeviceIdentification and CorrelationUid which is received from
the ActualMeterReads Gas reques t.

All reques ts have s imilar res pons e behaviour which is des cribed in Res pons eMes s ages .

References
XSD: s m-monitoring.xs d

WSDL: SmartMeteringMonitoring.ws dl

Web Services 195


O pen Smart Grid Platform Documentation

GetPeriodicMeterReads
GetPeriodicMeterReads request
Des cription
GetPeriodicMeterReads is a reques t to retrieve the periodic import and export meter reads from an E-meter. T he periode
can be DAILY, MO NT HLY or INT ERVAL. T he reques t needs the DeviceIdentification.

All reques ts have s imilar res pons e behaviour which is des cribed in Res pons eMes s ages .

GetPeriodicMeterReads Res pons e returns the retrieved meter reads values , unit and log time from the
GetPeriodicMeterReads reques t. T he res pons e contains the DeviceIdentification and CorrelationUid which is received from
the GetPeriodicMeterReads reques t.

References
XSD: s m-monitoring.xs d

WSDL: SmartMeteringMonitoring.ws dl

Web Services 196


O pen Smart Grid Platform Documentation

GetPeriodicMeterReadsResponse
GetPeriodicMeterReadsResponse request
Des cription
GetPeriodicMeterReads Res pons e returns the retrieved import and export values , unit and log time from the
PeriodicMeterReads reques t. T he res pons e contains the DeviceIdentification and CorrelationUid which is received from the
GetPeriodicMeterReads reques t.

All reques ts have s imilar res pons e behaviour which is des cribed in Res pons eMes s ages .

References
XSD: s m-monitoring.xs d

WSDL: SmartMeteringMonitoring.ws dl

Web Services 197


O pen Smart Grid Platform Documentation

GetPeriodicMeterReadsGas
GetPeriodicMeterReadsGas request
Des cription
GetPeriodicMeterReads Gas is a reques t to retrieve the periodic import and export meter reads from a G-meter. T he period
can be DAILY, MO NT HLY or INT ERVAL. T he reques t needs the DeviceIdentification.

All reques ts have s imilar res pons e behaviour which is des cribed in Res pons eMes s ages .

GetPeriodicMeterReads Gas Res pons e returns the retrieved meter reads values , unit and log time from the
GetPeriodicMeterReads Gas reques t. T he res pons e contains the DeviceIdentification and CorrelationUid which is received
from the GetPeriodicMeterReads Gas reques t.

References
XSD: s m-monitoring.xs d

WSDL: SmartMeteringMonitoring.ws dl

Web Services 198


O pen Smart Grid Platform Documentation

GetPeriodicMeterReadsGasResponse
GetPeriodicMeterReadsGasResponse request
Des cription
GetPeriodicMeterReads Gas Res pons e returns the retrieved import and export values , unit and log time from the
PeriodicMeterReads Gas reques t. T he res pons e contains the DeviceIdentification and CorrelationUid which is received from
the GetPeriodicMeterReads Gas reques t.

All reques ts have s imilar res pons e behaviour which is des cribed in Res pons eMes s ages .

References
XSD: s m-monitoring.xs d

WSDL: SmartMeteringMonitoring.ws dl

Web Services 199


O pen Smart Grid Platform Documentation

GetProfileGenericData
GetProfileGenericData request
Des cription
GetProfileGenericData is a reques t to retrieve any DLMS "Profile generic" data from an E-meter. T he reques t needs the
DeviceIdentification.

T he s pecific Profile generic data to be retrieved is identified by its O BIS code included as O bis Code according to the
O bis CodeValues as s pecified in common.xs d.

Selective acces s will be applied as des cribed in the DLMS s tandard for acces s s elector range_descriptor. T he clock definition
is us ed as restricting_object. T he from_value and to_value for the captured clock values will be s et bas ed on the BeginDate and
EndData in the reques t.

It is pos s ible to further reduce the amount of data retrieved from the device to s pecify selected_values. T his is done by
including the optional SelectedValues element in the reques t s pecifying one or more capture object definitions as
CaptureO bject according to the CaptureO bjectDefinition in common.xs d.

T he clock definition mus t not be s pecified in the SelectedValues , s ince it will always be included in the res ults . T he values
that are s pecified mus t be capture object definitions that appear in the lis t of capture_objects for the Profile generic data that
is retrieved.

All reques ts have s imilar res pons e behaviour which is des cribed in Res pons eMes s ages .

T he ultimately returned res pons e for the GetProfileGenericData reques t is as s pecified in GetProfileGenericDataRes pons e.

References
XSD: s m-monitoring.xs d

WSDL: SmartMeteringMonitoring.ws dl

Web Services 200


O pen Smart Grid Platform Documentation

GetProfileGenericDataResponse
GetProfileGenericDataResponse request
Des cription
GetProfileGenericDataRes pons e is a reques t to return the Generic profile buffer data as reques ted by a
GetProfileGenericData reques t. It contains the DeviceIdentification and CorrelationUid which is received from the
GetProfileGenericData reques t.

T he res pons e to the GetProfileGenericDataRes pons e reques t contains the logical name of the reques ted Generic profile as
LogicalName according to the O bis CodeValues as s pecified in common.xs d.

T he definitions of the capture objects from the buffer that are included in the res pons e are lis ted as CaptureO bject
according to the CaptureO bject in common.xs d.

T he actual data from the buffer is included in the ProfileEntries , where each ProfileEntry has a lis t of values that match the
capture objects from the res pons e.

References
XSD: s m-monitoring.xs d

WSDL: SmartMeteringMonitoring.ws dl

Web Services 201


O pen Smart Grid Platform Documentation

ReadAlarmRegister
ReadAlarmRegister request
Des cription
ReadAlarmRegis ter is a reques t to retrieve the query alarm regis ter. A notification will be s ent and the query will be s tored in
the databas e. T he reques t needs the DeviceIdentification.

All reques ts have s imilar res pons e behaviour which is des cribed in Res pons eMes s ages .

GetReadAlarmRegis terRes pons e returns the alarm notifications from the ReadAlarmRegis ter reques t. T he res pons e contains
the DeviceIdentification and CorrelationUid which is received from the ReadAlarmRegis ter reques t.

References
XSD: s m-monitoring.xs d

WSDL: SmartMeteringMonitoring.ws dl

Web Services 202


O pen Smart Grid Platform Documentation

GetReadAlarmRegisterResponse
GetReadAlarmRegisterResponse request
Des cription
GetReadAlarmRegis terRes pons e returns the alarm notifications from the ReadAlarmRegis ter reques t. T he res pons e contains
the DeviceIdentification and CorrelationUid which is received from the ReadAlarmRegis ter reques t.

All reques ts have s imilar res pons e behaviour which is des cribed in Res pons eMes s ages .

References
XSD: s m-monitoring.xs d

WSDL: SmartMeteringMonitoring.ws dl

Web Services 203


O pen Smart Grid Platform Documentation

RetrievePushNotificationAlarm
RetrievePushNotificationAlarm request
Des cription
RetrievePus hNotificationAlarm is a reques t to pus h retrieved alarm notifications to O SGP. T he reques t needs the
DeviceIdentification.

All reques ts have s imilar res pons e behaviour which is des cribed in Res pons eMes s ages .

References
XSD: s m-monitoring.xs d

WSDL: SmartMeteringMonitoring.ws dl

Web Services 204


O pen Smart Grid Platform Documentation

Notification
Notifications
Des cribes the actions as defined in the SmartMeteringNotification.ws dl

Web Services 205


O pen Smart Grid Platform Documentation

SendNotification
SendNotification request
Des cription
SendNotification is a reques t from the platform to let Webapps know there is a res ult ready to retrieve. In this way, there is
no need for cons tant polling between Webapps and the platform. T he reques t needs the DeviceIdentification.

All reques ts have s imilar res pons e behaviour which is des cribed in Res pons eMes s ages .

References
XSD: s m-notification.xs d

WSDL: SmartMeteringNotification.ws dl

Web Services 206


O pen Smart Grid Platform Documentation

ResponseMessages
ResponseMessages
T he res pons e of a reques t s hould always contain a DeviceIdentification and CorrelationUid which is us ed in the res pons e
reques t. As s ertions validate if there is a 'SO AP Res pons e' received, if the res pons e is 'Schema Compliant' with the WSDL and
if there has been a 'not SO AP Fault'. T he las t one occurs when a fault code is returned. Pos s ible faults are connection timed-
out, SmartMeter could not be found, T CP-IP connection error or Correlationuid is unknown. T he faults can be among others
a FunctionalFault or T echnicalFault. Res pons es to a bundle reques t may include faults in the form of FaultRes pons eData,
res embling the other faults . T he format of thes e faults is des cribed in the common.xs d.

Res pons eMes s ages 207


O pen Smart Grid Platform Documentation

Use cases
Example use-case for this domain
Up-to-date information on us e-cas es can be found on the open s mart grid platform webs ite.

S mart Me te r He ad -e nd S ys te m

T e chnical d rive rs

Replacement or addition to the current head-end s ys tem


During the coming years , many s mart meters will be placed in hous es , companies and other properties , therefore grid
operators need a s calable s olution
E(lectricity) Meters can hos t up to 4 other s mart devices , Gas Meters for example
DLMS/CO SEM is us ed by many(if not all) Smart Meters

Cus tome r d rive rs

People will have more ins ight in their power cons umption
Meter values can be gathered by the grid operator, ins tead of relying on people reporting the meter values

Us e cas es 208
O pen Smart Grid Platform Documentation

Guidelines to add a new domain to OSGP


Guidelines to add a new domain to OSGP
In order to add a new domain to O SGP, you can benefit from the guidelines given in this document. T he general idea for
adding a new domain is to copy an exis ting domain, for ins tance the microgrids domain, and perform a global s earch and
replace, to replace the old domain name with the new domain name. You can us e refactor methods from IntelliJ or Eclips e to
help renaming the old domain names .

T o add a new domain, changes mus t be made to 3 GitHub repos itories :

1. Config repos itory.


2. Shared repos itory.
3. Platform repos itory.

Chang es to OSGP/Config
Search for “Microgrids ” and “microgrids ” in all files and you will find all files to change for a new domain. T hes e files
include:

Apache configuration
Create domain databas e s cript
Backup, res tore, s ymlinks s cripts
T omcat context s cript

Chang es to OSGP/Shared
A new Maven module mus t be added for the new domain (os gp-ws -newdomain). T his module will contain the ws dl files for
the new domain s ervices . Copy for ins tance os gp-ws -microgrids , s earch and replace microgrids with your domain and
replace the ws dl files with your ws dl files . JAXB will generate java clas s es for your webs ervices . Change
NewDomainWebServiceConfig.java accordingly. Make s ure your bas e Reques t and Res pons e clas s es are generated with an
@XmlRootElement annotation. O therwis e your endpoints which are bas ed on thes e types will fail (See @PayloadRoot in
AdHocManagementEndpoint in os pg-adapter-ws -microgrids ). T he s tructure of your ws dl file determines whether the
@XmlRootElement annotation is generated or not.

Image showing the generated @XmlRootElement annotation

Do not forget to add two cons tants for your new domain in the enum ComponentT ype.java
(https ://github.com/O SGP/Shared/blob/development/s hared/s rc/main/java/org/opens martgridplatform/s hared/exceptionhandling/ComponentT y
T hes e cons tants are us ed in handling exceptions . Add one cons tant to denote your new Domain layer (DO MAIN) and one for
your new Web Services layer (WS). See for ins tance Microgrids Service.java
(https ://github.com/O SGP/Platform/blob/development/os gp-adapter-ws -
microgrids /s rc/main/java/org/opens martgridplatform/adapter/ws /microgrids /application/s ervices /Microgrids Service.java).

Add DT O ’s to os gp-dto for your s ervices . T he DT O ’s are us ed in the protocol-adapter. Mapping from/to DT O ’s is
performed in adapter-domain.

Guidelines to add a new domain to O SGP 209


O pen Smart Grid Platform Documentation

Chang es to OSGP/Platform
Reference the new os gp-ws -newdomain (from Shared) in the platform pom.xml. Als o create three new Maven modules and
add them to the pom:

os gp-domain-newdomain
os gp-adapter-ws -newdomain
os gp-adapter-domain-newdomain

Cons tants for the ne w d omain we b s e rvice s

O SGP us es a couple of Java enums to identify all available s ervices the platform offers .

T he DeviceFunction enum contains all s ervices for all domains .


T he NotificationT ype enum and the NewDomainReques tMes s ageT ype enum are identical and contain the s ervices for
1 domain. T he NotificationT ype enum is generated from the ws dl s ervice definition for the notification s ervice. T he
NewDomainT ype enum is defined in the Web Service Layer for the new domain and is us ed to pas s the mes s age type
to the other layers of O SGP.
DeviceReques tMes s ageT ype will contain the s ervices for 1 protocol Strictly s peaking this enum is not neces s ary to
add a new domain becaus e the enum is located in the protocol layer of O SGP.

Each new s ervice that is offered by the domain, for ins tance GET _DAT A or SET _DAT A, mus t be added to 4 java enums :

1. NotificationT ype (https ://github.com/O SGP/Shared/blob/development/os gp-ws -


microgrids /s rc/main/res ources /s chemas /notification.xs d, generated from ws dl with JAXB)
2. DeviceFunction (https ://github.com/O SGP/Platform/blob/development/os gp-domain-
core/s rc/main/java/org/opens martgridplatform/domain/core/valueobjects /DeviceFunction.java)
3. NewDomainReques tMes s ageT ype (s ee for ins tance, https ://github.com/O SGP/Platform/blob/development/os gp-
adapter-ws -
microgrids /s rc/main/java/org/opens martgridplatform/adapter/ws /microgrids /infra/jms /Microgrids Reques tMes s ageT ype.java)
4. DeviceReques tMes s ageT ype (https ://github.com/O SGP/Protocol-Adapter-IEC61850/blob/development/os gp-
protocol-
adapter-iec61850/s rc/main/java/org/opens martgridplatform/adapter/protocol/iec61850/infra/mes s aging/DeviceReques tMes s ageT ype.
or any other protocol adapter)

S QL for the ne w d omain

A Flyway s cript s hould be added for s ys tem data. For a new domain a new record mus t be ins erted in the table domain_info
in the core databas e. Check for ins tance the Flyway s cript for Dis tribution Automation
https ://github.com/O SGP/Platform/blob/development/os gp-
core/s rc/main/res ources /db/migration/V20170508125704045__Added_Dis tribution_Automation_domain_info.s ql. T es t data
for a new domain will include:

T able device_function_mapping in the core databas e. Add a row for each new s ervice to authorize ‘O WNER’ for this
s ervice.
T able device in the core databas e. Add a new row for a tes t device, us e the proper protocol_info_id.
(Protocol_info_id is a foreign_key to the protocol_info table in core).
T able device_authorization. Add a new row to authorize owner for this device. (Function_group is a reference to the
java enum DeviceFunctionGroup in Platform/os gp-domain-core).

Chang e s to os g p -d omain-ne wd omain

Review entities . Be careful, the entities in this project are generated in the core databas e. T he name of this project
s ugges ts that the entities would be generated in a domain s pecific databas e.
Create valueobjects for your domain. T he valueobjects in this project are us ed only in the adapter-ws and adapter-
domain layer.

Chang e s to os g p -ad ap te r-ws -ne wd omain

Add Endpoints for each s ervice reques t in pres entation.ws .


Add Mes s ageProces s ors in infra.jms .mes s ageproces s ors for each s ervice res pons e.
Modify mapping/NewDomainMapper to map the JAXB generated clas s es to the clas s es in Platform/os gp-domain-
new-domain

Chang e s to os g p -ad ap te r-d omain-ne wd omain

Add Mes s ageProces s ors in infra.jms .ws .mes s ageproces s ors for each s ervice reques t.
Add Mes s ageProces s ors in infra.jms .core.mes s ageproces s ors for each s ervice res pons e.
Modify mapping/DomainNewDomainMapper to map the clas s es in Platform/os gp-domain-new-domain to the clas s es
in Shared/os gp-dto. T he os gp-dto clas s es are us ed in the core layer and the protocol layer.

T e s ting the ne w d omain s e rvice s

Guidelines to add a new domain to O SGP 210


O pen Smart Grid Platform Documentation

In order to tes t the new domain s ervices take a look at the Ins tallation Guide. While following this guide keep the following
items in mind:

A tes t device for the new domain mus t be available. T his can either be a phys ical device or a s imulated device.
T he tes t device mus t be connected or a device s imulator mus t be running.
T he O SGP protocol adapter for the new device mus t be extended.
ProgreSQ L mus t be ins talled with all O SGP databas es and s ys tem data as lis ted in the ins tallation guide. T he new
domain might have a new databas e in which cas e the create s cript for the databas e and databas e owner mus t be run.
T es t data mus t be ins erted into the following tables : organis ation, device, device_authorization,
device_function_mapping. Depending on the type of protocol adapter us ed for the new domain other tables might
have to be populated as well. For ins tance a table like rtu_device for the IEC61850 Protocol Adapter.
Apache Http Server mus t be ins talled and the new domain mus t be added to the configuration
Apache ActiveMQ mus t be ins talled
T omcat application s erver mus t be ins talled and at leas t 4 web applications mus t be deployed:
An O SGP protocol adapter
O SGP Core
T he O SGP Adapter Domain for your new domain
T he O SGP Adapter WS for your new domain
SoapUI can be us ed to tes t the new webs ervices for your domain

Guidelines to add a new domain to O SGP 211


O pen Smart Grid Platform Documentation

Protocols
Protocols
T he open s mart grid platform s upported protocols can be found in this s ection. Feel free to add your own protocol or
improve an exis ting protocol adapter.

Protocol Adapters
Protocol Adapter components trans late a mes s age from domain adapter components into a protocol mes s age for a s mart
device. Protocol Adapter components s end the protocol mes s age to a s mart device us ing a network connection. T he
res pons e from the s mart device is trans lated into a domain res pons e mes s age which will be s ent to the Core components
(which will route it to the domain adapter which is s ued the reques t).

OS LP

For the O SLP implementation, 2 components are us ed. T he firs t component is the protocol adapter for the protocol. It can
trans late mes s age into the protocol mes s age for SSLD's . Second there's the s igning-s erver component. It is res pons ible for
s igning the protocol mes s age us ing the private key of the platform. T he components communicate us ing a queue-pair. T he
s inging-s erver can handle multiple protocol adapter ins tances by utilizing a reply-to queue per protocol adapter ins tance.
Since the protocol adapter component needs to be reachable from a network, it is a requirement that the private key may not
be us ed by the protocol adapter directly. T he s inging-s erver component can be deployed in s uch a way that no network
acces s is available to this component, as the only coupling needed are the queues / the mes s age broker.

DLMS

T he DLMS protocol is us ed for (mainly) s mart metering.

IEC61850

T he IEC61850 implementation is us ed for e.g. dis tribution automation, microgrids and public lighting.

Protocols 212
O pen Smart Grid Platform Documentation

IEC61850
IEC61850
T he open s mart grid platform s upports IEC61850. IEC61850 is a popular protocol in the field of "s mart grids ". IEC61850
s tarted as a s tandard for s ubs tation automation but has expanded into other domains s uch as EV and s olar panels . Currently,
the IEC61850 protocol is us ed within the Public Lighting, Microgrids and Dis tribution Automation domains . IEC61850 on
Wikipedia

Protocol security
No s ecurity options exis t in this IEC61850 vers ion 1 and 2
Us e through a s ecured tunnelling protocol like T LS (with client certificates ) or VPN IEC Security guidelines can be
found in IEC62351.

Specific communication s ervice mapping (SCSM)


T he open s mart grid platform implementation s upports :

IEC 61850-8-1: Mappings to MMS (ISO /IEC9506-1 and ISO /IEC 9506-2)

Us ed library
T he O penMUC IEC61850 library from Fraunhofer is us ed to implement the protocol.

Supported Devices
T hes e devices are currently s upported by the O pen Smart Grid Platform:

Wago 750-881 RT U
ABB 540CID11 RT U
Kaifa AS101 load control box

Difference between OSLP and IEC61850


Contrary to O SLP the contract between O SGP and IEC61850 devices does not exis t of reques t/res pons e mes s ages , ins tead
the reques t mes s ages received by O SGP will res ult in multiple read/write operations at the device. T he res pons e mes s ages
returned by O SGP will contain the res ult of thes e operations .

IEC61850 213
O pen Smart Grid Platform Documentation

SWDevice-010805
Contract
Contract for SWDevice-010805 T he contract s pecifies the mes s ages which can be exchanged with an SSLD.

Mes s ag es
T he mes s ages below are part of O SGP and implemented in the IEC61850 protocol adapter and s upported by the SWDevice-
010805 device firmware.

Re g is te rDe vice Re q ue s t (from device to platform) is a reques t that notifies the platform a device wants to regis ter.
During the regis tration the device s ends its identification (s erial number), and the device communicates its IP addres s
to the platform.

Re g is te rDe vice Re s p ons e (from platform to device) is a res pons e which informs the device that the regis tration
was s ucces s ful. T he device will not regis ter anymore, until the next power cycle or reboot.

S tartS e lfT e s tRe q ue s t (from platform to device) is a reques t which commands a device to s witch all light relays on.

S tartS e lfT e s tRe s p ons e (from device to platform) is a res pons e which returns the res ult of the
StartSelfT es tReques t.

S top S e lfT e s tRe q ue s t (from platform to device) is a reques t which commands a device to s witch all light relays off.

S top S e lfT e s tRe s p ons e (from device to platform) is a res pons e which returns the res ult of the
StopSelfT es tReques t.

S e tRe b ootRe q ue s t (from platform to device) is a reques t which commands a device to reboot immediately.

S e tRe b ootRe s p ons e (from device to platform) is a res pons e which returns the res ult of the SetRebootReques t.

S e tLig htRe q ue s t (from platform to device) is a reques t which commands a device to s witch on or off one ore
s everal light relays .

S e tLig htRe s p ons e (from device to platform) is a res pons e which returns the res ult of the SetLightReques t.

S e tT rans itionRe q ue s t (from platform to device) is a reques t which commands a device to s witch its light relays
according to light meas urement s chedule-entries .

S e tT rans itionRe s p ons e (from device to platform) is a res pons e which returns the res ult of the
SetT rans itionReques t.

S e tEve ntNotifications Re q ue s t (from platform to device) is a reques t which commands a device to s et the event
notification mas k.

S e tEve ntNotifications Re s p ons e (from device to platform) is a res pons e which returns the res ult of the
SetEventNotifications Reques t.

Ge tS tatus Re q ue s t (from platform to device) is a reques t which queries a device for the current s tatus of all its
relays , the type of configuration (RELAY for SSLD), and the event notification mas k s et on the device.

Ge tS tatus Re s p ons e (from device to platform) is a res pons e which returns the res ult of the GetStatus Reques t and, if
'res ult = O K', returns the current s tatus for all of the relays and other information.

Ge tFirmware Ve rs ionRe q ue s t (from platform to device) is a reques t which queries a device for its current
firmware vers ion.

Ge tFirmware Ve rs ionRe s p ons e (from device to platform) is a res pons e which returns the res ult of the
GetFirmwareVers ionReques t and, if 'res ult = O K', returns the current firmware vers ion.

Up d ate Firmware Re q ue s t (from platform to device) is a reques t which commands a device to download a new
firmware vers ion from a s erver us ing a URL.

Up d ate Firmware Re s p ons e (from device to platform) is a res pons e which returns the res ult of the
UpdateFirmwareReques t, which indicates if the device will s tart the proces s to download and ins tall a new firmware
vers ion. Pleas e note there are s everal events which are s ent from the device to the platform to inform the platform
when the firmware has been downloaded and whether or not the firmware was s ucces s fully activated.

Ge tConfig urationRe q ue s t (from platform to device) is a reques t which queries a device for its current
configuration s ettings .

Ge tConfig urationRe s p ons e (from device to platform) is a res pons e which returns the res ult of the
GetConfigurationReques t and, if 'res ult = O K', returns the configuration s ettings retrieved from the device.

SWDevice-010805 214
O pen Smart Grid Platform Documentation

S e tConfig urationRe q ue s t (from platform to device) is a reques t which commands a device to update its
configuration.

S e tConfig urationRe s p ons e (from device to platform) is a res pons e which returns the res ult of the
SetConfigurationReques t.

S e tS che d ule Re q ue s t (from platform to device) is a reques t which commands a device to update its light or tariff
s chedule.

S e tS che d ule Re s p ons e (from device to platform) is a res pons e which returns the res ult of the SetScheduleReques t.

Ge tPowe rUs ag e His toryRe q ue s t (from platform to device) is a reques t that reques ts the device to s end the content
of its power us age regis ters .

Ge tPowe rUs ag e His toryRe s p ons e (from device to platform) is a res pons e which confirms the
GetPowerUs ageHis toryReques t has been executed or rejected and contains the power us age data.

Up d ate De vice S s lCe rtificationRe q ue s t (from platform to device) is a reques t which commands a device to
download a new certificate file from a s erver us ing a URL.

Up d ate De vice S s lCe rtificationRe s p ons e (from platform to device) is a res pons e which returns the res ult of the
UpdateDeviceSs lCertificationReques t, which indicates if the device will s tart the proces s to download and ins tall a
new certificate file. Pleas e note there are s everal events which are s ent from the device to the platform to inform the
platform whether or not the certificate file was s ucces s fully downloaded and activated.

Eve ntNotificationRe q ue s t (from device to platform) is a reques t that pus hes an event notification from a device to
the platform.

T he following mes s ages are not s upported in IEC61850 and will return an UNSUPPO RT ED_DEVICE_ACT IO N SO AP Fault
when a reques t is s ent:

Re s ume S che d ule Re q ue s t


S witchConfig urationRe q ue s t
S witchFirmware Re q ue s t
S e tDe vice Ve rificationKe yRe q ue s t

T he following mes s age from device to O SGP is als o not s upported:

ConfirmRe g is te rDe vice Re q ue s t

SWDevice-010805 215
O pen Smart Grid Platform Documentation

SWDevice-010805.icd
SSLD ICD file, SWDevice-010805.icd
<?xml version="1.0" encoding="UTF-8"?>
<!--Created by Test with OMICRON IEDScout 4.10 licensed to OMICRON electronics-->
<!--SCL Schema Version 3.1 (2012/10/22)-->
<SCL version="2007" revision="B" xmlns="http://www.iec.ch/61850/2003/SCL" xmlns:xsi="http://www.w3.org/
<Header id="" version="" revision="" toolID="OMICRON IEDScout" nameStructure="IEDName"
<Communication>
<SubNetwork name="NONE" type="8-MMS">
<ConnectedAP iedName="SWDevice" apName="P1">
<Address>
<P type="IP" xsi:type="tP_IP">192.168.105.190</P>
<P type="OSI-TSEL" xsi:type="tP_OSI-TSEL">0001</P>
<P type="OSI-SSEL" xsi:type="tP_OSI-SSEL">0001</P>
<P type="OSI-PSEL" xsi:type="tP_OSI-PSEL">00000001</P>
<P type="OSI-AP-Title">1,1,1,999,1</P>
<P type="OSI-AP-Invoke" xsi:type="tP_OSI-AP-Invoke">0</P>
<P type="OSI-AE-Qualifier" xsi:type="tP_OSI-AE-Qualifier">12</P>
<P type="OSI-AE-Invoke" xsi:type="tP_OSI-AE-Invoke">0</P>
<P type="MMS-Port" xsi:type="tP_MMS-Port">102</P>
</Address>
</ConnectedAP>
</SubNetwork>
</Communication>
<IED name="SWDevice">
<Services>
<DynAssociation />
<GetDirectory />
<GetDataObjectDefinition />
<DataObjectDirectory />
<GetDataSetValue />
<SetDataSetValue />
<DataSetDirectory />
<ConfDataSet max="1" modify="false" />
<DynDataSet max="42" />
<ReadWrite />
<ConfReportControl max="1" bufConf="false" />
<GetCBValues />
<ReportSettings rptID="Dyn" optFields="Dyn" bufTime="Dyn" trgOps="Dyn" intgPd="Dyn"
<ConfLNs fixPrefix="true" fixLnInst="true" />
<GOOSE max="0" />
<GSSE max="0" />
</Services>
<AccessPoint name="P1">
<Server>
<Authentication none="true" />
<LDevice inst="GenericIO">
<LN0 lnType="SWDeviceGenericIO.LLN0" lnClass="LLN0" inst="">
<DataSet name="evn_rpn">
<FCDA ldInst="GenericIO" prefix="" lnClass="CSLC" lnInst="" doName
</DataSet>
<ReportControl name="evn_rpn01" rptID="evn_rpn" buffered="true" bufTime
<TrgOps dchg="true" qchg="false" dupd="false" period="false" gi=
<OptFields seqNum="true" timeStamp="true" dataSet="true" reasonCode
<RptEnabled max="1" />
</ReportControl>
<DOI name="Mod">
<DAI name="ctlModel">
<Val>status-only</Val>
</DAI>
</DOI>
<DOI name="NamPlt">
<DAI name="vendor">
<Val>MZ Automation</Val>
</DAI>
<DAI name="swRev">
<Val>0.0.1</Val>
</DAI>
<DAI name="d">

SWDevice-010805 216
O pen Smart Grid Platform Documentation

<Val>libiec61850 server example</Val>


</DAI>
<DAI name="configRev">
<Val></Val>
</DAI>
<DAI name="ldNs">
<Val></Val>
</DAI>
</DOI>
</LN0>
<LN lnType="SWDeviceGenericIO.CSLC" lnClass="CSLC" inst="">
<DOI name="RbOper">
<DAI name="ctlModel">
<Val>status-only</Val>
</DAI>
</DOI>
<DOI name="TlsCf">
<DAI name="enbTls">
<Val>0</Val>
</DAI>
<DAI name="port">
<Val>0</Val>
</DAI>
<DAI name="comName">
<Val></Val>
</DAI>
</DOI>
<DOI name="Sensor">
<DAI name="ctlModel">
<Val>status-only</Val>
</DAI>
</DOI>
<DOI name="Atnm">
<DAI name="lon">
<Val>5.591</Val>
</DAI>
<DAI name="lat">
<Val>52.143</Val>
</DAI>
<DAI name="zenith">
<Val>0</Val>
</DAI>
</DOI>
<DOI name="SWCf">
<DAI name="LT">
<Val>RELAY</Val>
</DAI>
<DAI name="adSetOft">
<Val>0</Val>
</DAI>
<DAI name="adRiseOft">
<Val>0</Val>
</DAI>
</DOI>
<DOI name="FuncFwDw">
<DAI name="url">
<Val></Val>
</DAI>
</DOI>
<DOI name="Clock">
<DAI name="tZ">
<Val>60</Val>
</DAI>
<DAI name="dstBegT">
<Val>M3.5.0/2</Val>
</DAI>
<DAI name="dstEndT">
<Val>M10.5.0/3</Val>
</DAI>
<DAI name="dvt">
<Val>60</Val>
</DAI>

SWDevice-010805 217
O pen Smart Grid Platform Documentation

<DAI name="enbDst">
<Val>1</Val>
</DAI>
<DAI name="enbNtpC">
<Val>1</Val>
</DAI>
<DAI name="ntpSvrA">
<Val>192.168.105.200</Val>
</DAI>
<DAI name="syncPer">
<Val>1440</Val>
</DAI>
<DAI name="minOst">
<Val>2</Val>
</DAI>
<DAI name="almOst">
<Val>5</Val>
</DAI>
<DAI name="maxOst">
<Val>900</Val>
</DAI>
</DOI>
<DOI name="Reg">
<DAI name="svrAddr">
<Val>10.2.1.127</Val>
</DAI>
<DAI name="svrPort">
<Val>50000</Val>
</DAI>
<DAI name="ntfEnb">
<Val>1</Val>
</DAI>
</DOI>
<DOI name="Log">
<DAI name="enb">
<Val>1</Val>
</DAI>
</DOI>
<DOI name="ScyFwDw">
<DAI name="url">
<Val> </Val>
</DAI>
</DOI>
<DOI name="CARepl">
<DAI name="url">
<Val> </Val>
</DAI>
</DOI>
<DOI name="IPCf">
<DAI name="enbDHCP">
<Val>1</Val>
</DAI>
<DAI name="ipAddr">
<Val>192.168.105.227</Val>
</DAI>
<DAI name="netmask">
<Val>255.255.255.0</Val>
</DAI>
<DAI name="gateway">
<Val>192.168.1.1</Val>
</DAI>
</DOI>
<DOI name="EvnBuf">
<DAI name="enbEvnType">
<Val>1FFFFFF</Val>
</DAI>
</DOI>
<DOI name="SNMPCf">
<DAI name="userName">
<Val>sw_device</Val>
</DAI>
<DAI name="authKey">

SWDevice-010805 218
O pen Smart Grid Platform Documentation

<Val>1qaz2wsx</Val>
</DAI>
<DAI name="encryptKey">
<Val>1qaz2wsx</Val>
</DAI>
</DOI>
</LN>
<LN lnType="SWDeviceGenericIO.LPHD" lnClass="LPHD" inst="">
<DOI name="PhyNam">
<DAI name="vendor">
<Val>KAI</Val>
</DAI>
<DAI name="hwRev">
<Val>V3.0</Val>
</DAI>
<DAI name="serNum">
<Val>000000000000000000</Val>
</DAI>
<DAI name="model">
<Val>2016-xx-xx</Val>
</DAI>
<DAI name="name">
<Val>AS101</Val>
</DAI>
<DAI name="msn">
<Val>W0000000000000000</Val>
</DAI>
</DOI>
</LN>
<LN lnType="SWDeviceGenericIO.XSWC1" lnClass="XSWC" inst="1">
<DOI name="SwType">
<DAI name="ctlModel">
<Val>status-only</Val>
</DAI>
</DOI>
<DOI name="Pos">
<DAI name="ctlModel">
<Val>status-only</Val>
</DAI>
</DOI>
<DOI name="CfSt">
<DAI name="enbOper">
<Val>1</Val>
</DAI>
</DOI>
<DOI name="Sche">
<SDI name="sche1">
<DAI name="enable">
<Val>0</Val>
</DAI>
<DAI name="day">
<Val>0</Val>
</DAI>
<DAI name="tOn">
<Val>0</Val>
</DAI>
<DAI name="tOnT">
<Val>0</Val>
</DAI>
<DAI name="tOff">
<Val>0</Val>
</DAI>
<DAI name="tOffT">
<Val>0</Val>
</DAI>
<DAI name="minOnPer">
<Val>30</Val>
</DAI>
<DAI name="minOffPer">
<Val>30</Val>
</DAI>
<DAI name="srBefWd">

SWDevice-010805 219
O pen Smart Grid Platform Documentation

<Val>30</Val>
</DAI>
<DAI name="srAftWd">
<Val>30</Val>
</DAI>
<DAI name="igBefWd">
<Val>0</Val>
</DAI>
<DAI name="igAftWd">
<Val>0</Val>
</DAI>
<DAI name="Descr">
<Val>ON/OFF schedule</Val>
</DAI>
</SDI>
<SDI name="sche2">
<DAI name="enable">
<Val>0</Val>
</DAI>
<DAI name="day">
<Val>0</Val>
</DAI>
<DAI name="tOn">
<Val>0</Val>
</DAI>
<DAI name="tOnT">
<Val>0</Val>
</DAI>
<DAI name="tOff">
<Val>0</Val>
</DAI>
<DAI name="tOffT">
<Val>0</Val>
</DAI>
<DAI name="minOnPer">
<Val>30</Val>
</DAI>
<DAI name="minOffPer">
<Val>30</Val>
</DAI>
<DAI name="srBefWd">
<Val>30</Val>
</DAI>
<DAI name="srAftWd">
<Val>30</Val>
</DAI>
<DAI name="igBefWd">
<Val>0</Val>
</DAI>
<DAI name="igAftWd">
<Val>0</Val>
</DAI>
<DAI name="Descr">
<Val>ON/OFF schedule</Val>
</DAI>
</SDI>
<SDI name="sche3">
<DAI name="enable">
<Val>0</Val>
</DAI>
<DAI name="day">
<Val>0</Val>
</DAI>
<DAI name="tOn">
<Val>0</Val>
</DAI>
<DAI name="tOnT">
<Val>0</Val>
</DAI>
<DAI name="tOff">
<Val>0</Val>
</DAI>

SWDevice-010805 220
O pen Smart Grid Platform Documentation

<DAI name="tOffT">
<Val>0</Val>
</DAI>
<DAI name="minOnPer">
<Val>30</Val>
</DAI>
<DAI name="minOffPer">
<Val>30</Val>
</DAI>
<DAI name="srBefWd">
<Val>30</Val>
</DAI>
<DAI name="srAftWd">
<Val>30</Val>
</DAI>
<DAI name="igBefWd">
<Val>0</Val>
</DAI>
<DAI name="igAftWd">
<Val>0</Val>
</DAI>
<DAI name="Descr">
<Val>ON/OFF schedule</Val>
</DAI>
</SDI>
<SDI name="sche4">
<DAI name="enable">
<Val>0</Val>
</DAI>
<DAI name="day">
<Val>0</Val>
</DAI>
<DAI name="tOn">
<Val>0</Val>
</DAI>
<DAI name="tOnT">
<Val>0</Val>
</DAI>
<DAI name="tOff">
<Val>0</Val>
</DAI>
<DAI name="tOffT">
<Val>0</Val>
</DAI>
<DAI name="minOnPer">
<Val>30</Val>
</DAI>
<DAI name="minOffPer">
<Val>30</Val>
</DAI>
<DAI name="srBefWd">
<Val>30</Val>
</DAI>
<DAI name="srAftWd">
<Val>30</Val>
</DAI>
<DAI name="igBefWd">
<Val>0</Val>
</DAI>
<DAI name="igAftWd">
<Val>0</Val>
</DAI>
<DAI name="Descr">
<Val>ON/OFF schedule</Val>
</DAI>
</SDI>
<SDI name="sche5">
<DAI name="enable">
<Val>0</Val>
</DAI>
<DAI name="day">
<Val>0</Val>

SWDevice-010805 221
O pen Smart Grid Platform Documentation

</DAI>
<DAI name="tOn">
<Val>0</Val>
</DAI>
<DAI name="tOnT">
<Val>0</Val>
</DAI>
<DAI name="tOff">
<Val>0</Val>
</DAI>
<DAI name="tOffT">
<Val>0</Val>
</DAI>
<DAI name="minOnPer">
<Val>30</Val>
</DAI>
<DAI name="minOffPer">
<Val>30</Val>
</DAI>
<DAI name="srBefWd">
<Val>30</Val>
</DAI>
<DAI name="srAftWd">
<Val>30</Val>
</DAI>
<DAI name="igBefWd">
<Val>0</Val>
</DAI>
<DAI name="igAftWd">
<Val>0</Val>
</DAI>
<DAI name="Descr">
<Val>ON/OFF schedule</Val>
</DAI>
</SDI>
<SDI name="sche6">
<DAI name="enable">
<Val>0</Val>
</DAI>
<DAI name="day">
<Val>0</Val>
</DAI>
<DAI name="tOn">
<Val>0</Val>
</DAI>
<DAI name="tOnT">
<Val>0</Val>
</DAI>
<DAI name="tOff">
<Val>0</Val>
</DAI>
<DAI name="tOffT">
<Val>0</Val>
</DAI>
<DAI name="minOnPer">
<Val>30</Val>
</DAI>
<DAI name="minOffPer">
<Val>30</Val>
</DAI>
<DAI name="srBefWd">
<Val>30</Val>
</DAI>
<DAI name="srAftWd">
<Val>30</Val>
</DAI>
<DAI name="igBefWd">
<Val>0</Val>
</DAI>
<DAI name="igAftWd">
<Val>0</Val>
</DAI>

SWDevice-010805 222
O pen Smart Grid Platform Documentation

<DAI name="Descr">
<Val>ON/OFF schedule</Val>
</DAI>
</SDI>
<SDI name="sche7">
<DAI name="enable">
<Val>0</Val>
</DAI>
<DAI name="day">
<Val>0</Val>
</DAI>
<DAI name="tOn">
<Val>0</Val>
</DAI>
<DAI name="tOnT">
<Val>0</Val>
</DAI>
<DAI name="tOff">
<Val>0</Val>
</DAI>
<DAI name="tOffT">
<Val>0</Val>
</DAI>
<DAI name="minOnPer">
<Val>30</Val>
</DAI>
<DAI name="minOffPer">
<Val>30</Val>
</DAI>
<DAI name="srBefWd">
<Val>30</Val>
</DAI>
<DAI name="srAftWd">
<Val>30</Val>
</DAI>
<DAI name="igBefWd">
<Val>0</Val>
</DAI>
<DAI name="igAftWd">
<Val>0</Val>
</DAI>
<DAI name="Descr">
<Val>ON/OFF schedule</Val>
</DAI>
</SDI>
<SDI name="sche8">
<DAI name="enable">
<Val>0</Val>
</DAI>
<DAI name="day">
<Val>0</Val>
</DAI>
<DAI name="tOn">
<Val>0</Val>
</DAI>
<DAI name="tOnT">
<Val>0</Val>
</DAI>
<DAI name="tOff">
<Val>0</Val>
</DAI>
<DAI name="tOffT">
<Val>0</Val>
</DAI>
<DAI name="minOnPer">
<Val>30</Val>
</DAI>
<DAI name="minOffPer">
<Val>30</Val>
</DAI>
<DAI name="srBefWd">
<Val>30</Val>

SWDevice-010805 223
O pen Smart Grid Platform Documentation

</DAI>
<DAI name="srAftWd">
<Val>30</Val>
</DAI>
<DAI name="igBefWd">
<Val>0</Val>
</DAI>
<DAI name="igAftWd">
<Val>0</Val>
</DAI>
<DAI name="Descr">
<Val>ON/OFF schedule</Val>
</DAI>
</SDI>
<SDI name="sche9">
<DAI name="enable">
<Val>0</Val>
</DAI>
<DAI name="day">
<Val>0</Val>
</DAI>
<DAI name="tOn">
<Val>0</Val>
</DAI>
<DAI name="tOnT">
<Val>0</Val>
</DAI>
<DAI name="tOff">
<Val>0</Val>
</DAI>
<DAI name="tOffT">
<Val>0</Val>
</DAI>
<DAI name="minOnPer">
<Val>30</Val>
</DAI>
<DAI name="minOffPer">
<Val>30</Val>
</DAI>
<DAI name="srBefWd">
<Val>30</Val>
</DAI>
<DAI name="srAftWd">
<Val>30</Val>
</DAI>
<DAI name="igBefWd">
<Val>0</Val>
</DAI>
<DAI name="igAftWd">
<Val>0</Val>
</DAI>
<DAI name="Descr">
<Val>ON/OFF schedule</Val>
</DAI>
</SDI>
<SDI name="sche10">
<DAI name="enable">
<Val>0</Val>
</DAI>
<DAI name="day">
<Val>0</Val>
</DAI>
<DAI name="tOn">
<Val>0</Val>
</DAI>
<DAI name="tOnT">
<Val>0</Val>
</DAI>
<DAI name="tOff">
<Val>0</Val>
</DAI>
<DAI name="tOffT">

SWDevice-010805 224
O pen Smart Grid Platform Documentation

<Val>0</Val>
</DAI>
<DAI name="minOnPer">
<Val>30</Val>
</DAI>
<DAI name="minOffPer">
<Val>30</Val>
</DAI>
<DAI name="srBefWd">
<Val>30</Val>
</DAI>
<DAI name="srAftWd">
<Val>30</Val>
</DAI>
<DAI name="igBefWd">
<Val>0</Val>
</DAI>
<DAI name="igAftWd">
<Val>0</Val>
</DAI>
<DAI name="Descr">
<Val>ON/OFF schedule</Val>
</DAI>
</SDI>
<SDI name="sche11">
<DAI name="enable">
<Val>0</Val>
</DAI>
<DAI name="day">
<Val>0</Val>
</DAI>
<DAI name="tOn">
<Val>0</Val>
</DAI>
<DAI name="tOnT">
<Val>0</Val>
</DAI>
<DAI name="tOff">
<Val>0</Val>
</DAI>
<DAI name="tOffT">
<Val>0</Val>
</DAI>
<DAI name="minOnPer">
<Val>30</Val>
</DAI>
<DAI name="minOffPer">
<Val>30</Val>
</DAI>
<DAI name="srBefWd">
<Val>30</Val>
</DAI>
<DAI name="srAftWd">
<Val>30</Val>
</DAI>
<DAI name="igBefWd">
<Val>0</Val>
</DAI>
<DAI name="igAftWd">
<Val>0</Val>
</DAI>
<DAI name="Descr">
<Val>ON/OFF schedule</Val>
</DAI>
</SDI>
<SDI name="sche12">
<DAI name="enable">
<Val>0</Val>
</DAI>
<DAI name="day">
<Val>0</Val>
</DAI>

SWDevice-010805 225
O pen Smart Grid Platform Documentation

<DAI name="tOn">
<Val>0</Val>
</DAI>
<DAI name="tOnT">
<Val>0</Val>
</DAI>
<DAI name="tOff">
<Val>0</Val>
</DAI>
<DAI name="tOffT">
<Val>0</Val>
</DAI>
<DAI name="minOnPer">
<Val>30</Val>
</DAI>
<DAI name="minOffPer">
<Val>30</Val>
</DAI>
<DAI name="srBefWd">
<Val>30</Val>
</DAI>
<DAI name="srAftWd">
<Val>30</Val>
</DAI>
<DAI name="igBefWd">
<Val>0</Val>
</DAI>
<DAI name="igAftWd">
<Val>0</Val>
</DAI>
<DAI name="Descr">
<Val>ON/OFF schedule</Val>
</DAI>
</SDI>
<SDI name="sche13">
<DAI name="enable">
<Val>0</Val>
</DAI>
<DAI name="day">
<Val>0</Val>
</DAI>
<DAI name="tOn">
<Val>0</Val>
</DAI>
<DAI name="tOnT">
<Val>0</Val>
</DAI>
<DAI name="tOff">
<Val>0</Val>
</DAI>
<DAI name="tOffT">
<Val>0</Val>
</DAI>
<DAI name="minOnPer">
<Val>30</Val>
</DAI>
<DAI name="minOffPer">
<Val>30</Val>
</DAI>
<DAI name="srBefWd">
<Val>30</Val>
</DAI>
<DAI name="srAftWd">
<Val>30</Val>
</DAI>
<DAI name="igBefWd">
<Val>0</Val>
</DAI>
<DAI name="igAftWd">
<Val>0</Val>
</DAI>
<DAI name="Descr">

SWDevice-010805 226
O pen Smart Grid Platform Documentation

<Val>ON/OFF schedule</Val>
</DAI>
</SDI>
<SDI name="sche14">
<DAI name="enable">
<Val>0</Val>
</DAI>
<DAI name="day">
<Val>0</Val>
</DAI>
<DAI name="tOn">
<Val>0</Val>
</DAI>
<DAI name="tOnT">
<Val>0</Val>
</DAI>
<DAI name="tOff">
<Val>0</Val>
</DAI>
<DAI name="tOffT">
<Val>0</Val>
</DAI>
<DAI name="minOnPer">
<Val>30</Val>
</DAI>
<DAI name="minOffPer">
<Val>30</Val>
</DAI>
<DAI name="srBefWd">
<Val>30</Val>
</DAI>
<DAI name="srAftWd">
<Val>30</Val>
</DAI>
<DAI name="igBefWd">
<Val>0</Val>
</DAI>
<DAI name="igAftWd">
<Val>0</Val>
</DAI>
<DAI name="Descr">
<Val>ON/OFF schedule</Val>
</DAI>
</SDI>
<SDI name="sche15">
<DAI name="enable">
<Val>0</Val>
</DAI>
<DAI name="day">
<Val>0</Val>
</DAI>
<DAI name="tOn">
<Val>0</Val>
</DAI>
<DAI name="tOnT">
<Val>0</Val>
</DAI>
<DAI name="tOff">
<Val>0</Val>
</DAI>
<DAI name="tOffT">
<Val>0</Val>
</DAI>
<DAI name="minOnPer">
<Val>30</Val>
</DAI>
<DAI name="minOffPer">
<Val>30</Val>
</DAI>
<DAI name="srBefWd">
<Val>30</Val>
</DAI>

SWDevice-010805 227
O pen Smart Grid Platform Documentation

<DAI name="srAftWd">
<Val>30</Val>
</DAI>
<DAI name="igBefWd">
<Val>0</Val>
</DAI>
<DAI name="igAftWd">
<Val>0</Val>
</DAI>
<DAI name="Descr">
<Val>ON/OFF schedule</Val>
</DAI>
</SDI>
<SDI name="sche16">
<DAI name="enable">
<Val>0</Val>
</DAI>
<DAI name="day">
<Val>0</Val>
</DAI>
<DAI name="tOn">
<Val>0</Val>
</DAI>
<DAI name="tOnT">
<Val>0</Val>
</DAI>
<DAI name="tOff">
<Val>0</Val>
</DAI>
<DAI name="tOffT">
<Val>0</Val>
</DAI>
<DAI name="minOnPer">
<Val>30</Val>
</DAI>
<DAI name="minOffPer">
<Val>30</Val>
</DAI>
<DAI name="srBefWd">
<Val>30</Val>
</DAI>
<DAI name="srAftWd">
<Val>30</Val>
</DAI>
<DAI name="igBefWd">
<Val>0</Val>
</DAI>
<DAI name="igAftWd">
<Val>0</Val>
</DAI>
<DAI name="Descr">
<Val>ON/OFF schedule</Val>
</DAI>
</SDI>
<SDI name="sche17">
<DAI name="enable">
<Val>0</Val>
</DAI>
<DAI name="day">
<Val>0</Val>
</DAI>
<DAI name="tOn">
<Val>0</Val>
</DAI>
<DAI name="tOnT">
<Val>0</Val>
</DAI>
<DAI name="tOff">
<Val>0</Val>
</DAI>
<DAI name="tOffT">
<Val>0</Val>

SWDevice-010805 228
O pen Smart Grid Platform Documentation

</DAI>
<DAI name="minOnPer">
<Val>30</Val>
</DAI>
<DAI name="minOffPer">
<Val>30</Val>
</DAI>
<DAI name="srBefWd">
<Val>30</Val>
</DAI>
<DAI name="srAftWd">
<Val>30</Val>
</DAI>
<DAI name="igBefWd">
<Val>0</Val>
</DAI>
<DAI name="igAftWd">
<Val>0</Val>
</DAI>
<DAI name="Descr">
<Val>ON/OFF schedule</Val>
</DAI>
</SDI>
<SDI name="sche18">
<DAI name="enable">
<Val>0</Val>
</DAI>
<DAI name="day">
<Val>0</Val>
</DAI>
<DAI name="tOn">
<Val>0</Val>
</DAI>
<DAI name="tOnT">
<Val>0</Val>
</DAI>
<DAI name="tOff">
<Val>0</Val>
</DAI>
<DAI name="tOffT">
<Val>0</Val>
</DAI>
<DAI name="minOnPer">
<Val>30</Val>
</DAI>
<DAI name="minOffPer">
<Val>30</Val>
</DAI>
<DAI name="srBefWd">
<Val>30</Val>
</DAI>
<DAI name="srAftWd">
<Val>30</Val>
</DAI>
<DAI name="igBefWd">
<Val>0</Val>
</DAI>
<DAI name="igAftWd">
<Val>0</Val>
</DAI>
<DAI name="Descr">
<Val>ON/OFF schedule</Val>
</DAI>
</SDI>
<SDI name="sche19">
<DAI name="enable">
<Val>0</Val>
</DAI>
<DAI name="day">
<Val>0</Val>
</DAI>
<DAI name="tOn">

SWDevice-010805 229
O pen Smart Grid Platform Documentation

<Val>0</Val>
</DAI>
<DAI name="tOnT">
<Val>0</Val>
</DAI>
<DAI name="tOff">
<Val>0</Val>
</DAI>
<DAI name="tOffT">
<Val>0</Val>
</DAI>
<DAI name="minOnPer">
<Val>30</Val>
</DAI>
<DAI name="minOffPer">
<Val>30</Val>
</DAI>
<DAI name="srBefWd">
<Val>30</Val>
</DAI>
<DAI name="srAftWd">
<Val>30</Val>
</DAI>
<DAI name="igBefWd">
<Val>0</Val>
</DAI>
<DAI name="igAftWd">
<Val>0</Val>
</DAI>
<DAI name="Descr">
<Val>ON/OFF schedule</Val>
</DAI>
</SDI>
<SDI name="sche20">
<DAI name="enable">
<Val>0</Val>
</DAI>
<DAI name="day">
<Val>0</Val>
</DAI>
<DAI name="tOn">
<Val>0</Val>
</DAI>
<DAI name="tOnT">
<Val>0</Val>
</DAI>
<DAI name="tOff">
<Val>0</Val>
</DAI>
<DAI name="tOffT">
<Val>0</Val>
</DAI>
<DAI name="minOnPer">
<Val>30</Val>
</DAI>
<DAI name="minOffPer">
<Val>30</Val>
</DAI>
<DAI name="srBefWd">
<Val>30</Val>
</DAI>
<DAI name="srAftWd">
<Val>30</Val>
</DAI>
<DAI name="igBefWd">
<Val>0</Val>
</DAI>
<DAI name="igAftWd">
<Val>0</Val>
</DAI>
<DAI name="Descr">
<Val>ON/OFF schedule</Val>

SWDevice-010805 230
O pen Smart Grid Platform Documentation

</DAI>
</SDI>
<SDI name="sche21">
<DAI name="enable">
<Val>0</Val>
</DAI>
<DAI name="day">
<Val>0</Val>
</DAI>
<DAI name="tOn">
<Val>0</Val>
</DAI>
<DAI name="tOnT">
<Val>0</Val>
</DAI>
<DAI name="tOff">
<Val>0</Val>
</DAI>
<DAI name="tOffT">
<Val>0</Val>
</DAI>
<DAI name="minOnPer">
<Val>30</Val>
</DAI>
<DAI name="minOffPer">
<Val>30</Val>
</DAI>
<DAI name="srBefWd">
<Val>30</Val>
</DAI>
<DAI name="srAftWd">
<Val>30</Val>
</DAI>
<DAI name="igBefWd">
<Val>0</Val>
</DAI>
<DAI name="igAftWd">
<Val>0</Val>
</DAI>
<DAI name="Descr">
<Val>ON/OFF schedule</Val>
</DAI>
</SDI>
<SDI name="sche22">
<DAI name="enable">
<Val>0</Val>
</DAI>
<DAI name="day">
<Val>0</Val>
</DAI>
<DAI name="tOn">
<Val>0</Val>
</DAI>
<DAI name="tOnT">
<Val>0</Val>
</DAI>
<DAI name="tOff">
<Val>0</Val>
</DAI>
<DAI name="tOffT">
<Val>0</Val>
</DAI>
<DAI name="minOnPer">
<Val>30</Val>
</DAI>
<DAI name="minOffPer">
<Val>30</Val>
</DAI>
<DAI name="srBefWd">
<Val>30</Val>
</DAI>
<DAI name="srAftWd">

SWDevice-010805 231
O pen Smart Grid Platform Documentation

<Val>30</Val>
</DAI>
<DAI name="igBefWd">
<Val>0</Val>
</DAI>
<DAI name="igAftWd">
<Val>0</Val>
</DAI>
<DAI name="Descr">
<Val>ON/OFF schedule</Val>
</DAI>
</SDI>
<SDI name="sche23">
<DAI name="enable">
<Val>0</Val>
</DAI>
<DAI name="day">
<Val>0</Val>
</DAI>
<DAI name="tOn">
<Val>0</Val>
</DAI>
<DAI name="tOnT">
<Val>0</Val>
</DAI>
<DAI name="tOff">
<Val>0</Val>
</DAI>
<DAI name="tOffT">
<Val>0</Val>
</DAI>
<DAI name="minOnPer">
<Val>30</Val>
</DAI>
<DAI name="minOffPer">
<Val>30</Val>
</DAI>
<DAI name="srBefWd">
<Val>30</Val>
</DAI>
<DAI name="srAftWd">
<Val>30</Val>
</DAI>
<DAI name="igBefWd">
<Val>0</Val>
</DAI>
<DAI name="igAftWd">
<Val>0</Val>
</DAI>
<DAI name="Descr">
<Val>ON/OFF schedule</Val>
</DAI>
</SDI>
<SDI name="sche24">
<DAI name="enable">
<Val>0</Val>
</DAI>
<DAI name="day">
<Val>0</Val>
</DAI>
<DAI name="tOn">
<Val>0</Val>
</DAI>
<DAI name="tOnT">
<Val>0</Val>
</DAI>
<DAI name="tOff">
<Val>0</Val>
</DAI>
<DAI name="tOffT">
<Val>0</Val>
</DAI>

SWDevice-010805 232
O pen Smart Grid Platform Documentation

<DAI name="minOnPer">
<Val>30</Val>
</DAI>
<DAI name="minOffPer">
<Val>30</Val>
</DAI>
<DAI name="srBefWd">
<Val>30</Val>
</DAI>
<DAI name="srAftWd">
<Val>30</Val>
</DAI>
<DAI name="igBefWd">
<Val>0</Val>
</DAI>
<DAI name="igAftWd">
<Val>0</Val>
</DAI>
<DAI name="Descr">
<Val>ON/OFF schedule</Val>
</DAI>
</SDI>
<SDI name="sche25">
<DAI name="enable">
<Val>0</Val>
</DAI>
<DAI name="day">
<Val>0</Val>
</DAI>
<DAI name="tOn">
<Val>0</Val>
</DAI>
<DAI name="tOnT">
<Val>0</Val>
</DAI>
<DAI name="tOff">
<Val>0</Val>
</DAI>
<DAI name="tOffT">
<Val>0</Val>
</DAI>
<DAI name="minOnPer">
<Val>30</Val>
</DAI>
<DAI name="minOffPer">
<Val>30</Val>
</DAI>
<DAI name="srBefWd">
<Val>30</Val>
</DAI>
<DAI name="srAftWd">
<Val>30</Val>
</DAI>
<DAI name="igBefWd">
<Val>0</Val>
</DAI>
<DAI name="igAftWd">
<Val>0</Val>
</DAI>
<DAI name="Descr">
<Val>ON/OFF schedule</Val>
</DAI>
</SDI>
<SDI name="sche26">
<DAI name="enable">
<Val>0</Val>
</DAI>
<DAI name="day">
<Val>0</Val>
</DAI>
<DAI name="tOn">
<Val>0</Val>

SWDevice-010805 233
O pen Smart Grid Platform Documentation

</DAI>
<DAI name="tOnT">
<Val>0</Val>
</DAI>
<DAI name="tOff">
<Val>0</Val>
</DAI>
<DAI name="tOffT">
<Val>0</Val>
</DAI>
<DAI name="minOnPer">
<Val>30</Val>
</DAI>
<DAI name="minOffPer">
<Val>30</Val>
</DAI>
<DAI name="srBefWd">
<Val>30</Val>
</DAI>
<DAI name="srAftWd">
<Val>30</Val>
</DAI>
<DAI name="igBefWd">
<Val>0</Val>
</DAI>
<DAI name="igAftWd">
<Val>0</Val>
</DAI>
<DAI name="Descr">
<Val>ON/OFF schedule</Val>
</DAI>
</SDI>
<SDI name="sche27">
<DAI name="enable">
<Val>0</Val>
</DAI>
<DAI name="day">
<Val>0</Val>
</DAI>
<DAI name="tOn">
<Val>0</Val>
</DAI>
<DAI name="tOnT">
<Val>0</Val>
</DAI>
<DAI name="tOff">
<Val>0</Val>
</DAI>
<DAI name="tOffT">
<Val>0</Val>
</DAI>
<DAI name="minOnPer">
<Val>30</Val>
</DAI>
<DAI name="minOffPer">
<Val>30</Val>
</DAI>
<DAI name="srBefWd">
<Val>30</Val>
</DAI>
<DAI name="srAftWd">
<Val>30</Val>
</DAI>
<DAI name="igBefWd">
<Val>0</Val>
</DAI>
<DAI name="igAftWd">
<Val>0</Val>
</DAI>
<DAI name="Descr">
<Val>ON/OFF schedule</Val>
</DAI>

SWDevice-010805 234
O pen Smart Grid Platform Documentation

</SDI>
<SDI name="sche28">
<DAI name="enable">
<Val>0</Val>
</DAI>
<DAI name="day">
<Val>0</Val>
</DAI>
<DAI name="tOn">
<Val>0</Val>
</DAI>
<DAI name="tOnT">
<Val>0</Val>
</DAI>
<DAI name="tOff">
<Val>0</Val>
</DAI>
<DAI name="tOffT">
<Val>0</Val>
</DAI>
<DAI name="minOnPer">
<Val>30</Val>
</DAI>
<DAI name="minOffPer">
<Val>30</Val>
</DAI>
<DAI name="srBefWd">
<Val>30</Val>
</DAI>
<DAI name="srAftWd">
<Val>30</Val>
</DAI>
<DAI name="igBefWd">
<Val>0</Val>
</DAI>
<DAI name="igAftWd">
<Val>0</Val>
</DAI>
<DAI name="Descr">
<Val>ON/OFF schedule</Val>
</DAI>
</SDI>
<SDI name="sche29">
<DAI name="enable">
<Val>0</Val>
</DAI>
<DAI name="day">
<Val>0</Val>
</DAI>
<DAI name="tOn">
<Val>0</Val>
</DAI>
<DAI name="tOnT">
<Val>0</Val>
</DAI>
<DAI name="tOff">
<Val>0</Val>
</DAI>
<DAI name="tOffT">
<Val>0</Val>
</DAI>
<DAI name="minOnPer">
<Val>30</Val>
</DAI>
<DAI name="minOffPer">
<Val>30</Val>
</DAI>
<DAI name="srBefWd">
<Val>30</Val>
</DAI>
<DAI name="srAftWd">
<Val>30</Val>

SWDevice-010805 235
O pen Smart Grid Platform Documentation

</DAI>
<DAI name="igBefWd">
<Val>0</Val>
</DAI>
<DAI name="igAftWd">
<Val>0</Val>
</DAI>
<DAI name="Descr">
<Val>ON/OFF schedule</Val>
</DAI>
</SDI>
<SDI name="sche30">
<DAI name="enable">
<Val>0</Val>
</DAI>
<DAI name="day">
<Val>0</Val>
</DAI>
<DAI name="tOn">
<Val>0</Val>
</DAI>
<DAI name="tOnT">
<Val>0</Val>
</DAI>
<DAI name="tOff">
<Val>0</Val>
</DAI>
<DAI name="tOffT">
<Val>0</Val>
</DAI>
<DAI name="minOnPer">
<Val>30</Val>
</DAI>
<DAI name="minOffPer">
<Val>30</Val>
</DAI>
<DAI name="srBefWd">
<Val>30</Val>
</DAI>
<DAI name="srAftWd">
<Val>30</Val>
</DAI>
<DAI name="igBefWd">
<Val>0</Val>
</DAI>
<DAI name="igAftWd">
<Val>0</Val>
</DAI>
<DAI name="Descr">
<Val>ON/OFF schedule</Val>
</DAI>
</SDI>
<SDI name="sche31">
<DAI name="enable">
<Val>0</Val>
</DAI>
<DAI name="day">
<Val>0</Val>
</DAI>
<DAI name="tOn">
<Val>0</Val>
</DAI>
<DAI name="tOnT">
<Val>0</Val>
</DAI>
<DAI name="tOff">
<Val>0</Val>
</DAI>
<DAI name="tOffT">
<Val>0</Val>
</DAI>
<DAI name="minOnPer">

SWDevice-010805 236
O pen Smart Grid Platform Documentation

<Val>30</Val>
</DAI>
<DAI name="minOffPer">
<Val>30</Val>
</DAI>
<DAI name="srBefWd">
<Val>30</Val>
</DAI>
<DAI name="srAftWd">
<Val>30</Val>
</DAI>
<DAI name="igBefWd">
<Val>0</Val>
</DAI>
<DAI name="igAftWd">
<Val>0</Val>
</DAI>
<DAI name="Descr">
<Val>ON/OFF schedule</Val>
</DAI>
</SDI>
<SDI name="sche32">
<DAI name="enable">
<Val>0</Val>
</DAI>
<DAI name="day">
<Val>0</Val>
</DAI>
<DAI name="tOn">
<Val>0</Val>
</DAI>
<DAI name="tOnT">
<Val>0</Val>
</DAI>
<DAI name="tOff">
<Val>0</Val>
</DAI>
<DAI name="tOffT">
<Val>0</Val>
</DAI>
<DAI name="minOnPer">
<Val>30</Val>
</DAI>
<DAI name="minOffPer">
<Val>30</Val>
</DAI>
<DAI name="srBefWd">
<Val>30</Val>
</DAI>
<DAI name="srAftWd">
<Val>30</Val>
</DAI>
<DAI name="igBefWd">
<Val>0</Val>
</DAI>
<DAI name="igAftWd">
<Val>0</Val>
</DAI>
<DAI name="Descr">
<Val>ON/OFF schedule</Val>
</DAI>
</SDI>
<SDI name="sche33">
<DAI name="enable">
<Val>0</Val>
</DAI>
<DAI name="day">
<Val>0</Val>
</DAI>
<DAI name="tOn">
<Val>0</Val>
</DAI>

SWDevice-010805 237
O pen Smart Grid Platform Documentation

<DAI name="tOnT">
<Val>0</Val>
</DAI>
<DAI name="tOff">
<Val>0</Val>
</DAI>
<DAI name="tOffT">
<Val>0</Val>
</DAI>
<DAI name="minOnPer">
<Val>30</Val>
</DAI>
<DAI name="minOffPer">
<Val>30</Val>
</DAI>
<DAI name="srBefWd">
<Val>30</Val>
</DAI>
<DAI name="srAftWd">
<Val>30</Val>
</DAI>
<DAI name="igBefWd">
<Val>0</Val>
</DAI>
<DAI name="igAftWd">
<Val>0</Val>
</DAI>
<DAI name="Descr">
<Val>ON/OFF schedule</Val>
</DAI>
</SDI>
<SDI name="sche34">
<DAI name="enable">
<Val>0</Val>
</DAI>
<DAI name="day">
<Val>0</Val>
</DAI>
<DAI name="tOn">
<Val>0</Val>
</DAI>
<DAI name="tOnT">
<Val>0</Val>
</DAI>
<DAI name="tOff">
<Val>0</Val>
</DAI>
<DAI name="tOffT">
<Val>0</Val>
</DAI>
<DAI name="minOnPer">
<Val>30</Val>
</DAI>
<DAI name="minOffPer">
<Val>30</Val>
</DAI>
<DAI name="srBefWd">
<Val>30</Val>
</DAI>
<DAI name="srAftWd">
<Val>30</Val>
</DAI>
<DAI name="igBefWd">
<Val>0</Val>
</DAI>
<DAI name="igAftWd">
<Val>0</Val>
</DAI>
<DAI name="Descr">
<Val>ON/OFF schedule</Val>
</DAI>
</SDI>

SWDevice-010805 238
O pen Smart Grid Platform Documentation

<SDI name="sche35">
<DAI name="enable">
<Val>0</Val>
</DAI>
<DAI name="day">
<Val>0</Val>
</DAI>
<DAI name="tOn">
<Val>0</Val>
</DAI>
<DAI name="tOnT">
<Val>0</Val>
</DAI>
<DAI name="tOff">
<Val>0</Val>
</DAI>
<DAI name="tOffT">
<Val>0</Val>
</DAI>
<DAI name="minOnPer">
<Val>30</Val>
</DAI>
<DAI name="minOffPer">
<Val>30</Val>
</DAI>
<DAI name="srBefWd">
<Val>30</Val>
</DAI>
<DAI name="srAftWd">
<Val>30</Val>
</DAI>
<DAI name="igBefWd">
<Val>0</Val>
</DAI>
<DAI name="igAftWd">
<Val>0</Val>
</DAI>
<DAI name="Descr">
<Val>ON/OFF schedule</Val>
</DAI>
</SDI>
<SDI name="sche36">
<DAI name="enable">
<Val>0</Val>
</DAI>
<DAI name="day">
<Val>0</Val>
</DAI>
<DAI name="tOn">
<Val>0</Val>
</DAI>
<DAI name="tOnT">
<Val>0</Val>
</DAI>
<DAI name="tOff">
<Val>0</Val>
</DAI>
<DAI name="tOffT">
<Val>0</Val>
</DAI>
<DAI name="minOnPer">
<Val>30</Val>
</DAI>
<DAI name="minOffPer">
<Val>30</Val>
</DAI>
<DAI name="srBefWd">
<Val>30</Val>
</DAI>
<DAI name="srAftWd">
<Val>30</Val>
</DAI>

SWDevice-010805 239
O pen Smart Grid Platform Documentation

<DAI name="igBefWd">
<Val>0</Val>
</DAI>
<DAI name="igAftWd">
<Val>0</Val>
</DAI>
<DAI name="Descr">
<Val>ON/OFF schedule</Val>
</DAI>
</SDI>
<SDI name="sche37">
<DAI name="enable">
<Val>0</Val>
</DAI>
<DAI name="day">
<Val>0</Val>
</DAI>
<DAI name="tOn">
<Val>0</Val>
</DAI>
<DAI name="tOnT">
<Val>0</Val>
</DAI>
<DAI name="tOff">
<Val>0</Val>
</DAI>
<DAI name="tOffT">
<Val>0</Val>
</DAI>
<DAI name="minOnPer">
<Val>30</Val>
</DAI>
<DAI name="minOffPer">
<Val>30</Val>
</DAI>
<DAI name="srBefWd">
<Val>30</Val>
</DAI>
<DAI name="srAftWd">
<Val>30</Val>
</DAI>
<DAI name="igBefWd">
<Val>0</Val>
</DAI>
<DAI name="igAftWd">
<Val>0</Val>
</DAI>
<DAI name="Descr">
<Val>ON/OFF schedule</Val>
</DAI>
</SDI>
<SDI name="sche38">
<DAI name="enable">
<Val>0</Val>
</DAI>
<DAI name="day">
<Val>0</Val>
</DAI>
<DAI name="tOn">
<Val>0</Val>
</DAI>
<DAI name="tOnT">
<Val>0</Val>
</DAI>
<DAI name="tOff">
<Val>0</Val>
</DAI>
<DAI name="tOffT">
<Val>0</Val>
</DAI>
<DAI name="minOnPer">
<Val>30</Val>

SWDevice-010805 240
O pen Smart Grid Platform Documentation

</DAI>
<DAI name="minOffPer">
<Val>30</Val>
</DAI>
<DAI name="srBefWd">
<Val>30</Val>
</DAI>
<DAI name="srAftWd">
<Val>30</Val>
</DAI>
<DAI name="igBefWd">
<Val>0</Val>
</DAI>
<DAI name="igAftWd">
<Val>0</Val>
</DAI>
<DAI name="Descr">
<Val>ON/OFF schedule</Val>
</DAI>
</SDI>
<SDI name="sche39">
<DAI name="enable">
<Val>0</Val>
</DAI>
<DAI name="day">
<Val>0</Val>
</DAI>
<DAI name="tOn">
<Val>0</Val>
</DAI>
<DAI name="tOnT">
<Val>0</Val>
</DAI>
<DAI name="tOff">
<Val>0</Val>
</DAI>
<DAI name="tOffT">
<Val>0</Val>
</DAI>
<DAI name="minOnPer">
<Val>30</Val>
</DAI>
<DAI name="minOffPer">
<Val>30</Val>
</DAI>
<DAI name="srBefWd">
<Val>30</Val>
</DAI>
<DAI name="srAftWd">
<Val>30</Val>
</DAI>
<DAI name="igBefWd">
<Val>0</Val>
</DAI>
<DAI name="igAftWd">
<Val>0</Val>
</DAI>
<DAI name="Descr">
<Val>ON/OFF schedule</Val>
</DAI>
</SDI>
<SDI name="sche40">
<DAI name="enable">
<Val>0</Val>
</DAI>
<DAI name="day">
<Val>0</Val>
</DAI>
<DAI name="tOn">
<Val>0</Val>
</DAI>
<DAI name="tOnT">

SWDevice-010805 241
O pen Smart Grid Platform Documentation

<Val>0</Val>
</DAI>
<DAI name="tOff">
<Val>0</Val>
</DAI>
<DAI name="tOffT">
<Val>0</Val>
</DAI>
<DAI name="minOnPer">
<Val>30</Val>
</DAI>
<DAI name="minOffPer">
<Val>30</Val>
</DAI>
<DAI name="srBefWd">
<Val>30</Val>
</DAI>
<DAI name="srAftWd">
<Val>30</Val>
</DAI>
<DAI name="igBefWd">
<Val>0</Val>
</DAI>
<DAI name="igAftWd">
<Val>0</Val>
</DAI>
<DAI name="Descr">
<Val>ON/OFF schedule</Val>
</DAI>
</SDI>
<SDI name="sche41">
<DAI name="enable">
<Val>0</Val>
</DAI>
<DAI name="day">
<Val>0</Val>
</DAI>
<DAI name="tOn">
<Val>0</Val>
</DAI>
<DAI name="tOnT">
<Val>0</Val>
</DAI>
<DAI name="tOff">
<Val>0</Val>
</DAI>
<DAI name="tOffT">
<Val>0</Val>
</DAI>
<DAI name="minOnPer">
<Val>30</Val>
</DAI>
<DAI name="minOffPer">
<Val>30</Val>
</DAI>
<DAI name="srBefWd">
<Val>30</Val>
</DAI>
<DAI name="srAftWd">
<Val>30</Val>
</DAI>
<DAI name="igBefWd">
<Val>0</Val>
</DAI>
<DAI name="igAftWd">
<Val>0</Val>
</DAI>
<DAI name="Descr">
<Val>ON/OFF schedule</Val>
</DAI>
</SDI>
<SDI name="sche42">

SWDevice-010805 242
O pen Smart Grid Platform Documentation

<DAI name="enable">
<Val>0</Val>
</DAI>
<DAI name="day">
<Val>0</Val>
</DAI>
<DAI name="tOn">
<Val>0</Val>
</DAI>
<DAI name="tOnT">
<Val>0</Val>
</DAI>
<DAI name="tOff">
<Val>0</Val>
</DAI>
<DAI name="tOffT">
<Val>0</Val>
</DAI>
<DAI name="minOnPer">
<Val>30</Val>
</DAI>
<DAI name="minOffPer">
<Val>30</Val>
</DAI>
<DAI name="srBefWd">
<Val>30</Val>
</DAI>
<DAI name="srAftWd">
<Val>30</Val>
</DAI>
<DAI name="igBefWd">
<Val>0</Val>
</DAI>
<DAI name="igAftWd">
<Val>0</Val>
</DAI>
<DAI name="Descr">
<Val>ON/OFF schedule</Val>
</DAI>
</SDI>
<SDI name="sche43">
<DAI name="enable">
<Val>0</Val>
</DAI>
<DAI name="day">
<Val>0</Val>
</DAI>
<DAI name="tOn">
<Val>0</Val>
</DAI>
<DAI name="tOnT">
<Val>0</Val>
</DAI>
<DAI name="tOff">
<Val>0</Val>
</DAI>
<DAI name="tOffT">
<Val>0</Val>
</DAI>
<DAI name="minOnPer">
<Val>30</Val>
</DAI>
<DAI name="minOffPer">
<Val>30</Val>
</DAI>
<DAI name="srBefWd">
<Val>30</Val>
</DAI>
<DAI name="srAftWd">
<Val>30</Val>
</DAI>
<DAI name="igBefWd">

SWDevice-010805 243
O pen Smart Grid Platform Documentation

<Val>0</Val>
</DAI>
<DAI name="igAftWd">
<Val>0</Val>
</DAI>
<DAI name="Descr">
<Val>ON/OFF schedule</Val>
</DAI>
</SDI>
<SDI name="sche44">
<DAI name="enable">
<Val>0</Val>
</DAI>
<DAI name="day">
<Val>0</Val>
</DAI>
<DAI name="tOn">
<Val>0</Val>
</DAI>
<DAI name="tOnT">
<Val>0</Val>
</DAI>
<DAI name="tOff">
<Val>0</Val>
</DAI>
<DAI name="tOffT">
<Val>0</Val>
</DAI>
<DAI name="minOnPer">
<Val>30</Val>
</DAI>
<DAI name="minOffPer">
<Val>30</Val>
</DAI>
<DAI name="srBefWd">
<Val>30</Val>
</DAI>
<DAI name="srAftWd">
<Val>30</Val>
</DAI>
<DAI name="igBefWd">
<Val>0</Val>
</DAI>
<DAI name="igAftWd">
<Val>0</Val>
</DAI>
<DAI name="Descr">
<Val>ON/OFF schedule</Val>
</DAI>
</SDI>
<SDI name="sche45">
<DAI name="enable">
<Val>0</Val>
</DAI>
<DAI name="day">
<Val>0</Val>
</DAI>
<DAI name="tOn">
<Val>0</Val>
</DAI>
<DAI name="tOnT">
<Val>0</Val>
</DAI>
<DAI name="tOff">
<Val>0</Val>
</DAI>
<DAI name="tOffT">
<Val>0</Val>
</DAI>
<DAI name="minOnPer">
<Val>30</Val>
</DAI>

SWDevice-010805 244
O pen Smart Grid Platform Documentation

<DAI name="minOffPer">
<Val>30</Val>
</DAI>
<DAI name="srBefWd">
<Val>30</Val>
</DAI>
<DAI name="srAftWd">
<Val>30</Val>
</DAI>
<DAI name="igBefWd">
<Val>0</Val>
</DAI>
<DAI name="igAftWd">
<Val>0</Val>
</DAI>
<DAI name="Descr">
<Val>ON/OFF schedule</Val>
</DAI>
</SDI>
<SDI name="sche46">
<DAI name="enable">
<Val>0</Val>
</DAI>
<DAI name="day">
<Val>0</Val>
</DAI>
<DAI name="tOn">
<Val>0</Val>
</DAI>
<DAI name="tOnT">
<Val>0</Val>
</DAI>
<DAI name="tOff">
<Val>0</Val>
</DAI>
<DAI name="tOffT">
<Val>0</Val>
</DAI>
<DAI name="minOnPer">
<Val>30</Val>
</DAI>
<DAI name="minOffPer">
<Val>30</Val>
</DAI>
<DAI name="srBefWd">
<Val>30</Val>
</DAI>
<DAI name="srAftWd">
<Val>30</Val>
</DAI>
<DAI name="igBefWd">
<Val>0</Val>
</DAI>
<DAI name="igAftWd">
<Val>0</Val>
</DAI>
<DAI name="Descr">
<Val>ON/OFF schedule</Val>
</DAI>
</SDI>
<SDI name="sche47">
<DAI name="enable">
<Val>0</Val>
</DAI>
<DAI name="day">
<Val>0</Val>
</DAI>
<DAI name="tOn">
<Val>0</Val>
</DAI>
<DAI name="tOnT">
<Val>0</Val>

SWDevice-010805 245
O pen Smart Grid Platform Documentation

</DAI>
<DAI name="tOff">
<Val>0</Val>
</DAI>
<DAI name="tOffT">
<Val>0</Val>
</DAI>
<DAI name="minOnPer">
<Val>30</Val>
</DAI>
<DAI name="minOffPer">
<Val>30</Val>
</DAI>
<DAI name="srBefWd">
<Val>30</Val>
</DAI>
<DAI name="srAftWd">
<Val>30</Val>
</DAI>
<DAI name="igBefWd">
<Val>0</Val>
</DAI>
<DAI name="igAftWd">
<Val>0</Val>
</DAI>
<DAI name="Descr">
<Val>ON/OFF schedule</Val>
</DAI>
</SDI>
<SDI name="sche48">
<DAI name="enable">
<Val>0</Val>
</DAI>
<DAI name="day">
<Val>0</Val>
</DAI>
<DAI name="tOn">
<Val>0</Val>
</DAI>
<DAI name="tOnT">
<Val>0</Val>
</DAI>
<DAI name="tOff">
<Val>0</Val>
</DAI>
<DAI name="tOffT">
<Val>0</Val>
</DAI>
<DAI name="minOnPer">
<Val>30</Val>
</DAI>
<DAI name="minOffPer">
<Val>30</Val>
</DAI>
<DAI name="srBefWd">
<Val>30</Val>
</DAI>
<DAI name="srAftWd">
<Val>30</Val>
</DAI>
<DAI name="igBefWd">
<Val>0</Val>
</DAI>
<DAI name="igAftWd">
<Val>0</Val>
</DAI>
<DAI name="Descr">
<Val>ON/OFF schedule</Val>
</DAI>
</SDI>
<SDI name="sche49">
<DAI name="enable">

SWDevice-010805 246
O pen Smart Grid Platform Documentation

<Val>0</Val>
</DAI>
<DAI name="day">
<Val>0</Val>
</DAI>
<DAI name="tOn">
<Val>0</Val>
</DAI>
<DAI name="tOnT">
<Val>0</Val>
</DAI>
<DAI name="tOff">
<Val>0</Val>
</DAI>
<DAI name="tOffT">
<Val>0</Val>
</DAI>
<DAI name="minOnPer">
<Val>30</Val>
</DAI>
<DAI name="minOffPer">
<Val>30</Val>
</DAI>
<DAI name="srBefWd">
<Val>30</Val>
</DAI>
<DAI name="srAftWd">
<Val>30</Val>
</DAI>
<DAI name="igBefWd">
<Val>0</Val>
</DAI>
<DAI name="igAftWd">
<Val>0</Val>
</DAI>
<DAI name="Descr">
<Val>ON/OFF schedule</Val>
</DAI>
</SDI>
<SDI name="sche50">
<DAI name="enable">
<Val>0</Val>
</DAI>
<DAI name="day">
<Val>0</Val>
</DAI>
<DAI name="tOn">
<Val>0</Val>
</DAI>
<DAI name="tOnT">
<Val>0</Val>
</DAI>
<DAI name="tOff">
<Val>0</Val>
</DAI>
<DAI name="tOffT">
<Val>0</Val>
</DAI>
<DAI name="minOnPer">
<Val>30</Val>
</DAI>
<DAI name="minOffPer">
<Val>30</Val>
</DAI>
<DAI name="srBefWd">
<Val>30</Val>
</DAI>
<DAI name="srAftWd">
<Val>30</Val>
</DAI>
<DAI name="igBefWd">
<Val>0</Val>

SWDevice-010805 247
O pen Smart Grid Platform Documentation

</DAI>
<DAI name="igAftWd">
<Val>0</Val>
</DAI>
<DAI name="Descr">
<Val>ON/OFF schedule</Val>
</DAI>
</SDI>
<SDI name="sche51">
<DAI name="enable">
<Val>0</Val>
</DAI>
<DAI name="day">
<Val>0</Val>
</DAI>
<DAI name="tOn">
<Val>0</Val>
</DAI>
<DAI name="tOnT">
<Val>0</Val>
</DAI>
<DAI name="tOff">
<Val>0</Val>
</DAI>
<DAI name="tOffT">
<Val>0</Val>
</DAI>
<DAI name="minOnPer">
<Val>30</Val>
</DAI>
<DAI name="minOffPer">
<Val>30</Val>
</DAI>
<DAI name="srBefWd">
<Val>30</Val>
</DAI>
<DAI name="srAftWd">
<Val>30</Val>
</DAI>
<DAI name="igBefWd">
<Val>0</Val>
</DAI>
<DAI name="igAftWd">
<Val>0</Val>
</DAI>
<DAI name="Descr">
<Val>ON/OFF schedule</Val>
</DAI>
</SDI>
<SDI name="sche52">
<DAI name="enable">
<Val>0</Val>
</DAI>
<DAI name="day">
<Val>0</Val>
</DAI>
<DAI name="tOn">
<Val>0</Val>
</DAI>
<DAI name="tOnT">
<Val>0</Val>
</DAI>
<DAI name="tOff">
<Val>0</Val>
</DAI>
<DAI name="tOffT">
<Val>0</Val>
</DAI>
<DAI name="minOnPer">
<Val>30</Val>
</DAI>
<DAI name="minOffPer">

SWDevice-010805 248
O pen Smart Grid Platform Documentation

<Val>30</Val>
</DAI>
<DAI name="srBefWd">
<Val>30</Val>
</DAI>
<DAI name="srAftWd">
<Val>30</Val>
</DAI>
<DAI name="igBefWd">
<Val>0</Val>
</DAI>
<DAI name="igAftWd">
<Val>0</Val>
</DAI>
<DAI name="Descr">
<Val>ON/OFF schedule</Val>
</DAI>
</SDI>
<SDI name="sche53">
<DAI name="enable">
<Val>0</Val>
</DAI>
<DAI name="day">
<Val>0</Val>
</DAI>
<DAI name="tOn">
<Val>0</Val>
</DAI>
<DAI name="tOnT">
<Val>0</Val>
</DAI>
<DAI name="tOff">
<Val>0</Val>
</DAI>
<DAI name="tOffT">
<Val>0</Val>
</DAI>
<DAI name="minOnPer">
<Val>30</Val>
</DAI>
<DAI name="minOffPer">
<Val>30</Val>
</DAI>
<DAI name="srBefWd">
<Val>30</Val>
</DAI>
<DAI name="srAftWd">
<Val>30</Val>
</DAI>
<DAI name="igBefWd">
<Val>0</Val>
</DAI>
<DAI name="igAftWd">
<Val>0</Val>
</DAI>
<DAI name="Descr">
<Val>ON/OFF schedule</Val>
</DAI>
</SDI>
<SDI name="sche54">
<DAI name="enable">
<Val>0</Val>
</DAI>
<DAI name="day">
<Val>0</Val>
</DAI>
<DAI name="tOn">
<Val>0</Val>
</DAI>
<DAI name="tOnT">
<Val>0</Val>
</DAI>

SWDevice-010805 249
O pen Smart Grid Platform Documentation

<DAI name="tOff">
<Val>0</Val>
</DAI>
<DAI name="tOffT">
<Val>0</Val>
</DAI>
<DAI name="minOnPer">
<Val>30</Val>
</DAI>
<DAI name="minOffPer">
<Val>30</Val>
</DAI>
<DAI name="srBefWd">
<Val>30</Val>
</DAI>
<DAI name="srAftWd">
<Val>30</Val>
</DAI>
<DAI name="igBefWd">
<Val>0</Val>
</DAI>
<DAI name="igAftWd">
<Val>0</Val>
</DAI>
<DAI name="Descr">
<Val>ON/OFF schedule</Val>
</DAI>
</SDI>
<SDI name="sche55">
<DAI name="enable">
<Val>0</Val>
</DAI>
<DAI name="day">
<Val>0</Val>
</DAI>
<DAI name="tOn">
<Val>0</Val>
</DAI>
<DAI name="tOnT">
<Val>0</Val>
</DAI>
<DAI name="tOff">
<Val>0</Val>
</DAI>
<DAI name="tOffT">
<Val>0</Val>
</DAI>
<DAI name="minOnPer">
<Val>30</Val>
</DAI>
<DAI name="minOffPer">
<Val>30</Val>
</DAI>
<DAI name="srBefWd">
<Val>30</Val>
</DAI>
<DAI name="srAftWd">
<Val>30</Val>
</DAI>
<DAI name="igBefWd">
<Val>0</Val>
</DAI>
<DAI name="igAftWd">
<Val>0</Val>
</DAI>
<DAI name="Descr">
<Val>ON/OFF schedule</Val>
</DAI>
</SDI>
<SDI name="sche56">
<DAI name="enable">
<Val>0</Val>

SWDevice-010805 250
O pen Smart Grid Platform Documentation

</DAI>
<DAI name="day">
<Val>0</Val>
</DAI>
<DAI name="tOn">
<Val>0</Val>
</DAI>
<DAI name="tOnT">
<Val>0</Val>
</DAI>
<DAI name="tOff">
<Val>0</Val>
</DAI>
<DAI name="tOffT">
<Val>0</Val>
</DAI>
<DAI name="minOnPer">
<Val>30</Val>
</DAI>
<DAI name="minOffPer">
<Val>30</Val>
</DAI>
<DAI name="srBefWd">
<Val>30</Val>
</DAI>
<DAI name="srAftWd">
<Val>30</Val>
</DAI>
<DAI name="igBefWd">
<Val>0</Val>
</DAI>
<DAI name="igAftWd">
<Val>0</Val>
</DAI>
<DAI name="Descr">
<Val>ON/OFF schedule</Val>
</DAI>
</SDI>
<SDI name="sche57">
<DAI name="enable">
<Val>0</Val>
</DAI>
<DAI name="day">
<Val>0</Val>
</DAI>
<DAI name="tOn">
<Val>0</Val>
</DAI>
<DAI name="tOnT">
<Val>0</Val>
</DAI>
<DAI name="tOff">
<Val>0</Val>
</DAI>
<DAI name="tOffT">
<Val>0</Val>
</DAI>
<DAI name="minOnPer">
<Val>30</Val>
</DAI>
<DAI name="minOffPer">
<Val>30</Val>
</DAI>
<DAI name="srBefWd">
<Val>30</Val>
</DAI>
<DAI name="srAftWd">
<Val>30</Val>
</DAI>
<DAI name="igBefWd">
<Val>0</Val>
</DAI>

SWDevice-010805 251
O pen Smart Grid Platform Documentation

<DAI name="igAftWd">
<Val>0</Val>
</DAI>
<DAI name="Descr">
<Val>ON/OFF schedule</Val>
</DAI>
</SDI>
<SDI name="sche58">
<DAI name="enable">
<Val>0</Val>
</DAI>
<DAI name="day">
<Val>0</Val>
</DAI>
<DAI name="tOn">
<Val>0</Val>
</DAI>
<DAI name="tOnT">
<Val>0</Val>
</DAI>
<DAI name="tOff">
<Val>0</Val>
</DAI>
<DAI name="tOffT">
<Val>0</Val>
</DAI>
<DAI name="minOnPer">
<Val>30</Val>
</DAI>
<DAI name="minOffPer">
<Val>30</Val>
</DAI>
<DAI name="srBefWd">
<Val>30</Val>
</DAI>
<DAI name="srAftWd">
<Val>30</Val>
</DAI>
<DAI name="igBefWd">
<Val>0</Val>
</DAI>
<DAI name="igAftWd">
<Val>0</Val>
</DAI>
<DAI name="Descr">
<Val>ON/OFF schedule</Val>
</DAI>
</SDI>
<SDI name="sche59">
<DAI name="enable">
<Val>0</Val>
</DAI>
<DAI name="day">
<Val>0</Val>
</DAI>
<DAI name="tOn">
<Val>0</Val>
</DAI>
<DAI name="tOnT">
<Val>0</Val>
</DAI>
<DAI name="tOff">
<Val>0</Val>
</DAI>
<DAI name="tOffT">
<Val>0</Val>
</DAI>
<DAI name="minOnPer">
<Val>30</Val>
</DAI>
<DAI name="minOffPer">
<Val>30</Val>

SWDevice-010805 252
O pen Smart Grid Platform Documentation

</DAI>
<DAI name="srBefWd">
<Val>30</Val>
</DAI>
<DAI name="srAftWd">
<Val>30</Val>
</DAI>
<DAI name="igBefWd">
<Val>0</Val>
</DAI>
<DAI name="igAftWd">
<Val>0</Val>
</DAI>
<DAI name="Descr">
<Val>ON/OFF schedule</Val>
</DAI>
</SDI>
<SDI name="sche60">
<DAI name="enable">
<Val>0</Val>
</DAI>
<DAI name="day">
<Val>0</Val>
</DAI>
<DAI name="tOn">
<Val>0</Val>
</DAI>
<DAI name="tOnT">
<Val>0</Val>
</DAI>
<DAI name="tOff">
<Val>0</Val>
</DAI>
<DAI name="tOffT">
<Val>0</Val>
</DAI>
<DAI name="minOnPer">
<Val>30</Val>
</DAI>
<DAI name="minOffPer">
<Val>30</Val>
</DAI>
<DAI name="srBefWd">
<Val>30</Val>
</DAI>
<DAI name="srAftWd">
<Val>30</Val>
</DAI>
<DAI name="igBefWd">
<Val>0</Val>
</DAI>
<DAI name="igAftWd">
<Val>0</Val>
</DAI>
<DAI name="Descr">
<Val>ON/OFF schedule</Val>
</DAI>
</SDI>
<SDI name="sche61">
<DAI name="enable">
<Val>0</Val>
</DAI>
<DAI name="day">
<Val>0</Val>
</DAI>
<DAI name="tOn">
<Val>0</Val>
</DAI>
<DAI name="tOnT">
<Val>0</Val>
</DAI>
<DAI name="tOff">

SWDevice-010805 253
O pen Smart Grid Platform Documentation

<Val>0</Val>
</DAI>
<DAI name="tOffT">
<Val>0</Val>
</DAI>
<DAI name="minOnPer">
<Val>30</Val>
</DAI>
<DAI name="minOffPer">
<Val>30</Val>
</DAI>
<DAI name="srBefWd">
<Val>30</Val>
</DAI>
<DAI name="srAftWd">
<Val>30</Val>
</DAI>
<DAI name="igBefWd">
<Val>0</Val>
</DAI>
<DAI name="igAftWd">
<Val>0</Val>
</DAI>
<DAI name="Descr">
<Val>ON/OFF schedule</Val>
</DAI>
</SDI>
<SDI name="sche62">
<DAI name="enable">
<Val>0</Val>
</DAI>
<DAI name="day">
<Val>0</Val>
</DAI>
<DAI name="tOn">
<Val>0</Val>
</DAI>
<DAI name="tOnT">
<Val>0</Val>
</DAI>
<DAI name="tOff">
<Val>0</Val>
</DAI>
<DAI name="tOffT">
<Val>0</Val>
</DAI>
<DAI name="minOnPer">
<Val>30</Val>
</DAI>
<DAI name="minOffPer">
<Val>30</Val>
</DAI>
<DAI name="srBefWd">
<Val>30</Val>
</DAI>
<DAI name="srAftWd">
<Val>30</Val>
</DAI>
<DAI name="igBefWd">
<Val>0</Val>
</DAI>
<DAI name="igAftWd">
<Val>0</Val>
</DAI>
<DAI name="Descr">
<Val>ON/OFF schedule</Val>
</DAI>
</SDI>
<SDI name="sche63">
<DAI name="enable">
<Val>0</Val>
</DAI>

SWDevice-010805 254
O pen Smart Grid Platform Documentation

<DAI name="day">
<Val>0</Val>
</DAI>
<DAI name="tOn">
<Val>0</Val>
</DAI>
<DAI name="tOnT">
<Val>0</Val>
</DAI>
<DAI name="tOff">
<Val>0</Val>
</DAI>
<DAI name="tOffT">
<Val>0</Val>
</DAI>
<DAI name="minOnPer">
<Val>30</Val>
</DAI>
<DAI name="minOffPer">
<Val>30</Val>
</DAI>
<DAI name="srBefWd">
<Val>30</Val>
</DAI>
<DAI name="srAftWd">
<Val>30</Val>
</DAI>
<DAI name="igBefWd">
<Val>0</Val>
</DAI>
<DAI name="igAftWd">
<Val>0</Val>
</DAI>
<DAI name="Descr">
<Val>ON/OFF schedule</Val>
</DAI>
</SDI>
<SDI name="sche64">
<DAI name="enable">
<Val>0</Val>
</DAI>
<DAI name="day">
<Val>0</Val>
</DAI>
<DAI name="tOn">
<Val>0</Val>
</DAI>
<DAI name="tOnT">
<Val>0</Val>
</DAI>
<DAI name="tOff">
<Val>0</Val>
</DAI>
<DAI name="tOffT">
<Val>0</Val>
</DAI>
<DAI name="minOnPer">
<Val>30</Val>
</DAI>
<DAI name="minOffPer">
<Val>30</Val>
</DAI>
<DAI name="srBefWd">
<Val>30</Val>
</DAI>
<DAI name="srAftWd">
<Val>30</Val>
</DAI>
<DAI name="igBefWd">
<Val>0</Val>
</DAI>
<DAI name="igAftWd">

SWDevice-010805 255
O pen Smart Grid Platform Documentation

<Val>0</Val>
</DAI>
<DAI name="Descr">
<Val>ON/OFF schedule</Val>
</DAI>
</SDI>
</DOI>
</LN>
<LN lnType="SWDeviceGenericIO.XSWC1" lnClass="XSWC" inst="2">
<DOI name="SwType">
<DAI name="ctlModel">
<Val>status-only</Val>
</DAI>
</DOI>
<DOI name="Pos">
<DAI name="ctlModel">
<Val>status-only</Val>
</DAI>
</DOI>
<DOI name="CfSt">
<DAI name="enbOper">
<Val>1</Val>
</DAI>
</DOI>
<DOI name="Sche">
<SDI name="sche1">
<DAI name="enable">
<Val>1</Val>
</DAI>
<DAI name="day">
<Val>0</Val>
</DAI>
<DAI name="tOn">
<Val>0</Val>
</DAI>
<DAI name="tOnT">
<Val>1</Val>
</DAI>
<DAI name="tOff">
<Val>0</Val>
</DAI>
<DAI name="tOffT">
<Val>2</Val>
</DAI>
<DAI name="minOnPer">
<Val>30</Val>
</DAI>
<DAI name="minOffPer">
<Val>30</Val>
</DAI>
<DAI name="srBefWd">
<Val>30</Val>
</DAI>
<DAI name="srAftWd">
<Val>30</Val>
</DAI>
<DAI name="igBefWd">
<Val>0</Val>
</DAI>
<DAI name="igAftWd">
<Val>0</Val>
</DAI>
<DAI name="Descr">
<Val>ON/OFF schedule</Val>
</DAI>
</SDI>
<SDI name="sche2">
<DAI name="enable">
<Val>0</Val>
</DAI>
<DAI name="day">
<Val>0</Val>

SWDevice-010805 256
O pen Smart Grid Platform Documentation

</DAI>
<DAI name="tOn">
<Val>0</Val>
</DAI>
<DAI name="tOnT">
<Val>0</Val>
</DAI>
<DAI name="tOff">
<Val>0</Val>
</DAI>
<DAI name="tOffT">
<Val>0</Val>
</DAI>
<DAI name="minOnPer">
<Val>30</Val>
</DAI>
<DAI name="minOffPer">
<Val>30</Val>
</DAI>
<DAI name="srBefWd">
<Val>30</Val>
</DAI>
<DAI name="srAftWd">
<Val>30</Val>
</DAI>
<DAI name="igBefWd">
<Val>0</Val>
</DAI>
<DAI name="igAftWd">
<Val>0</Val>
</DAI>
<DAI name="Descr">
<Val>ON/OFF schedule</Val>
</DAI>
</SDI>
<SDI name="sche3">
<DAI name="enable">
<Val>0</Val>
</DAI>
<DAI name="day">
<Val>0</Val>
</DAI>
<DAI name="tOn">
<Val>0</Val>
</DAI>
<DAI name="tOnT">
<Val>0</Val>
</DAI>
<DAI name="tOff">
<Val>0</Val>
</DAI>
<DAI name="tOffT">
<Val>0</Val>
</DAI>
<DAI name="minOnPer">
<Val>30</Val>
</DAI>
<DAI name="minOffPer">
<Val>30</Val>
</DAI>
<DAI name="srBefWd">
<Val>30</Val>
</DAI>
<DAI name="srAftWd">
<Val>30</Val>
</DAI>
<DAI name="igBefWd">
<Val>0</Val>
</DAI>
<DAI name="igAftWd">
<Val>0</Val>
</DAI>

SWDevice-010805 257
O pen Smart Grid Platform Documentation

<DAI name="Descr">
<Val>ON/OFF schedule</Val>
</DAI>
</SDI>
<SDI name="sche4">
<DAI name="enable">
<Val>0</Val>
</DAI>
<DAI name="day">
<Val>0</Val>
</DAI>
<DAI name="tOn">
<Val>0</Val>
</DAI>
<DAI name="tOnT">
<Val>0</Val>
</DAI>
<DAI name="tOff">
<Val>0</Val>
</DAI>
<DAI name="tOffT">
<Val>0</Val>
</DAI>
<DAI name="minOnPer">
<Val>30</Val>
</DAI>
<DAI name="minOffPer">
<Val>30</Val>
</DAI>
<DAI name="srBefWd">
<Val>30</Val>
</DAI>
<DAI name="srAftWd">
<Val>30</Val>
</DAI>
<DAI name="igBefWd">
<Val>0</Val>
</DAI>
<DAI name="igAftWd">
<Val>0</Val>
</DAI>
<DAI name="Descr">
<Val>ON/OFF schedule</Val>
</DAI>
</SDI>
<SDI name="sche5">
<DAI name="enable">
<Val>0</Val>
</DAI>
<DAI name="day">
<Val>0</Val>
</DAI>
<DAI name="tOn">
<Val>0</Val>
</DAI>
<DAI name="tOnT">
<Val>0</Val>
</DAI>
<DAI name="tOff">
<Val>0</Val>
</DAI>
<DAI name="tOffT">
<Val>0</Val>
</DAI>
<DAI name="minOnPer">
<Val>30</Val>
</DAI>
<DAI name="minOffPer">
<Val>30</Val>
</DAI>
<DAI name="srBefWd">
<Val>30</Val>

SWDevice-010805 258
O pen Smart Grid Platform Documentation

</DAI>
<DAI name="srAftWd">
<Val>30</Val>
</DAI>
<DAI name="igBefWd">
<Val>0</Val>
</DAI>
<DAI name="igAftWd">
<Val>0</Val>
</DAI>
<DAI name="Descr">
<Val>ON/OFF schedule</Val>
</DAI>
</SDI>
<SDI name="sche6">
<DAI name="enable">
<Val>0</Val>
</DAI>
<DAI name="day">
<Val>0</Val>
</DAI>
<DAI name="tOn">
<Val>0</Val>
</DAI>
<DAI name="tOnT">
<Val>0</Val>
</DAI>
<DAI name="tOff">
<Val>0</Val>
</DAI>
<DAI name="tOffT">
<Val>0</Val>
</DAI>
<DAI name="minOnPer">
<Val>30</Val>
</DAI>
<DAI name="minOffPer">
<Val>30</Val>
</DAI>
<DAI name="srBefWd">
<Val>30</Val>
</DAI>
<DAI name="srAftWd">
<Val>30</Val>
</DAI>
<DAI name="igBefWd">
<Val>0</Val>
</DAI>
<DAI name="igAftWd">
<Val>0</Val>
</DAI>
<DAI name="Descr">
<Val>ON/OFF schedule</Val>
</DAI>
</SDI>
<SDI name="sche7">
<DAI name="enable">
<Val>0</Val>
</DAI>
<DAI name="day">
<Val>0</Val>
</DAI>
<DAI name="tOn">
<Val>0</Val>
</DAI>
<DAI name="tOnT">
<Val>0</Val>
</DAI>
<DAI name="tOff">
<Val>0</Val>
</DAI>
<DAI name="tOffT">

SWDevice-010805 259
O pen Smart Grid Platform Documentation

<Val>0</Val>
</DAI>
<DAI name="minOnPer">
<Val>30</Val>
</DAI>
<DAI name="minOffPer">
<Val>30</Val>
</DAI>
<DAI name="srBefWd">
<Val>30</Val>
</DAI>
<DAI name="srAftWd">
<Val>30</Val>
</DAI>
<DAI name="igBefWd">
<Val>0</Val>
</DAI>
<DAI name="igAftWd">
<Val>0</Val>
</DAI>
<DAI name="Descr">
<Val>ON/OFF schedule</Val>
</DAI>
</SDI>
<SDI name="sche8">
<DAI name="enable">
<Val>0</Val>
</DAI>
<DAI name="day">
<Val>0</Val>
</DAI>
<DAI name="tOn">
<Val>0</Val>
</DAI>
<DAI name="tOnT">
<Val>0</Val>
</DAI>
<DAI name="tOff">
<Val>0</Val>
</DAI>
<DAI name="tOffT">
<Val>0</Val>
</DAI>
<DAI name="minOnPer">
<Val>30</Val>
</DAI>
<DAI name="minOffPer">
<Val>30</Val>
</DAI>
<DAI name="srBefWd">
<Val>30</Val>
</DAI>
<DAI name="srAftWd">
<Val>30</Val>
</DAI>
<DAI name="igBefWd">
<Val>0</Val>
</DAI>
<DAI name="igAftWd">
<Val>0</Val>
</DAI>
<DAI name="Descr">
<Val>ON/OFF schedule</Val>
</DAI>
</SDI>
<SDI name="sche9">
<DAI name="enable">
<Val>0</Val>
</DAI>
<DAI name="day">
<Val>0</Val>
</DAI>

SWDevice-010805 260
O pen Smart Grid Platform Documentation

<DAI name="tOn">
<Val>0</Val>
</DAI>
<DAI name="tOnT">
<Val>0</Val>
</DAI>
<DAI name="tOff">
<Val>0</Val>
</DAI>
<DAI name="tOffT">
<Val>0</Val>
</DAI>
<DAI name="minOnPer">
<Val>30</Val>
</DAI>
<DAI name="minOffPer">
<Val>30</Val>
</DAI>
<DAI name="srBefWd">
<Val>30</Val>
</DAI>
<DAI name="srAftWd">
<Val>30</Val>
</DAI>
<DAI name="igBefWd">
<Val>0</Val>
</DAI>
<DAI name="igAftWd">
<Val>0</Val>
</DAI>
<DAI name="Descr">
<Val>ON/OFF schedule</Val>
</DAI>
</SDI>
<SDI name="sche10">
<DAI name="enable">
<Val>0</Val>
</DAI>
<DAI name="day">
<Val>0</Val>
</DAI>
<DAI name="tOn">
<Val>0</Val>
</DAI>
<DAI name="tOnT">
<Val>0</Val>
</DAI>
<DAI name="tOff">
<Val>0</Val>
</DAI>
<DAI name="tOffT">
<Val>0</Val>
</DAI>
<DAI name="minOnPer">
<Val>30</Val>
</DAI>
<DAI name="minOffPer">
<Val>30</Val>
</DAI>
<DAI name="srBefWd">
<Val>30</Val>
</DAI>
<DAI name="srAftWd">
<Val>30</Val>
</DAI>
<DAI name="igBefWd">
<Val>0</Val>
</DAI>
<DAI name="igAftWd">
<Val>0</Val>
</DAI>
<DAI name="Descr">

SWDevice-010805 261
O pen Smart Grid Platform Documentation

<Val>ON/OFF schedule</Val>
</DAI>
</SDI>
<SDI name="sche11">
<DAI name="enable">
<Val>0</Val>
</DAI>
<DAI name="day">
<Val>0</Val>
</DAI>
<DAI name="tOn">
<Val>0</Val>
</DAI>
<DAI name="tOnT">
<Val>0</Val>
</DAI>
<DAI name="tOff">
<Val>0</Val>
</DAI>
<DAI name="tOffT">
<Val>0</Val>
</DAI>
<DAI name="minOnPer">
<Val>30</Val>
</DAI>
<DAI name="minOffPer">
<Val>30</Val>
</DAI>
<DAI name="srBefWd">
<Val>30</Val>
</DAI>
<DAI name="srAftWd">
<Val>30</Val>
</DAI>
<DAI name="igBefWd">
<Val>0</Val>
</DAI>
<DAI name="igAftWd">
<Val>0</Val>
</DAI>
<DAI name="Descr">
<Val>ON/OFF schedule</Val>
</DAI>
</SDI>
<SDI name="sche12">
<DAI name="enable">
<Val>0</Val>
</DAI>
<DAI name="day">
<Val>0</Val>
</DAI>
<DAI name="tOn">
<Val>0</Val>
</DAI>
<DAI name="tOnT">
<Val>0</Val>
</DAI>
<DAI name="tOff">
<Val>0</Val>
</DAI>
<DAI name="tOffT">
<Val>0</Val>
</DAI>
<DAI name="minOnPer">
<Val>30</Val>
</DAI>
<DAI name="minOffPer">
<Val>30</Val>
</DAI>
<DAI name="srBefWd">
<Val>30</Val>
</DAI>

SWDevice-010805 262
O pen Smart Grid Platform Documentation

<DAI name="srAftWd">
<Val>30</Val>
</DAI>
<DAI name="igBefWd">
<Val>0</Val>
</DAI>
<DAI name="igAftWd">
<Val>0</Val>
</DAI>
<DAI name="Descr">
<Val>ON/OFF schedule</Val>
</DAI>
</SDI>
<SDI name="sche13">
<DAI name="enable">
<Val>0</Val>
</DAI>
<DAI name="day">
<Val>0</Val>
</DAI>
<DAI name="tOn">
<Val>0</Val>
</DAI>
<DAI name="tOnT">
<Val>0</Val>
</DAI>
<DAI name="tOff">
<Val>0</Val>
</DAI>
<DAI name="tOffT">
<Val>0</Val>
</DAI>
<DAI name="minOnPer">
<Val>30</Val>
</DAI>
<DAI name="minOffPer">
<Val>30</Val>
</DAI>
<DAI name="srBefWd">
<Val>30</Val>
</DAI>
<DAI name="srAftWd">
<Val>30</Val>
</DAI>
<DAI name="igBefWd">
<Val>0</Val>
</DAI>
<DAI name="igAftWd">
<Val>0</Val>
</DAI>
<DAI name="Descr">
<Val>ON/OFF schedule</Val>
</DAI>
</SDI>
<SDI name="sche14">
<DAI name="enable">
<Val>0</Val>
</DAI>
<DAI name="day">
<Val>0</Val>
</DAI>
<DAI name="tOn">
<Val>0</Val>
</DAI>
<DAI name="tOnT">
<Val>0</Val>
</DAI>
<DAI name="tOff">
<Val>0</Val>
</DAI>
<DAI name="tOffT">
<Val>0</Val>

SWDevice-010805 263
O pen Smart Grid Platform Documentation

</DAI>
<DAI name="minOnPer">
<Val>30</Val>
</DAI>
<DAI name="minOffPer">
<Val>30</Val>
</DAI>
<DAI name="srBefWd">
<Val>30</Val>
</DAI>
<DAI name="srAftWd">
<Val>30</Val>
</DAI>
<DAI name="igBefWd">
<Val>0</Val>
</DAI>
<DAI name="igAftWd">
<Val>0</Val>
</DAI>
<DAI name="Descr">
<Val>ON/OFF schedule</Val>
</DAI>
</SDI>
<SDI name="sche15">
<DAI name="enable">
<Val>0</Val>
</DAI>
<DAI name="day">
<Val>0</Val>
</DAI>
<DAI name="tOn">
<Val>0</Val>
</DAI>
<DAI name="tOnT">
<Val>0</Val>
</DAI>
<DAI name="tOff">
<Val>0</Val>
</DAI>
<DAI name="tOffT">
<Val>0</Val>
</DAI>
<DAI name="minOnPer">
<Val>30</Val>
</DAI>
<DAI name="minOffPer">
<Val>30</Val>
</DAI>
<DAI name="srBefWd">
<Val>30</Val>
</DAI>
<DAI name="srAftWd">
<Val>30</Val>
</DAI>
<DAI name="igBefWd">
<Val>0</Val>
</DAI>
<DAI name="igAftWd">
<Val>0</Val>
</DAI>
<DAI name="Descr">
<Val>ON/OFF schedule</Val>
</DAI>
</SDI>
<SDI name="sche16">
<DAI name="enable">
<Val>0</Val>
</DAI>
<DAI name="day">
<Val>0</Val>
</DAI>
<DAI name="tOn">

SWDevice-010805 264
O pen Smart Grid Platform Documentation

<Val>0</Val>
</DAI>
<DAI name="tOnT">
<Val>0</Val>
</DAI>
<DAI name="tOff">
<Val>0</Val>
</DAI>
<DAI name="tOffT">
<Val>0</Val>
</DAI>
<DAI name="minOnPer">
<Val>30</Val>
</DAI>
<DAI name="minOffPer">
<Val>30</Val>
</DAI>
<DAI name="srBefWd">
<Val>30</Val>
</DAI>
<DAI name="srAftWd">
<Val>30</Val>
</DAI>
<DAI name="igBefWd">
<Val>0</Val>
</DAI>
<DAI name="igAftWd">
<Val>0</Val>
</DAI>
<DAI name="Descr">
<Val>ON/OFF schedule</Val>
</DAI>
</SDI>
<SDI name="sche17">
<DAI name="enable">
<Val>0</Val>
</DAI>
<DAI name="day">
<Val>0</Val>
</DAI>
<DAI name="tOn">
<Val>0</Val>
</DAI>
<DAI name="tOnT">
<Val>0</Val>
</DAI>
<DAI name="tOff">
<Val>0</Val>
</DAI>
<DAI name="tOffT">
<Val>0</Val>
</DAI>
<DAI name="minOnPer">
<Val>30</Val>
</DAI>
<DAI name="minOffPer">
<Val>30</Val>
</DAI>
<DAI name="srBefWd">
<Val>30</Val>
</DAI>
<DAI name="srAftWd">
<Val>30</Val>
</DAI>
<DAI name="igBefWd">
<Val>0</Val>
</DAI>
<DAI name="igAftWd">
<Val>0</Val>
</DAI>
<DAI name="Descr">
<Val>ON/OFF schedule</Val>

SWDevice-010805 265
O pen Smart Grid Platform Documentation

</DAI>
</SDI>
<SDI name="sche18">
<DAI name="enable">
<Val>0</Val>
</DAI>
<DAI name="day">
<Val>0</Val>
</DAI>
<DAI name="tOn">
<Val>0</Val>
</DAI>
<DAI name="tOnT">
<Val>0</Val>
</DAI>
<DAI name="tOff">
<Val>0</Val>
</DAI>
<DAI name="tOffT">
<Val>0</Val>
</DAI>
<DAI name="minOnPer">
<Val>30</Val>
</DAI>
<DAI name="minOffPer">
<Val>30</Val>
</DAI>
<DAI name="srBefWd">
<Val>30</Val>
</DAI>
<DAI name="srAftWd">
<Val>30</Val>
</DAI>
<DAI name="igBefWd">
<Val>0</Val>
</DAI>
<DAI name="igAftWd">
<Val>0</Val>
</DAI>
<DAI name="Descr">
<Val>ON/OFF schedule</Val>
</DAI>
</SDI>
<SDI name="sche19">
<DAI name="enable">
<Val>0</Val>
</DAI>
<DAI name="day">
<Val>0</Val>
</DAI>
<DAI name="tOn">
<Val>0</Val>
</DAI>
<DAI name="tOnT">
<Val>0</Val>
</DAI>
<DAI name="tOff">
<Val>0</Val>
</DAI>
<DAI name="tOffT">
<Val>0</Val>
</DAI>
<DAI name="minOnPer">
<Val>30</Val>
</DAI>
<DAI name="minOffPer">
<Val>30</Val>
</DAI>
<DAI name="srBefWd">
<Val>30</Val>
</DAI>
<DAI name="srAftWd">

SWDevice-010805 266
O pen Smart Grid Platform Documentation

<Val>30</Val>
</DAI>
<DAI name="igBefWd">
<Val>0</Val>
</DAI>
<DAI name="igAftWd">
<Val>0</Val>
</DAI>
<DAI name="Descr">
<Val>ON/OFF schedule</Val>
</DAI>
</SDI>
<SDI name="sche20">
<DAI name="enable">
<Val>0</Val>
</DAI>
<DAI name="day">
<Val>0</Val>
</DAI>
<DAI name="tOn">
<Val>0</Val>
</DAI>
<DAI name="tOnT">
<Val>0</Val>
</DAI>
<DAI name="tOff">
<Val>0</Val>
</DAI>
<DAI name="tOffT">
<Val>0</Val>
</DAI>
<DAI name="minOnPer">
<Val>30</Val>
</DAI>
<DAI name="minOffPer">
<Val>30</Val>
</DAI>
<DAI name="srBefWd">
<Val>30</Val>
</DAI>
<DAI name="srAftWd">
<Val>30</Val>
</DAI>
<DAI name="igBefWd">
<Val>0</Val>
</DAI>
<DAI name="igAftWd">
<Val>0</Val>
</DAI>
<DAI name="Descr">
<Val>ON/OFF schedule</Val>
</DAI>
</SDI>
<SDI name="sche21">
<DAI name="enable">
<Val>0</Val>
</DAI>
<DAI name="day">
<Val>0</Val>
</DAI>
<DAI name="tOn">
<Val>0</Val>
</DAI>
<DAI name="tOnT">
<Val>0</Val>
</DAI>
<DAI name="tOff">
<Val>0</Val>
</DAI>
<DAI name="tOffT">
<Val>0</Val>
</DAI>

SWDevice-010805 267
O pen Smart Grid Platform Documentation

<DAI name="minOnPer">
<Val>30</Val>
</DAI>
<DAI name="minOffPer">
<Val>30</Val>
</DAI>
<DAI name="srBefWd">
<Val>30</Val>
</DAI>
<DAI name="srAftWd">
<Val>30</Val>
</DAI>
<DAI name="igBefWd">
<Val>0</Val>
</DAI>
<DAI name="igAftWd">
<Val>0</Val>
</DAI>
<DAI name="Descr">
<Val>ON/OFF schedule</Val>
</DAI>
</SDI>
<SDI name="sche22">
<DAI name="enable">
<Val>0</Val>
</DAI>
<DAI name="day">
<Val>0</Val>
</DAI>
<DAI name="tOn">
<Val>0</Val>
</DAI>
<DAI name="tOnT">
<Val>0</Val>
</DAI>
<DAI name="tOff">
<Val>0</Val>
</DAI>
<DAI name="tOffT">
<Val>0</Val>
</DAI>
<DAI name="minOnPer">
<Val>30</Val>
</DAI>
<DAI name="minOffPer">
<Val>30</Val>
</DAI>
<DAI name="srBefWd">
<Val>30</Val>
</DAI>
<DAI name="srAftWd">
<Val>30</Val>
</DAI>
<DAI name="igBefWd">
<Val>0</Val>
</DAI>
<DAI name="igAftWd">
<Val>0</Val>
</DAI>
<DAI name="Descr">
<Val>ON/OFF schedule</Val>
</DAI>
</SDI>
<SDI name="sche23">
<DAI name="enable">
<Val>0</Val>
</DAI>
<DAI name="day">
<Val>0</Val>
</DAI>
<DAI name="tOn">
<Val>0</Val>

SWDevice-010805 268
O pen Smart Grid Platform Documentation

</DAI>
<DAI name="tOnT">
<Val>0</Val>
</DAI>
<DAI name="tOff">
<Val>0</Val>
</DAI>
<DAI name="tOffT">
<Val>0</Val>
</DAI>
<DAI name="minOnPer">
<Val>30</Val>
</DAI>
<DAI name="minOffPer">
<Val>30</Val>
</DAI>
<DAI name="srBefWd">
<Val>30</Val>
</DAI>
<DAI name="srAftWd">
<Val>30</Val>
</DAI>
<DAI name="igBefWd">
<Val>0</Val>
</DAI>
<DAI name="igAftWd">
<Val>0</Val>
</DAI>
<DAI name="Descr">
<Val>ON/OFF schedule</Val>
</DAI>
</SDI>
<SDI name="sche24">
<DAI name="enable">
<Val>0</Val>
</DAI>
<DAI name="day">
<Val>0</Val>
</DAI>
<DAI name="tOn">
<Val>0</Val>
</DAI>
<DAI name="tOnT">
<Val>0</Val>
</DAI>
<DAI name="tOff">
<Val>0</Val>
</DAI>
<DAI name="tOffT">
<Val>0</Val>
</DAI>
<DAI name="minOnPer">
<Val>30</Val>
</DAI>
<DAI name="minOffPer">
<Val>30</Val>
</DAI>
<DAI name="srBefWd">
<Val>30</Val>
</DAI>
<DAI name="srAftWd">
<Val>30</Val>
</DAI>
<DAI name="igBefWd">
<Val>0</Val>
</DAI>
<DAI name="igAftWd">
<Val>0</Val>
</DAI>
<DAI name="Descr">
<Val>ON/OFF schedule</Val>
</DAI>

SWDevice-010805 269
O pen Smart Grid Platform Documentation

</SDI>
<SDI name="sche25">
<DAI name="enable">
<Val>0</Val>
</DAI>
<DAI name="day">
<Val>0</Val>
</DAI>
<DAI name="tOn">
<Val>0</Val>
</DAI>
<DAI name="tOnT">
<Val>0</Val>
</DAI>
<DAI name="tOff">
<Val>0</Val>
</DAI>
<DAI name="tOffT">
<Val>0</Val>
</DAI>
<DAI name="minOnPer">
<Val>30</Val>
</DAI>
<DAI name="minOffPer">
<Val>30</Val>
</DAI>
<DAI name="srBefWd">
<Val>30</Val>
</DAI>
<DAI name="srAftWd">
<Val>30</Val>
</DAI>
<DAI name="igBefWd">
<Val>0</Val>
</DAI>
<DAI name="igAftWd">
<Val>0</Val>
</DAI>
<DAI name="Descr">
<Val>ON/OFF schedule</Val>
</DAI>
</SDI>
<SDI name="sche26">
<DAI name="enable">
<Val>0</Val>
</DAI>
<DAI name="day">
<Val>0</Val>
</DAI>
<DAI name="tOn">
<Val>0</Val>
</DAI>
<DAI name="tOnT">
<Val>0</Val>
</DAI>
<DAI name="tOff">
<Val>0</Val>
</DAI>
<DAI name="tOffT">
<Val>0</Val>
</DAI>
<DAI name="minOnPer">
<Val>30</Val>
</DAI>
<DAI name="minOffPer">
<Val>30</Val>
</DAI>
<DAI name="srBefWd">
<Val>30</Val>
</DAI>
<DAI name="srAftWd">
<Val>30</Val>

SWDevice-010805 270
O pen Smart Grid Platform Documentation

</DAI>
<DAI name="igBefWd">
<Val>0</Val>
</DAI>
<DAI name="igAftWd">
<Val>0</Val>
</DAI>
<DAI name="Descr">
<Val>ON/OFF schedule</Val>
</DAI>
</SDI>
<SDI name="sche27">
<DAI name="enable">
<Val>0</Val>
</DAI>
<DAI name="day">
<Val>0</Val>
</DAI>
<DAI name="tOn">
<Val>0</Val>
</DAI>
<DAI name="tOnT">
<Val>0</Val>
</DAI>
<DAI name="tOff">
<Val>0</Val>
</DAI>
<DAI name="tOffT">
<Val>0</Val>
</DAI>
<DAI name="minOnPer">
<Val>30</Val>
</DAI>
<DAI name="minOffPer">
<Val>30</Val>
</DAI>
<DAI name="srBefWd">
<Val>30</Val>
</DAI>
<DAI name="srAftWd">
<Val>30</Val>
</DAI>
<DAI name="igBefWd">
<Val>0</Val>
</DAI>
<DAI name="igAftWd">
<Val>0</Val>
</DAI>
<DAI name="Descr">
<Val>ON/OFF schedule</Val>
</DAI>
</SDI>
<SDI name="sche28">
<DAI name="enable">
<Val>0</Val>
</DAI>
<DAI name="day">
<Val>0</Val>
</DAI>
<DAI name="tOn">
<Val>0</Val>
</DAI>
<DAI name="tOnT">
<Val>0</Val>
</DAI>
<DAI name="tOff">
<Val>0</Val>
</DAI>
<DAI name="tOffT">
<Val>0</Val>
</DAI>
<DAI name="minOnPer">

SWDevice-010805 271
O pen Smart Grid Platform Documentation

<Val>30</Val>
</DAI>
<DAI name="minOffPer">
<Val>30</Val>
</DAI>
<DAI name="srBefWd">
<Val>30</Val>
</DAI>
<DAI name="srAftWd">
<Val>30</Val>
</DAI>
<DAI name="igBefWd">
<Val>0</Val>
</DAI>
<DAI name="igAftWd">
<Val>0</Val>
</DAI>
<DAI name="Descr">
<Val>ON/OFF schedule</Val>
</DAI>
</SDI>
<SDI name="sche29">
<DAI name="enable">
<Val>0</Val>
</DAI>
<DAI name="day">
<Val>0</Val>
</DAI>
<DAI name="tOn">
<Val>0</Val>
</DAI>
<DAI name="tOnT">
<Val>0</Val>
</DAI>
<DAI name="tOff">
<Val>0</Val>
</DAI>
<DAI name="tOffT">
<Val>0</Val>
</DAI>
<DAI name="minOnPer">
<Val>30</Val>
</DAI>
<DAI name="minOffPer">
<Val>30</Val>
</DAI>
<DAI name="srBefWd">
<Val>30</Val>
</DAI>
<DAI name="srAftWd">
<Val>30</Val>
</DAI>
<DAI name="igBefWd">
<Val>0</Val>
</DAI>
<DAI name="igAftWd">
<Val>0</Val>
</DAI>
<DAI name="Descr">
<Val>ON/OFF schedule</Val>
</DAI>
</SDI>
<SDI name="sche30">
<DAI name="enable">
<Val>0</Val>
</DAI>
<DAI name="day">
<Val>0</Val>
</DAI>
<DAI name="tOn">
<Val>0</Val>
</DAI>

SWDevice-010805 272
O pen Smart Grid Platform Documentation

<DAI name="tOnT">
<Val>0</Val>
</DAI>
<DAI name="tOff">
<Val>0</Val>
</DAI>
<DAI name="tOffT">
<Val>0</Val>
</DAI>
<DAI name="minOnPer">
<Val>30</Val>
</DAI>
<DAI name="minOffPer">
<Val>30</Val>
</DAI>
<DAI name="srBefWd">
<Val>30</Val>
</DAI>
<DAI name="srAftWd">
<Val>30</Val>
</DAI>
<DAI name="igBefWd">
<Val>0</Val>
</DAI>
<DAI name="igAftWd">
<Val>0</Val>
</DAI>
<DAI name="Descr">
<Val>ON/OFF schedule</Val>
</DAI>
</SDI>
<SDI name="sche31">
<DAI name="enable">
<Val>0</Val>
</DAI>
<DAI name="day">
<Val>0</Val>
</DAI>
<DAI name="tOn">
<Val>0</Val>
</DAI>
<DAI name="tOnT">
<Val>0</Val>
</DAI>
<DAI name="tOff">
<Val>0</Val>
</DAI>
<DAI name="tOffT">
<Val>0</Val>
</DAI>
<DAI name="minOnPer">
<Val>30</Val>
</DAI>
<DAI name="minOffPer">
<Val>30</Val>
</DAI>
<DAI name="srBefWd">
<Val>30</Val>
</DAI>
<DAI name="srAftWd">
<Val>30</Val>
</DAI>
<DAI name="igBefWd">
<Val>0</Val>
</DAI>
<DAI name="igAftWd">
<Val>0</Val>
</DAI>
<DAI name="Descr">
<Val>ON/OFF schedule</Val>
</DAI>
</SDI>

SWDevice-010805 273
O pen Smart Grid Platform Documentation

<SDI name="sche32">
<DAI name="enable">
<Val>0</Val>
</DAI>
<DAI name="day">
<Val>0</Val>
</DAI>
<DAI name="tOn">
<Val>0</Val>
</DAI>
<DAI name="tOnT">
<Val>0</Val>
</DAI>
<DAI name="tOff">
<Val>0</Val>
</DAI>
<DAI name="tOffT">
<Val>0</Val>
</DAI>
<DAI name="minOnPer">
<Val>30</Val>
</DAI>
<DAI name="minOffPer">
<Val>30</Val>
</DAI>
<DAI name="srBefWd">
<Val>30</Val>
</DAI>
<DAI name="srAftWd">
<Val>30</Val>
</DAI>
<DAI name="igBefWd">
<Val>0</Val>
</DAI>
<DAI name="igAftWd">
<Val>0</Val>
</DAI>
<DAI name="Descr">
<Val>ON/OFF schedule</Val>
</DAI>
</SDI>
<SDI name="sche33">
<DAI name="enable">
<Val>0</Val>
</DAI>
<DAI name="day">
<Val>0</Val>
</DAI>
<DAI name="tOn">
<Val>0</Val>
</DAI>
<DAI name="tOnT">
<Val>0</Val>
</DAI>
<DAI name="tOff">
<Val>0</Val>
</DAI>
<DAI name="tOffT">
<Val>0</Val>
</DAI>
<DAI name="minOnPer">
<Val>30</Val>
</DAI>
<DAI name="minOffPer">
<Val>30</Val>
</DAI>
<DAI name="srBefWd">
<Val>30</Val>
</DAI>
<DAI name="srAftWd">
<Val>30</Val>
</DAI>

SWDevice-010805 274
O pen Smart Grid Platform Documentation

<DAI name="igBefWd">
<Val>0</Val>
</DAI>
<DAI name="igAftWd">
<Val>0</Val>
</DAI>
<DAI name="Descr">
<Val>ON/OFF schedule</Val>
</DAI>
</SDI>
<SDI name="sche34">
<DAI name="enable">
<Val>0</Val>
</DAI>
<DAI name="day">
<Val>0</Val>
</DAI>
<DAI name="tOn">
<Val>0</Val>
</DAI>
<DAI name="tOnT">
<Val>0</Val>
</DAI>
<DAI name="tOff">
<Val>0</Val>
</DAI>
<DAI name="tOffT">
<Val>0</Val>
</DAI>
<DAI name="minOnPer">
<Val>30</Val>
</DAI>
<DAI name="minOffPer">
<Val>30</Val>
</DAI>
<DAI name="srBefWd">
<Val>30</Val>
</DAI>
<DAI name="srAftWd">
<Val>30</Val>
</DAI>
<DAI name="igBefWd">
<Val>0</Val>
</DAI>
<DAI name="igAftWd">
<Val>0</Val>
</DAI>
<DAI name="Descr">
<Val>ON/OFF schedule</Val>
</DAI>
</SDI>
<SDI name="sche35">
<DAI name="enable">
<Val>0</Val>
</DAI>
<DAI name="day">
<Val>0</Val>
</DAI>
<DAI name="tOn">
<Val>0</Val>
</DAI>
<DAI name="tOnT">
<Val>0</Val>
</DAI>
<DAI name="tOff">
<Val>0</Val>
</DAI>
<DAI name="tOffT">
<Val>0</Val>
</DAI>
<DAI name="minOnPer">
<Val>30</Val>

SWDevice-010805 275
O pen Smart Grid Platform Documentation

</DAI>
<DAI name="minOffPer">
<Val>30</Val>
</DAI>
<DAI name="srBefWd">
<Val>30</Val>
</DAI>
<DAI name="srAftWd">
<Val>30</Val>
</DAI>
<DAI name="igBefWd">
<Val>0</Val>
</DAI>
<DAI name="igAftWd">
<Val>0</Val>
</DAI>
<DAI name="Descr">
<Val>ON/OFF schedule</Val>
</DAI>
</SDI>
<SDI name="sche36">
<DAI name="enable">
<Val>0</Val>
</DAI>
<DAI name="day">
<Val>0</Val>
</DAI>
<DAI name="tOn">
<Val>0</Val>
</DAI>
<DAI name="tOnT">
<Val>0</Val>
</DAI>
<DAI name="tOff">
<Val>0</Val>
</DAI>
<DAI name="tOffT">
<Val>0</Val>
</DAI>
<DAI name="minOnPer">
<Val>30</Val>
</DAI>
<DAI name="minOffPer">
<Val>30</Val>
</DAI>
<DAI name="srBefWd">
<Val>30</Val>
</DAI>
<DAI name="srAftWd">
<Val>30</Val>
</DAI>
<DAI name="igBefWd">
<Val>0</Val>
</DAI>
<DAI name="igAftWd">
<Val>0</Val>
</DAI>
<DAI name="Descr">
<Val>ON/OFF schedule</Val>
</DAI>
</SDI>
<SDI name="sche37">
<DAI name="enable">
<Val>0</Val>
</DAI>
<DAI name="day">
<Val>0</Val>
</DAI>
<DAI name="tOn">
<Val>0</Val>
</DAI>
<DAI name="tOnT">

SWDevice-010805 276
O pen Smart Grid Platform Documentation

<Val>0</Val>
</DAI>
<DAI name="tOff">
<Val>0</Val>
</DAI>
<DAI name="tOffT">
<Val>0</Val>
</DAI>
<DAI name="minOnPer">
<Val>30</Val>
</DAI>
<DAI name="minOffPer">
<Val>30</Val>
</DAI>
<DAI name="srBefWd">
<Val>30</Val>
</DAI>
<DAI name="srAftWd">
<Val>30</Val>
</DAI>
<DAI name="igBefWd">
<Val>0</Val>
</DAI>
<DAI name="igAftWd">
<Val>0</Val>
</DAI>
<DAI name="Descr">
<Val>ON/OFF schedule</Val>
</DAI>
</SDI>
<SDI name="sche38">
<DAI name="enable">
<Val>0</Val>
</DAI>
<DAI name="day">
<Val>0</Val>
</DAI>
<DAI name="tOn">
<Val>0</Val>
</DAI>
<DAI name="tOnT">
<Val>0</Val>
</DAI>
<DAI name="tOff">
<Val>0</Val>
</DAI>
<DAI name="tOffT">
<Val>0</Val>
</DAI>
<DAI name="minOnPer">
<Val>30</Val>
</DAI>
<DAI name="minOffPer">
<Val>30</Val>
</DAI>
<DAI name="srBefWd">
<Val>30</Val>
</DAI>
<DAI name="srAftWd">
<Val>30</Val>
</DAI>
<DAI name="igBefWd">
<Val>0</Val>
</DAI>
<DAI name="igAftWd">
<Val>0</Val>
</DAI>
<DAI name="Descr">
<Val>ON/OFF schedule</Val>
</DAI>
</SDI>
<SDI name="sche39">

SWDevice-010805 277
O pen Smart Grid Platform Documentation

<DAI name="enable">
<Val>0</Val>
</DAI>
<DAI name="day">
<Val>0</Val>
</DAI>
<DAI name="tOn">
<Val>0</Val>
</DAI>
<DAI name="tOnT">
<Val>0</Val>
</DAI>
<DAI name="tOff">
<Val>0</Val>
</DAI>
<DAI name="tOffT">
<Val>0</Val>
</DAI>
<DAI name="minOnPer">
<Val>30</Val>
</DAI>
<DAI name="minOffPer">
<Val>30</Val>
</DAI>
<DAI name="srBefWd">
<Val>30</Val>
</DAI>
<DAI name="srAftWd">
<Val>30</Val>
</DAI>
<DAI name="igBefWd">
<Val>0</Val>
</DAI>
<DAI name="igAftWd">
<Val>0</Val>
</DAI>
<DAI name="Descr">
<Val>ON/OFF schedule</Val>
</DAI>
</SDI>
<SDI name="sche40">
<DAI name="enable">
<Val>0</Val>
</DAI>
<DAI name="day">
<Val>0</Val>
</DAI>
<DAI name="tOn">
<Val>0</Val>
</DAI>
<DAI name="tOnT">
<Val>0</Val>
</DAI>
<DAI name="tOff">
<Val>0</Val>
</DAI>
<DAI name="tOffT">
<Val>0</Val>
</DAI>
<DAI name="minOnPer">
<Val>30</Val>
</DAI>
<DAI name="minOffPer">
<Val>30</Val>
</DAI>
<DAI name="srBefWd">
<Val>30</Val>
</DAI>
<DAI name="srAftWd">
<Val>30</Val>
</DAI>
<DAI name="igBefWd">

SWDevice-010805 278
O pen Smart Grid Platform Documentation

<Val>0</Val>
</DAI>
<DAI name="igAftWd">
<Val>0</Val>
</DAI>
<DAI name="Descr">
<Val>ON/OFF schedule</Val>
</DAI>
</SDI>
<SDI name="sche41">
<DAI name="enable">
<Val>0</Val>
</DAI>
<DAI name="day">
<Val>0</Val>
</DAI>
<DAI name="tOn">
<Val>0</Val>
</DAI>
<DAI name="tOnT">
<Val>0</Val>
</DAI>
<DAI name="tOff">
<Val>0</Val>
</DAI>
<DAI name="tOffT">
<Val>0</Val>
</DAI>
<DAI name="minOnPer">
<Val>30</Val>
</DAI>
<DAI name="minOffPer">
<Val>30</Val>
</DAI>
<DAI name="srBefWd">
<Val>30</Val>
</DAI>
<DAI name="srAftWd">
<Val>30</Val>
</DAI>
<DAI name="igBefWd">
<Val>0</Val>
</DAI>
<DAI name="igAftWd">
<Val>0</Val>
</DAI>
<DAI name="Descr">
<Val>ON/OFF schedule</Val>
</DAI>
</SDI>
<SDI name="sche42">
<DAI name="enable">
<Val>0</Val>
</DAI>
<DAI name="day">
<Val>0</Val>
</DAI>
<DAI name="tOn">
<Val>0</Val>
</DAI>
<DAI name="tOnT">
<Val>0</Val>
</DAI>
<DAI name="tOff">
<Val>0</Val>
</DAI>
<DAI name="tOffT">
<Val>0</Val>
</DAI>
<DAI name="minOnPer">
<Val>30</Val>
</DAI>

SWDevice-010805 279
O pen Smart Grid Platform Documentation

<DAI name="minOffPer">
<Val>30</Val>
</DAI>
<DAI name="srBefWd">
<Val>30</Val>
</DAI>
<DAI name="srAftWd">
<Val>30</Val>
</DAI>
<DAI name="igBefWd">
<Val>0</Val>
</DAI>
<DAI name="igAftWd">
<Val>0</Val>
</DAI>
<DAI name="Descr">
<Val>ON/OFF schedule</Val>
</DAI>
</SDI>
<SDI name="sche43">
<DAI name="enable">
<Val>0</Val>
</DAI>
<DAI name="day">
<Val>0</Val>
</DAI>
<DAI name="tOn">
<Val>0</Val>
</DAI>
<DAI name="tOnT">
<Val>0</Val>
</DAI>
<DAI name="tOff">
<Val>0</Val>
</DAI>
<DAI name="tOffT">
<Val>0</Val>
</DAI>
<DAI name="minOnPer">
<Val>30</Val>
</DAI>
<DAI name="minOffPer">
<Val>30</Val>
</DAI>
<DAI name="srBefWd">
<Val>30</Val>
</DAI>
<DAI name="srAftWd">
<Val>30</Val>
</DAI>
<DAI name="igBefWd">
<Val>0</Val>
</DAI>
<DAI name="igAftWd">
<Val>0</Val>
</DAI>
<DAI name="Descr">
<Val>ON/OFF schedule</Val>
</DAI>
</SDI>
<SDI name="sche44">
<DAI name="enable">
<Val>0</Val>
</DAI>
<DAI name="day">
<Val>0</Val>
</DAI>
<DAI name="tOn">
<Val>0</Val>
</DAI>
<DAI name="tOnT">
<Val>0</Val>

SWDevice-010805 280
O pen Smart Grid Platform Documentation

</DAI>
<DAI name="tOff">
<Val>0</Val>
</DAI>
<DAI name="tOffT">
<Val>0</Val>
</DAI>
<DAI name="minOnPer">
<Val>30</Val>
</DAI>
<DAI name="minOffPer">
<Val>30</Val>
</DAI>
<DAI name="srBefWd">
<Val>30</Val>
</DAI>
<DAI name="srAftWd">
<Val>30</Val>
</DAI>
<DAI name="igBefWd">
<Val>0</Val>
</DAI>
<DAI name="igAftWd">
<Val>0</Val>
</DAI>
<DAI name="Descr">
<Val>ON/OFF schedule</Val>
</DAI>
</SDI>
<SDI name="sche45">
<DAI name="enable">
<Val>0</Val>
</DAI>
<DAI name="day">
<Val>0</Val>
</DAI>
<DAI name="tOn">
<Val>0</Val>
</DAI>
<DAI name="tOnT">
<Val>0</Val>
</DAI>
<DAI name="tOff">
<Val>0</Val>
</DAI>
<DAI name="tOffT">
<Val>0</Val>
</DAI>
<DAI name="minOnPer">
<Val>30</Val>
</DAI>
<DAI name="minOffPer">
<Val>30</Val>
</DAI>
<DAI name="srBefWd">
<Val>30</Val>
</DAI>
<DAI name="srAftWd">
<Val>30</Val>
</DAI>
<DAI name="igBefWd">
<Val>0</Val>
</DAI>
<DAI name="igAftWd">
<Val>0</Val>
</DAI>
<DAI name="Descr">
<Val>ON/OFF schedule</Val>
</DAI>
</SDI>
<SDI name="sche46">
<DAI name="enable">

SWDevice-010805 281
O pen Smart Grid Platform Documentation

<Val>0</Val>
</DAI>
<DAI name="day">
<Val>0</Val>
</DAI>
<DAI name="tOn">
<Val>0</Val>
</DAI>
<DAI name="tOnT">
<Val>0</Val>
</DAI>
<DAI name="tOff">
<Val>0</Val>
</DAI>
<DAI name="tOffT">
<Val>0</Val>
</DAI>
<DAI name="minOnPer">
<Val>30</Val>
</DAI>
<DAI name="minOffPer">
<Val>30</Val>
</DAI>
<DAI name="srBefWd">
<Val>30</Val>
</DAI>
<DAI name="srAftWd">
<Val>30</Val>
</DAI>
<DAI name="igBefWd">
<Val>0</Val>
</DAI>
<DAI name="igAftWd">
<Val>0</Val>
</DAI>
<DAI name="Descr">
<Val>ON/OFF schedule</Val>
</DAI>
</SDI>
<SDI name="sche47">
<DAI name="enable">
<Val>0</Val>
</DAI>
<DAI name="day">
<Val>0</Val>
</DAI>
<DAI name="tOn">
<Val>0</Val>
</DAI>
<DAI name="tOnT">
<Val>0</Val>
</DAI>
<DAI name="tOff">
<Val>0</Val>
</DAI>
<DAI name="tOffT">
<Val>0</Val>
</DAI>
<DAI name="minOnPer">
<Val>30</Val>
</DAI>
<DAI name="minOffPer">
<Val>30</Val>
</DAI>
<DAI name="srBefWd">
<Val>30</Val>
</DAI>
<DAI name="srAftWd">
<Val>30</Val>
</DAI>
<DAI name="igBefWd">
<Val>0</Val>

SWDevice-010805 282
O pen Smart Grid Platform Documentation

</DAI>
<DAI name="igAftWd">
<Val>0</Val>
</DAI>
<DAI name="Descr">
<Val>ON/OFF schedule</Val>
</DAI>
</SDI>
<SDI name="sche48">
<DAI name="enable">
<Val>0</Val>
</DAI>
<DAI name="day">
<Val>0</Val>
</DAI>
<DAI name="tOn">
<Val>0</Val>
</DAI>
<DAI name="tOnT">
<Val>0</Val>
</DAI>
<DAI name="tOff">
<Val>0</Val>
</DAI>
<DAI name="tOffT">
<Val>0</Val>
</DAI>
<DAI name="minOnPer">
<Val>30</Val>
</DAI>
<DAI name="minOffPer">
<Val>30</Val>
</DAI>
<DAI name="srBefWd">
<Val>30</Val>
</DAI>
<DAI name="srAftWd">
<Val>30</Val>
</DAI>
<DAI name="igBefWd">
<Val>0</Val>
</DAI>
<DAI name="igAftWd">
<Val>0</Val>
</DAI>
<DAI name="Descr">
<Val>ON/OFF schedule</Val>
</DAI>
</SDI>
<SDI name="sche49">
<DAI name="enable">
<Val>0</Val>
</DAI>
<DAI name="day">
<Val>0</Val>
</DAI>
<DAI name="tOn">
<Val>0</Val>
</DAI>
<DAI name="tOnT">
<Val>0</Val>
</DAI>
<DAI name="tOff">
<Val>0</Val>
</DAI>
<DAI name="tOffT">
<Val>0</Val>
</DAI>
<DAI name="minOnPer">
<Val>30</Val>
</DAI>
<DAI name="minOffPer">

SWDevice-010805 283
O pen Smart Grid Platform Documentation

<Val>30</Val>
</DAI>
<DAI name="srBefWd">
<Val>30</Val>
</DAI>
<DAI name="srAftWd">
<Val>30</Val>
</DAI>
<DAI name="igBefWd">
<Val>0</Val>
</DAI>
<DAI name="igAftWd">
<Val>0</Val>
</DAI>
<DAI name="Descr">
<Val>ON/OFF schedule</Val>
</DAI>
</SDI>
<SDI name="sche50">
<DAI name="enable">
<Val>0</Val>
</DAI>
<DAI name="day">
<Val>0</Val>
</DAI>
<DAI name="tOn">
<Val>0</Val>
</DAI>
<DAI name="tOnT">
<Val>0</Val>
</DAI>
<DAI name="tOff">
<Val>0</Val>
</DAI>
<DAI name="tOffT">
<Val>0</Val>
</DAI>
<DAI name="minOnPer">
<Val>30</Val>
</DAI>
<DAI name="minOffPer">
<Val>30</Val>
</DAI>
<DAI name="srBefWd">
<Val>30</Val>
</DAI>
<DAI name="srAftWd">
<Val>30</Val>
</DAI>
<DAI name="igBefWd">
<Val>0</Val>
</DAI>
<DAI name="igAftWd">
<Val>0</Val>
</DAI>
<DAI name="Descr">
<Val>ON/OFF schedule</Val>
</DAI>
</SDI>
<SDI name="sche51">
<DAI name="enable">
<Val>0</Val>
</DAI>
<DAI name="day">
<Val>0</Val>
</DAI>
<DAI name="tOn">
<Val>0</Val>
</DAI>
<DAI name="tOnT">
<Val>0</Val>
</DAI>

SWDevice-010805 284
O pen Smart Grid Platform Documentation

<DAI name="tOff">
<Val>0</Val>
</DAI>
<DAI name="tOffT">
<Val>0</Val>
</DAI>
<DAI name="minOnPer">
<Val>30</Val>
</DAI>
<DAI name="minOffPer">
<Val>30</Val>
</DAI>
<DAI name="srBefWd">
<Val>30</Val>
</DAI>
<DAI name="srAftWd">
<Val>30</Val>
</DAI>
<DAI name="igBefWd">
<Val>0</Val>
</DAI>
<DAI name="igAftWd">
<Val>0</Val>
</DAI>
<DAI name="Descr">
<Val>ON/OFF schedule</Val>
</DAI>
</SDI>
<SDI name="sche52">
<DAI name="enable">
<Val>0</Val>
</DAI>
<DAI name="day">
<Val>0</Val>
</DAI>
<DAI name="tOn">
<Val>0</Val>
</DAI>
<DAI name="tOnT">
<Val>0</Val>
</DAI>
<DAI name="tOff">
<Val>0</Val>
</DAI>
<DAI name="tOffT">
<Val>0</Val>
</DAI>
<DAI name="minOnPer">
<Val>30</Val>
</DAI>
<DAI name="minOffPer">
<Val>30</Val>
</DAI>
<DAI name="srBefWd">
<Val>30</Val>
</DAI>
<DAI name="srAftWd">
<Val>30</Val>
</DAI>
<DAI name="igBefWd">
<Val>0</Val>
</DAI>
<DAI name="igAftWd">
<Val>0</Val>
</DAI>
<DAI name="Descr">
<Val>ON/OFF schedule</Val>
</DAI>
</SDI>
<SDI name="sche53">
<DAI name="enable">
<Val>0</Val>

SWDevice-010805 285
O pen Smart Grid Platform Documentation

</DAI>
<DAI name="day">
<Val>0</Val>
</DAI>
<DAI name="tOn">
<Val>0</Val>
</DAI>
<DAI name="tOnT">
<Val>0</Val>
</DAI>
<DAI name="tOff">
<Val>0</Val>
</DAI>
<DAI name="tOffT">
<Val>0</Val>
</DAI>
<DAI name="minOnPer">
<Val>30</Val>
</DAI>
<DAI name="minOffPer">
<Val>30</Val>
</DAI>
<DAI name="srBefWd">
<Val>30</Val>
</DAI>
<DAI name="srAftWd">
<Val>30</Val>
</DAI>
<DAI name="igBefWd">
<Val>0</Val>
</DAI>
<DAI name="igAftWd">
<Val>0</Val>
</DAI>
<DAI name="Descr">
<Val>ON/OFF schedule</Val>
</DAI>
</SDI>
<SDI name="sche54">
<DAI name="enable">
<Val>0</Val>
</DAI>
<DAI name="day">
<Val>0</Val>
</DAI>
<DAI name="tOn">
<Val>0</Val>
</DAI>
<DAI name="tOnT">
<Val>0</Val>
</DAI>
<DAI name="tOff">
<Val>0</Val>
</DAI>
<DAI name="tOffT">
<Val>0</Val>
</DAI>
<DAI name="minOnPer">
<Val>30</Val>
</DAI>
<DAI name="minOffPer">
<Val>30</Val>
</DAI>
<DAI name="srBefWd">
<Val>30</Val>
</DAI>
<DAI name="srAftWd">
<Val>30</Val>
</DAI>
<DAI name="igBefWd">
<Val>0</Val>
</DAI>

SWDevice-010805 286
O pen Smart Grid Platform Documentation

<DAI name="igAftWd">
<Val>0</Val>
</DAI>
<DAI name="Descr">
<Val>ON/OFF schedule</Val>
</DAI>
</SDI>
<SDI name="sche55">
<DAI name="enable">
<Val>0</Val>
</DAI>
<DAI name="day">
<Val>0</Val>
</DAI>
<DAI name="tOn">
<Val>0</Val>
</DAI>
<DAI name="tOnT">
<Val>0</Val>
</DAI>
<DAI name="tOff">
<Val>0</Val>
</DAI>
<DAI name="tOffT">
<Val>0</Val>
</DAI>
<DAI name="minOnPer">
<Val>30</Val>
</DAI>
<DAI name="minOffPer">
<Val>30</Val>
</DAI>
<DAI name="srBefWd">
<Val>30</Val>
</DAI>
<DAI name="srAftWd">
<Val>30</Val>
</DAI>
<DAI name="igBefWd">
<Val>0</Val>
</DAI>
<DAI name="igAftWd">
<Val>0</Val>
</DAI>
<DAI name="Descr">
<Val>ON/OFF schedule</Val>
</DAI>
</SDI>
<SDI name="sche56">
<DAI name="enable">
<Val>0</Val>
</DAI>
<DAI name="day">
<Val>0</Val>
</DAI>
<DAI name="tOn">
<Val>0</Val>
</DAI>
<DAI name="tOnT">
<Val>0</Val>
</DAI>
<DAI name="tOff">
<Val>0</Val>
</DAI>
<DAI name="tOffT">
<Val>0</Val>
</DAI>
<DAI name="minOnPer">
<Val>30</Val>
</DAI>
<DAI name="minOffPer">
<Val>30</Val>

SWDevice-010805 287
O pen Smart Grid Platform Documentation

</DAI>
<DAI name="srBefWd">
<Val>30</Val>
</DAI>
<DAI name="srAftWd">
<Val>30</Val>
</DAI>
<DAI name="igBefWd">
<Val>0</Val>
</DAI>
<DAI name="igAftWd">
<Val>0</Val>
</DAI>
<DAI name="Descr">
<Val>ON/OFF schedule</Val>
</DAI>
</SDI>
<SDI name="sche57">
<DAI name="enable">
<Val>0</Val>
</DAI>
<DAI name="day">
<Val>0</Val>
</DAI>
<DAI name="tOn">
<Val>0</Val>
</DAI>
<DAI name="tOnT">
<Val>0</Val>
</DAI>
<DAI name="tOff">
<Val>0</Val>
</DAI>
<DAI name="tOffT">
<Val>0</Val>
</DAI>
<DAI name="minOnPer">
<Val>30</Val>
</DAI>
<DAI name="minOffPer">
<Val>30</Val>
</DAI>
<DAI name="srBefWd">
<Val>30</Val>
</DAI>
<DAI name="srAftWd">
<Val>30</Val>
</DAI>
<DAI name="igBefWd">
<Val>0</Val>
</DAI>
<DAI name="igAftWd">
<Val>0</Val>
</DAI>
<DAI name="Descr">
<Val>ON/OFF schedule</Val>
</DAI>
</SDI>
<SDI name="sche58">
<DAI name="enable">
<Val>0</Val>
</DAI>
<DAI name="day">
<Val>0</Val>
</DAI>
<DAI name="tOn">
<Val>0</Val>
</DAI>
<DAI name="tOnT">
<Val>0</Val>
</DAI>
<DAI name="tOff">

SWDevice-010805 288
O pen Smart Grid Platform Documentation

<Val>0</Val>
</DAI>
<DAI name="tOffT">
<Val>0</Val>
</DAI>
<DAI name="minOnPer">
<Val>30</Val>
</DAI>
<DAI name="minOffPer">
<Val>30</Val>
</DAI>
<DAI name="srBefWd">
<Val>30</Val>
</DAI>
<DAI name="srAftWd">
<Val>30</Val>
</DAI>
<DAI name="igBefWd">
<Val>0</Val>
</DAI>
<DAI name="igAftWd">
<Val>0</Val>
</DAI>
<DAI name="Descr">
<Val>ON/OFF schedule</Val>
</DAI>
</SDI>
<SDI name="sche59">
<DAI name="enable">
<Val>0</Val>
</DAI>
<DAI name="day">
<Val>0</Val>
</DAI>
<DAI name="tOn">
<Val>0</Val>
</DAI>
<DAI name="tOnT">
<Val>0</Val>
</DAI>
<DAI name="tOff">
<Val>0</Val>
</DAI>
<DAI name="tOffT">
<Val>0</Val>
</DAI>
<DAI name="minOnPer">
<Val>30</Val>
</DAI>
<DAI name="minOffPer">
<Val>30</Val>
</DAI>
<DAI name="srBefWd">
<Val>30</Val>
</DAI>
<DAI name="srAftWd">
<Val>30</Val>
</DAI>
<DAI name="igBefWd">
<Val>0</Val>
</DAI>
<DAI name="igAftWd">
<Val>0</Val>
</DAI>
<DAI name="Descr">
<Val>ON/OFF schedule</Val>
</DAI>
</SDI>
<SDI name="sche60">
<DAI name="enable">
<Val>0</Val>
</DAI>

SWDevice-010805 289
O pen Smart Grid Platform Documentation

<DAI name="day">
<Val>0</Val>
</DAI>
<DAI name="tOn">
<Val>0</Val>
</DAI>
<DAI name="tOnT">
<Val>0</Val>
</DAI>
<DAI name="tOff">
<Val>0</Val>
</DAI>
<DAI name="tOffT">
<Val>0</Val>
</DAI>
<DAI name="minOnPer">
<Val>30</Val>
</DAI>
<DAI name="minOffPer">
<Val>30</Val>
</DAI>
<DAI name="srBefWd">
<Val>30</Val>
</DAI>
<DAI name="srAftWd">
<Val>30</Val>
</DAI>
<DAI name="igBefWd">
<Val>0</Val>
</DAI>
<DAI name="igAftWd">
<Val>0</Val>
</DAI>
<DAI name="Descr">
<Val>ON/OFF schedule</Val>
</DAI>
</SDI>
<SDI name="sche61">
<DAI name="enable">
<Val>0</Val>
</DAI>
<DAI name="day">
<Val>0</Val>
</DAI>
<DAI name="tOn">
<Val>0</Val>
</DAI>
<DAI name="tOnT">
<Val>0</Val>
</DAI>
<DAI name="tOff">
<Val>0</Val>
</DAI>
<DAI name="tOffT">
<Val>0</Val>
</DAI>
<DAI name="minOnPer">
<Val>30</Val>
</DAI>
<DAI name="minOffPer">
<Val>30</Val>
</DAI>
<DAI name="srBefWd">
<Val>30</Val>
</DAI>
<DAI name="srAftWd">
<Val>30</Val>
</DAI>
<DAI name="igBefWd">
<Val>0</Val>
</DAI>
<DAI name="igAftWd">

SWDevice-010805 290
O pen Smart Grid Platform Documentation

<Val>0</Val>
</DAI>
<DAI name="Descr">
<Val>ON/OFF schedule</Val>
</DAI>
</SDI>
<SDI name="sche62">
<DAI name="enable">
<Val>0</Val>
</DAI>
<DAI name="day">
<Val>0</Val>
</DAI>
<DAI name="tOn">
<Val>0</Val>
</DAI>
<DAI name="tOnT">
<Val>0</Val>
</DAI>
<DAI name="tOff">
<Val>0</Val>
</DAI>
<DAI name="tOffT">
<Val>0</Val>
</DAI>
<DAI name="minOnPer">
<Val>30</Val>
</DAI>
<DAI name="minOffPer">
<Val>30</Val>
</DAI>
<DAI name="srBefWd">
<Val>30</Val>
</DAI>
<DAI name="srAftWd">
<Val>30</Val>
</DAI>
<DAI name="igBefWd">
<Val>0</Val>
</DAI>
<DAI name="igAftWd">
<Val>0</Val>
</DAI>
<DAI name="Descr">
<Val>ON/OFF schedule</Val>
</DAI>
</SDI>
<SDI name="sche63">
<DAI name="enable">
<Val>0</Val>
</DAI>
<DAI name="day">
<Val>0</Val>
</DAI>
<DAI name="tOn">
<Val>0</Val>
</DAI>
<DAI name="tOnT">
<Val>0</Val>
</DAI>
<DAI name="tOff">
<Val>0</Val>
</DAI>
<DAI name="tOffT">
<Val>0</Val>
</DAI>
<DAI name="minOnPer">
<Val>30</Val>
</DAI>
<DAI name="minOffPer">
<Val>30</Val>
</DAI>

SWDevice-010805 291
O pen Smart Grid Platform Documentation

<DAI name="srBefWd">
<Val>30</Val>
</DAI>
<DAI name="srAftWd">
<Val>30</Val>
</DAI>
<DAI name="igBefWd">
<Val>0</Val>
</DAI>
<DAI name="igAftWd">
<Val>0</Val>
</DAI>
<DAI name="Descr">
<Val>ON/OFF schedule</Val>
</DAI>
</SDI>
<SDI name="sche64">
<DAI name="enable">
<Val>0</Val>
</DAI>
<DAI name="day">
<Val>0</Val>
</DAI>
<DAI name="tOn">
<Val>0</Val>
</DAI>
<DAI name="tOnT">
<Val>0</Val>
</DAI>
<DAI name="tOff">
<Val>0</Val>
</DAI>
<DAI name="tOffT">
<Val>0</Val>
</DAI>
<DAI name="minOnPer">
<Val>30</Val>
</DAI>
<DAI name="minOffPer">
<Val>30</Val>
</DAI>
<DAI name="srBefWd">
<Val>30</Val>
</DAI>
<DAI name="srAftWd">
<Val>30</Val>
</DAI>
<DAI name="igBefWd">
<Val>0</Val>
</DAI>
<DAI name="igAftWd">
<Val>0</Val>
</DAI>
<DAI name="Descr">
<Val>ON/OFF schedule</Val>
</DAI>
</SDI>
</DOI>
</LN>
<LN lnType="SWDeviceGenericIO.XSWC1" lnClass="XSWC" inst="3">
<DOI name="SwType">
<DAI name="ctlModel">
<Val>status-only</Val>
</DAI>
</DOI>
<DOI name="Pos">
<DAI name="ctlModel">
<Val>status-only</Val>
</DAI>
</DOI>
<DOI name="CfSt">
<DAI name="enbOper">

SWDevice-010805 292
O pen Smart Grid Platform Documentation

<Val>1</Val>
</DAI>
</DOI>
<DOI name="Sche">
<SDI name="sche1">
<DAI name="enable">
<Val>0</Val>
</DAI>
<DAI name="day">
<Val>0</Val>
</DAI>
<DAI name="tOn">
<Val>0</Val>
</DAI>
<DAI name="tOnT">
<Val>0</Val>
</DAI>
<DAI name="tOff">
<Val>0</Val>
</DAI>
<DAI name="tOffT">
<Val>0</Val>
</DAI>
<DAI name="minOnPer">
<Val>30</Val>
</DAI>
<DAI name="minOffPer">
<Val>30</Val>
</DAI>
<DAI name="srBefWd">
<Val>30</Val>
</DAI>
<DAI name="srAftWd">
<Val>30</Val>
</DAI>
<DAI name="igBefWd">
<Val>0</Val>
</DAI>
<DAI name="igAftWd">
<Val>0</Val>
</DAI>
<DAI name="Descr">
<Val>ON/OFF schedule</Val>
</DAI>
</SDI>
<SDI name="sche2">
<DAI name="enable">
<Val>0</Val>
</DAI>
<DAI name="day">
<Val>0</Val>
</DAI>
<DAI name="tOn">
<Val>0</Val>
</DAI>
<DAI name="tOnT">
<Val>0</Val>
</DAI>
<DAI name="tOff">
<Val>0</Val>
</DAI>
<DAI name="tOffT">
<Val>0</Val>
</DAI>
<DAI name="minOnPer">
<Val>30</Val>
</DAI>
<DAI name="minOffPer">
<Val>30</Val>
</DAI>
<DAI name="srBefWd">
<Val>30</Val>

SWDevice-010805 293
O pen Smart Grid Platform Documentation

</DAI>
<DAI name="srAftWd">
<Val>30</Val>
</DAI>
<DAI name="igBefWd">
<Val>0</Val>
</DAI>
<DAI name="igAftWd">
<Val>0</Val>
</DAI>
<DAI name="Descr">
<Val>ON/OFF schedule</Val>
</DAI>
</SDI>
<SDI name="sche3">
<DAI name="enable">
<Val>0</Val>
</DAI>
<DAI name="day">
<Val>0</Val>
</DAI>
<DAI name="tOn">
<Val>0</Val>
</DAI>
<DAI name="tOnT">
<Val>0</Val>
</DAI>
<DAI name="tOff">
<Val>0</Val>
</DAI>
<DAI name="tOffT">
<Val>0</Val>
</DAI>
<DAI name="minOnPer">
<Val>30</Val>
</DAI>
<DAI name="minOffPer">
<Val>30</Val>
</DAI>
<DAI name="srBefWd">
<Val>30</Val>
</DAI>
<DAI name="srAftWd">
<Val>30</Val>
</DAI>
<DAI name="igBefWd">
<Val>0</Val>
</DAI>
<DAI name="igAftWd">
<Val>0</Val>
</DAI>
<DAI name="Descr">
<Val>ON/OFF schedule</Val>
</DAI>
</SDI>
<SDI name="sche4">
<DAI name="enable">
<Val>0</Val>
</DAI>
<DAI name="day">
<Val>0</Val>
</DAI>
<DAI name="tOn">
<Val>0</Val>
</DAI>
<DAI name="tOnT">
<Val>0</Val>
</DAI>
<DAI name="tOff">
<Val>0</Val>
</DAI>
<DAI name="tOffT">

SWDevice-010805 294
O pen Smart Grid Platform Documentation

<Val>0</Val>
</DAI>
<DAI name="minOnPer">
<Val>30</Val>
</DAI>
<DAI name="minOffPer">
<Val>30</Val>
</DAI>
<DAI name="srBefWd">
<Val>30</Val>
</DAI>
<DAI name="srAftWd">
<Val>30</Val>
</DAI>
<DAI name="igBefWd">
<Val>0</Val>
</DAI>
<DAI name="igAftWd">
<Val>0</Val>
</DAI>
<DAI name="Descr">
<Val>ON/OFF schedule</Val>
</DAI>
</SDI>
<SDI name="sche5">
<DAI name="enable">
<Val>0</Val>
</DAI>
<DAI name="day">
<Val>0</Val>
</DAI>
<DAI name="tOn">
<Val>0</Val>
</DAI>
<DAI name="tOnT">
<Val>0</Val>
</DAI>
<DAI name="tOff">
<Val>0</Val>
</DAI>
<DAI name="tOffT">
<Val>0</Val>
</DAI>
<DAI name="minOnPer">
<Val>30</Val>
</DAI>
<DAI name="minOffPer">
<Val>30</Val>
</DAI>
<DAI name="srBefWd">
<Val>30</Val>
</DAI>
<DAI name="srAftWd">
<Val>30</Val>
</DAI>
<DAI name="igBefWd">
<Val>0</Val>
</DAI>
<DAI name="igAftWd">
<Val>0</Val>
</DAI>
<DAI name="Descr">
<Val>ON/OFF schedule</Val>
</DAI>
</SDI>
<SDI name="sche6">
<DAI name="enable">
<Val>0</Val>
</DAI>
<DAI name="day">
<Val>0</Val>
</DAI>

SWDevice-010805 295
O pen Smart Grid Platform Documentation

<DAI name="tOn">
<Val>0</Val>
</DAI>
<DAI name="tOnT">
<Val>0</Val>
</DAI>
<DAI name="tOff">
<Val>0</Val>
</DAI>
<DAI name="tOffT">
<Val>0</Val>
</DAI>
<DAI name="minOnPer">
<Val>30</Val>
</DAI>
<DAI name="minOffPer">
<Val>30</Val>
</DAI>
<DAI name="srBefWd">
<Val>30</Val>
</DAI>
<DAI name="srAftWd">
<Val>30</Val>
</DAI>
<DAI name="igBefWd">
<Val>0</Val>
</DAI>
<DAI name="igAftWd">
<Val>0</Val>
</DAI>
<DAI name="Descr">
<Val>ON/OFF schedule</Val>
</DAI>
</SDI>
<SDI name="sche7">
<DAI name="enable">
<Val>0</Val>
</DAI>
<DAI name="day">
<Val>0</Val>
</DAI>
<DAI name="tOn">
<Val>0</Val>
</DAI>
<DAI name="tOnT">
<Val>0</Val>
</DAI>
<DAI name="tOff">
<Val>0</Val>
</DAI>
<DAI name="tOffT">
<Val>0</Val>
</DAI>
<DAI name="minOnPer">
<Val>30</Val>
</DAI>
<DAI name="minOffPer">
<Val>30</Val>
</DAI>
<DAI name="srBefWd">
<Val>30</Val>
</DAI>
<DAI name="srAftWd">
<Val>30</Val>
</DAI>
<DAI name="igBefWd">
<Val>0</Val>
</DAI>
<DAI name="igAftWd">
<Val>0</Val>
</DAI>
<DAI name="Descr">

SWDevice-010805 296
O pen Smart Grid Platform Documentation

<Val>ON/OFF schedule</Val>
</DAI>
</SDI>
<SDI name="sche8">
<DAI name="enable">
<Val>0</Val>
</DAI>
<DAI name="day">
<Val>0</Val>
</DAI>
<DAI name="tOn">
<Val>0</Val>
</DAI>
<DAI name="tOnT">
<Val>0</Val>
</DAI>
<DAI name="tOff">
<Val>0</Val>
</DAI>
<DAI name="tOffT">
<Val>0</Val>
</DAI>
<DAI name="minOnPer">
<Val>30</Val>
</DAI>
<DAI name="minOffPer">
<Val>30</Val>
</DAI>
<DAI name="srBefWd">
<Val>30</Val>
</DAI>
<DAI name="srAftWd">
<Val>30</Val>
</DAI>
<DAI name="igBefWd">
<Val>0</Val>
</DAI>
<DAI name="igAftWd">
<Val>0</Val>
</DAI>
<DAI name="Descr">
<Val>ON/OFF schedule</Val>
</DAI>
</SDI>
<SDI name="sche9">
<DAI name="enable">
<Val>0</Val>
</DAI>
<DAI name="day">
<Val>0</Val>
</DAI>
<DAI name="tOn">
<Val>0</Val>
</DAI>
<DAI name="tOnT">
<Val>0</Val>
</DAI>
<DAI name="tOff">
<Val>0</Val>
</DAI>
<DAI name="tOffT">
<Val>0</Val>
</DAI>
<DAI name="minOnPer">
<Val>30</Val>
</DAI>
<DAI name="minOffPer">
<Val>30</Val>
</DAI>
<DAI name="srBefWd">
<Val>30</Val>
</DAI>

SWDevice-010805 297
O pen Smart Grid Platform Documentation

<DAI name="srAftWd">
<Val>30</Val>
</DAI>
<DAI name="igBefWd">
<Val>0</Val>
</DAI>
<DAI name="igAftWd">
<Val>0</Val>
</DAI>
<DAI name="Descr">
<Val>ON/OFF schedule</Val>
</DAI>
</SDI>
<SDI name="sche10">
<DAI name="enable">
<Val>0</Val>
</DAI>
<DAI name="day">
<Val>0</Val>
</DAI>
<DAI name="tOn">
<Val>0</Val>
</DAI>
<DAI name="tOnT">
<Val>0</Val>
</DAI>
<DAI name="tOff">
<Val>0</Val>
</DAI>
<DAI name="tOffT">
<Val>0</Val>
</DAI>
<DAI name="minOnPer">
<Val>30</Val>
</DAI>
<DAI name="minOffPer">
<Val>30</Val>
</DAI>
<DAI name="srBefWd">
<Val>30</Val>
</DAI>
<DAI name="srAftWd">
<Val>30</Val>
</DAI>
<DAI name="igBefWd">
<Val>0</Val>
</DAI>
<DAI name="igAftWd">
<Val>0</Val>
</DAI>
<DAI name="Descr">
<Val>ON/OFF schedule</Val>
</DAI>
</SDI>
<SDI name="sche11">
<DAI name="enable">
<Val>0</Val>
</DAI>
<DAI name="day">
<Val>0</Val>
</DAI>
<DAI name="tOn">
<Val>0</Val>
</DAI>
<DAI name="tOnT">
<Val>0</Val>
</DAI>
<DAI name="tOff">
<Val>0</Val>
</DAI>
<DAI name="tOffT">
<Val>0</Val>

SWDevice-010805 298
O pen Smart Grid Platform Documentation

</DAI>
<DAI name="minOnPer">
<Val>30</Val>
</DAI>
<DAI name="minOffPer">
<Val>30</Val>
</DAI>
<DAI name="srBefWd">
<Val>30</Val>
</DAI>
<DAI name="srAftWd">
<Val>30</Val>
</DAI>
<DAI name="igBefWd">
<Val>0</Val>
</DAI>
<DAI name="igAftWd">
<Val>0</Val>
</DAI>
<DAI name="Descr">
<Val>ON/OFF schedule</Val>
</DAI>
</SDI>
<SDI name="sche12">
<DAI name="enable">
<Val>0</Val>
</DAI>
<DAI name="day">
<Val>0</Val>
</DAI>
<DAI name="tOn">
<Val>0</Val>
</DAI>
<DAI name="tOnT">
<Val>0</Val>
</DAI>
<DAI name="tOff">
<Val>0</Val>
</DAI>
<DAI name="tOffT">
<Val>0</Val>
</DAI>
<DAI name="minOnPer">
<Val>30</Val>
</DAI>
<DAI name="minOffPer">
<Val>30</Val>
</DAI>
<DAI name="srBefWd">
<Val>30</Val>
</DAI>
<DAI name="srAftWd">
<Val>30</Val>
</DAI>
<DAI name="igBefWd">
<Val>0</Val>
</DAI>
<DAI name="igAftWd">
<Val>0</Val>
</DAI>
<DAI name="Descr">
<Val>ON/OFF schedule</Val>
</DAI>
</SDI>
<SDI name="sche13">
<DAI name="enable">
<Val>0</Val>
</DAI>
<DAI name="day">
<Val>0</Val>
</DAI>
<DAI name="tOn">

SWDevice-010805 299
O pen Smart Grid Platform Documentation

<Val>0</Val>
</DAI>
<DAI name="tOnT">
<Val>0</Val>
</DAI>
<DAI name="tOff">
<Val>0</Val>
</DAI>
<DAI name="tOffT">
<Val>0</Val>
</DAI>
<DAI name="minOnPer">
<Val>30</Val>
</DAI>
<DAI name="minOffPer">
<Val>30</Val>
</DAI>
<DAI name="srBefWd">
<Val>30</Val>
</DAI>
<DAI name="srAftWd">
<Val>30</Val>
</DAI>
<DAI name="igBefWd">
<Val>0</Val>
</DAI>
<DAI name="igAftWd">
<Val>0</Val>
</DAI>
<DAI name="Descr">
<Val>ON/OFF schedule</Val>
</DAI>
</SDI>
<SDI name="sche14">
<DAI name="enable">
<Val>0</Val>
</DAI>
<DAI name="day">
<Val>0</Val>
</DAI>
<DAI name="tOn">
<Val>0</Val>
</DAI>
<DAI name="tOnT">
<Val>0</Val>
</DAI>
<DAI name="tOff">
<Val>0</Val>
</DAI>
<DAI name="tOffT">
<Val>0</Val>
</DAI>
<DAI name="minOnPer">
<Val>30</Val>
</DAI>
<DAI name="minOffPer">
<Val>30</Val>
</DAI>
<DAI name="srBefWd">
<Val>30</Val>
</DAI>
<DAI name="srAftWd">
<Val>30</Val>
</DAI>
<DAI name="igBefWd">
<Val>0</Val>
</DAI>
<DAI name="igAftWd">
<Val>0</Val>
</DAI>
<DAI name="Descr">
<Val>ON/OFF schedule</Val>

SWDevice-010805 300
O pen Smart Grid Platform Documentation

</DAI>
</SDI>
<SDI name="sche15">
<DAI name="enable">
<Val>0</Val>
</DAI>
<DAI name="day">
<Val>0</Val>
</DAI>
<DAI name="tOn">
<Val>0</Val>
</DAI>
<DAI name="tOnT">
<Val>0</Val>
</DAI>
<DAI name="tOff">
<Val>0</Val>
</DAI>
<DAI name="tOffT">
<Val>0</Val>
</DAI>
<DAI name="minOnPer">
<Val>30</Val>
</DAI>
<DAI name="minOffPer">
<Val>30</Val>
</DAI>
<DAI name="srBefWd">
<Val>30</Val>
</DAI>
<DAI name="srAftWd">
<Val>30</Val>
</DAI>
<DAI name="igBefWd">
<Val>0</Val>
</DAI>
<DAI name="igAftWd">
<Val>0</Val>
</DAI>
<DAI name="Descr">
<Val>ON/OFF schedule</Val>
</DAI>
</SDI>
<SDI name="sche16">
<DAI name="enable">
<Val>0</Val>
</DAI>
<DAI name="day">
<Val>0</Val>
</DAI>
<DAI name="tOn">
<Val>0</Val>
</DAI>
<DAI name="tOnT">
<Val>0</Val>
</DAI>
<DAI name="tOff">
<Val>0</Val>
</DAI>
<DAI name="tOffT">
<Val>0</Val>
</DAI>
<DAI name="minOnPer">
<Val>30</Val>
</DAI>
<DAI name="minOffPer">
<Val>30</Val>
</DAI>
<DAI name="srBefWd">
<Val>30</Val>
</DAI>
<DAI name="srAftWd">

SWDevice-010805 301
O pen Smart Grid Platform Documentation

<Val>30</Val>
</DAI>
<DAI name="igBefWd">
<Val>0</Val>
</DAI>
<DAI name="igAftWd">
<Val>0</Val>
</DAI>
<DAI name="Descr">
<Val>ON/OFF schedule</Val>
</DAI>
</SDI>
<SDI name="sche17">
<DAI name="enable">
<Val>0</Val>
</DAI>
<DAI name="day">
<Val>0</Val>
</DAI>
<DAI name="tOn">
<Val>0</Val>
</DAI>
<DAI name="tOnT">
<Val>0</Val>
</DAI>
<DAI name="tOff">
<Val>0</Val>
</DAI>
<DAI name="tOffT">
<Val>0</Val>
</DAI>
<DAI name="minOnPer">
<Val>30</Val>
</DAI>
<DAI name="minOffPer">
<Val>30</Val>
</DAI>
<DAI name="srBefWd">
<Val>30</Val>
</DAI>
<DAI name="srAftWd">
<Val>30</Val>
</DAI>
<DAI name="igBefWd">
<Val>0</Val>
</DAI>
<DAI name="igAftWd">
<Val>0</Val>
</DAI>
<DAI name="Descr">
<Val>ON/OFF schedule</Val>
</DAI>
</SDI>
<SDI name="sche18">
<DAI name="enable">
<Val>0</Val>
</DAI>
<DAI name="day">
<Val>0</Val>
</DAI>
<DAI name="tOn">
<Val>0</Val>
</DAI>
<DAI name="tOnT">
<Val>0</Val>
</DAI>
<DAI name="tOff">
<Val>0</Val>
</DAI>
<DAI name="tOffT">
<Val>0</Val>
</DAI>

SWDevice-010805 302
O pen Smart Grid Platform Documentation

<DAI name="minOnPer">
<Val>30</Val>
</DAI>
<DAI name="minOffPer">
<Val>30</Val>
</DAI>
<DAI name="srBefWd">
<Val>30</Val>
</DAI>
<DAI name="srAftWd">
<Val>30</Val>
</DAI>
<DAI name="igBefWd">
<Val>0</Val>
</DAI>
<DAI name="igAftWd">
<Val>0</Val>
</DAI>
<DAI name="Descr">
<Val>ON/OFF schedule</Val>
</DAI>
</SDI>
<SDI name="sche19">
<DAI name="enable">
<Val>0</Val>
</DAI>
<DAI name="day">
<Val>0</Val>
</DAI>
<DAI name="tOn">
<Val>0</Val>
</DAI>
<DAI name="tOnT">
<Val>0</Val>
</DAI>
<DAI name="tOff">
<Val>0</Val>
</DAI>
<DAI name="tOffT">
<Val>0</Val>
</DAI>
<DAI name="minOnPer">
<Val>30</Val>
</DAI>
<DAI name="minOffPer">
<Val>30</Val>
</DAI>
<DAI name="srBefWd">
<Val>30</Val>
</DAI>
<DAI name="srAftWd">
<Val>30</Val>
</DAI>
<DAI name="igBefWd">
<Val>0</Val>
</DAI>
<DAI name="igAftWd">
<Val>0</Val>
</DAI>
<DAI name="Descr">
<Val>ON/OFF schedule</Val>
</DAI>
</SDI>
<SDI name="sche20">
<DAI name="enable">
<Val>0</Val>
</DAI>
<DAI name="day">
<Val>0</Val>
</DAI>
<DAI name="tOn">
<Val>0</Val>

SWDevice-010805 303
O pen Smart Grid Platform Documentation

</DAI>
<DAI name="tOnT">
<Val>0</Val>
</DAI>
<DAI name="tOff">
<Val>0</Val>
</DAI>
<DAI name="tOffT">
<Val>0</Val>
</DAI>
<DAI name="minOnPer">
<Val>30</Val>
</DAI>
<DAI name="minOffPer">
<Val>30</Val>
</DAI>
<DAI name="srBefWd">
<Val>30</Val>
</DAI>
<DAI name="srAftWd">
<Val>30</Val>
</DAI>
<DAI name="igBefWd">
<Val>0</Val>
</DAI>
<DAI name="igAftWd">
<Val>0</Val>
</DAI>
<DAI name="Descr">
<Val>ON/OFF schedule</Val>
</DAI>
</SDI>
<SDI name="sche21">
<DAI name="enable">
<Val>0</Val>
</DAI>
<DAI name="day">
<Val>0</Val>
</DAI>
<DAI name="tOn">
<Val>0</Val>
</DAI>
<DAI name="tOnT">
<Val>0</Val>
</DAI>
<DAI name="tOff">
<Val>0</Val>
</DAI>
<DAI name="tOffT">
<Val>0</Val>
</DAI>
<DAI name="minOnPer">
<Val>30</Val>
</DAI>
<DAI name="minOffPer">
<Val>30</Val>
</DAI>
<DAI name="srBefWd">
<Val>30</Val>
</DAI>
<DAI name="srAftWd">
<Val>30</Val>
</DAI>
<DAI name="igBefWd">
<Val>0</Val>
</DAI>
<DAI name="igAftWd">
<Val>0</Val>
</DAI>
<DAI name="Descr">
<Val>ON/OFF schedule</Val>
</DAI>

SWDevice-010805 304
O pen Smart Grid Platform Documentation

</SDI>
<SDI name="sche22">
<DAI name="enable">
<Val>0</Val>
</DAI>
<DAI name="day">
<Val>0</Val>
</DAI>
<DAI name="tOn">
<Val>0</Val>
</DAI>
<DAI name="tOnT">
<Val>0</Val>
</DAI>
<DAI name="tOff">
<Val>0</Val>
</DAI>
<DAI name="tOffT">
<Val>0</Val>
</DAI>
<DAI name="minOnPer">
<Val>30</Val>
</DAI>
<DAI name="minOffPer">
<Val>30</Val>
</DAI>
<DAI name="srBefWd">
<Val>30</Val>
</DAI>
<DAI name="srAftWd">
<Val>30</Val>
</DAI>
<DAI name="igBefWd">
<Val>0</Val>
</DAI>
<DAI name="igAftWd">
<Val>0</Val>
</DAI>
<DAI name="Descr">
<Val>ON/OFF schedule</Val>
</DAI>
</SDI>
<SDI name="sche23">
<DAI name="enable">
<Val>0</Val>
</DAI>
<DAI name="day">
<Val>0</Val>
</DAI>
<DAI name="tOn">
<Val>0</Val>
</DAI>
<DAI name="tOnT">
<Val>0</Val>
</DAI>
<DAI name="tOff">
<Val>0</Val>
</DAI>
<DAI name="tOffT">
<Val>0</Val>
</DAI>
<DAI name="minOnPer">
<Val>30</Val>
</DAI>
<DAI name="minOffPer">
<Val>30</Val>
</DAI>
<DAI name="srBefWd">
<Val>30</Val>
</DAI>
<DAI name="srAftWd">
<Val>30</Val>

SWDevice-010805 305
O pen Smart Grid Platform Documentation

</DAI>
<DAI name="igBefWd">
<Val>0</Val>
</DAI>
<DAI name="igAftWd">
<Val>0</Val>
</DAI>
<DAI name="Descr">
<Val>ON/OFF schedule</Val>
</DAI>
</SDI>
<SDI name="sche24">
<DAI name="enable">
<Val>0</Val>
</DAI>
<DAI name="day">
<Val>0</Val>
</DAI>
<DAI name="tOn">
<Val>0</Val>
</DAI>
<DAI name="tOnT">
<Val>0</Val>
</DAI>
<DAI name="tOff">
<Val>0</Val>
</DAI>
<DAI name="tOffT">
<Val>0</Val>
</DAI>
<DAI name="minOnPer">
<Val>30</Val>
</DAI>
<DAI name="minOffPer">
<Val>30</Val>
</DAI>
<DAI name="srBefWd">
<Val>30</Val>
</DAI>
<DAI name="srAftWd">
<Val>30</Val>
</DAI>
<DAI name="igBefWd">
<Val>0</Val>
</DAI>
<DAI name="igAftWd">
<Val>0</Val>
</DAI>
<DAI name="Descr">
<Val>ON/OFF schedule</Val>
</DAI>
</SDI>
<SDI name="sche25">
<DAI name="enable">
<Val>0</Val>
</DAI>
<DAI name="day">
<Val>0</Val>
</DAI>
<DAI name="tOn">
<Val>0</Val>
</DAI>
<DAI name="tOnT">
<Val>0</Val>
</DAI>
<DAI name="tOff">
<Val>0</Val>
</DAI>
<DAI name="tOffT">
<Val>0</Val>
</DAI>
<DAI name="minOnPer">

SWDevice-010805 306
O pen Smart Grid Platform Documentation

<Val>30</Val>
</DAI>
<DAI name="minOffPer">
<Val>30</Val>
</DAI>
<DAI name="srBefWd">
<Val>30</Val>
</DAI>
<DAI name="srAftWd">
<Val>30</Val>
</DAI>
<DAI name="igBefWd">
<Val>0</Val>
</DAI>
<DAI name="igAftWd">
<Val>0</Val>
</DAI>
<DAI name="Descr">
<Val>ON/OFF schedule</Val>
</DAI>
</SDI>
<SDI name="sche26">
<DAI name="enable">
<Val>0</Val>
</DAI>
<DAI name="day">
<Val>0</Val>
</DAI>
<DAI name="tOn">
<Val>0</Val>
</DAI>
<DAI name="tOnT">
<Val>0</Val>
</DAI>
<DAI name="tOff">
<Val>0</Val>
</DAI>
<DAI name="tOffT">
<Val>0</Val>
</DAI>
<DAI name="minOnPer">
<Val>30</Val>
</DAI>
<DAI name="minOffPer">
<Val>30</Val>
</DAI>
<DAI name="srBefWd">
<Val>30</Val>
</DAI>
<DAI name="srAftWd">
<Val>30</Val>
</DAI>
<DAI name="igBefWd">
<Val>0</Val>
</DAI>
<DAI name="igAftWd">
<Val>0</Val>
</DAI>
<DAI name="Descr">
<Val>ON/OFF schedule</Val>
</DAI>
</SDI>
<SDI name="sche27">
<DAI name="enable">
<Val>0</Val>
</DAI>
<DAI name="day">
<Val>0</Val>
</DAI>
<DAI name="tOn">
<Val>0</Val>
</DAI>

SWDevice-010805 307
O pen Smart Grid Platform Documentation

<DAI name="tOnT">
<Val>0</Val>
</DAI>
<DAI name="tOff">
<Val>0</Val>
</DAI>
<DAI name="tOffT">
<Val>0</Val>
</DAI>
<DAI name="minOnPer">
<Val>30</Val>
</DAI>
<DAI name="minOffPer">
<Val>30</Val>
</DAI>
<DAI name="srBefWd">
<Val>30</Val>
</DAI>
<DAI name="srAftWd">
<Val>30</Val>
</DAI>
<DAI name="igBefWd">
<Val>0</Val>
</DAI>
<DAI name="igAftWd">
<Val>0</Val>
</DAI>
<DAI name="Descr">
<Val>ON/OFF schedule</Val>
</DAI>
</SDI>
<SDI name="sche28">
<DAI name="enable">
<Val>0</Val>
</DAI>
<DAI name="day">
<Val>0</Val>
</DAI>
<DAI name="tOn">
<Val>0</Val>
</DAI>
<DAI name="tOnT">
<Val>0</Val>
</DAI>
<DAI name="tOff">
<Val>0</Val>
</DAI>
<DAI name="tOffT">
<Val>0</Val>
</DAI>
<DAI name="minOnPer">
<Val>30</Val>
</DAI>
<DAI name="minOffPer">
<Val>30</Val>
</DAI>
<DAI name="srBefWd">
<Val>30</Val>
</DAI>
<DAI name="srAftWd">
<Val>30</Val>
</DAI>
<DAI name="igBefWd">
<Val>0</Val>
</DAI>
<DAI name="igAftWd">
<Val>0</Val>
</DAI>
<DAI name="Descr">
<Val>ON/OFF schedule</Val>
</DAI>
</SDI>

SWDevice-010805 308
O pen Smart Grid Platform Documentation

<SDI name="sche29">
<DAI name="enable">
<Val>0</Val>
</DAI>
<DAI name="day">
<Val>0</Val>
</DAI>
<DAI name="tOn">
<Val>0</Val>
</DAI>
<DAI name="tOnT">
<Val>0</Val>
</DAI>
<DAI name="tOff">
<Val>0</Val>
</DAI>
<DAI name="tOffT">
<Val>0</Val>
</DAI>
<DAI name="minOnPer">
<Val>30</Val>
</DAI>
<DAI name="minOffPer">
<Val>30</Val>
</DAI>
<DAI name="srBefWd">
<Val>30</Val>
</DAI>
<DAI name="srAftWd">
<Val>30</Val>
</DAI>
<DAI name="igBefWd">
<Val>0</Val>
</DAI>
<DAI name="igAftWd">
<Val>0</Val>
</DAI>
<DAI name="Descr">
<Val>ON/OFF schedule</Val>
</DAI>
</SDI>
<SDI name="sche30">
<DAI name="enable">
<Val>0</Val>
</DAI>
<DAI name="day">
<Val>0</Val>
</DAI>
<DAI name="tOn">
<Val>0</Val>
</DAI>
<DAI name="tOnT">
<Val>0</Val>
</DAI>
<DAI name="tOff">
<Val>0</Val>
</DAI>
<DAI name="tOffT">
<Val>0</Val>
</DAI>
<DAI name="minOnPer">
<Val>30</Val>
</DAI>
<DAI name="minOffPer">
<Val>30</Val>
</DAI>
<DAI name="srBefWd">
<Val>30</Val>
</DAI>
<DAI name="srAftWd">
<Val>30</Val>
</DAI>

SWDevice-010805 309
O pen Smart Grid Platform Documentation

<DAI name="igBefWd">
<Val>0</Val>
</DAI>
<DAI name="igAftWd">
<Val>0</Val>
</DAI>
<DAI name="Descr">
<Val>ON/OFF schedule</Val>
</DAI>
</SDI>
<SDI name="sche31">
<DAI name="enable">
<Val>0</Val>
</DAI>
<DAI name="day">
<Val>0</Val>
</DAI>
<DAI name="tOn">
<Val>0</Val>
</DAI>
<DAI name="tOnT">
<Val>0</Val>
</DAI>
<DAI name="tOff">
<Val>0</Val>
</DAI>
<DAI name="tOffT">
<Val>0</Val>
</DAI>
<DAI name="minOnPer">
<Val>30</Val>
</DAI>
<DAI name="minOffPer">
<Val>30</Val>
</DAI>
<DAI name="srBefWd">
<Val>30</Val>
</DAI>
<DAI name="srAftWd">
<Val>30</Val>
</DAI>
<DAI name="igBefWd">
<Val>0</Val>
</DAI>
<DAI name="igAftWd">
<Val>0</Val>
</DAI>
<DAI name="Descr">
<Val>ON/OFF schedule</Val>
</DAI>
</SDI>
<SDI name="sche32">
<DAI name="enable">
<Val>0</Val>
</DAI>
<DAI name="day">
<Val>0</Val>
</DAI>
<DAI name="tOn">
<Val>0</Val>
</DAI>
<DAI name="tOnT">
<Val>0</Val>
</DAI>
<DAI name="tOff">
<Val>0</Val>
</DAI>
<DAI name="tOffT">
<Val>0</Val>
</DAI>
<DAI name="minOnPer">
<Val>30</Val>

SWDevice-010805 310
O pen Smart Grid Platform Documentation

</DAI>
<DAI name="minOffPer">
<Val>30</Val>
</DAI>
<DAI name="srBefWd">
<Val>30</Val>
</DAI>
<DAI name="srAftWd">
<Val>30</Val>
</DAI>
<DAI name="igBefWd">
<Val>0</Val>
</DAI>
<DAI name="igAftWd">
<Val>0</Val>
</DAI>
<DAI name="Descr">
<Val>ON/OFF schedule</Val>
</DAI>
</SDI>
<SDI name="sche33">
<DAI name="enable">
<Val>0</Val>
</DAI>
<DAI name="day">
<Val>0</Val>
</DAI>
<DAI name="tOn">
<Val>0</Val>
</DAI>
<DAI name="tOnT">
<Val>0</Val>
</DAI>
<DAI name="tOff">
<Val>0</Val>
</DAI>
<DAI name="tOffT">
<Val>0</Val>
</DAI>
<DAI name="minOnPer">
<Val>30</Val>
</DAI>
<DAI name="minOffPer">
<Val>30</Val>
</DAI>
<DAI name="srBefWd">
<Val>30</Val>
</DAI>
<DAI name="srAftWd">
<Val>30</Val>
</DAI>
<DAI name="igBefWd">
<Val>0</Val>
</DAI>
<DAI name="igAftWd">
<Val>0</Val>
</DAI>
<DAI name="Descr">
<Val>ON/OFF schedule</Val>
</DAI>
</SDI>
<SDI name="sche34">
<DAI name="enable">
<Val>0</Val>
</DAI>
<DAI name="day">
<Val>0</Val>
</DAI>
<DAI name="tOn">
<Val>0</Val>
</DAI>
<DAI name="tOnT">

SWDevice-010805 311
O pen Smart Grid Platform Documentation

<Val>0</Val>
</DAI>
<DAI name="tOff">
<Val>0</Val>
</DAI>
<DAI name="tOffT">
<Val>0</Val>
</DAI>
<DAI name="minOnPer">
<Val>30</Val>
</DAI>
<DAI name="minOffPer">
<Val>30</Val>
</DAI>
<DAI name="srBefWd">
<Val>30</Val>
</DAI>
<DAI name="srAftWd">
<Val>30</Val>
</DAI>
<DAI name="igBefWd">
<Val>0</Val>
</DAI>
<DAI name="igAftWd">
<Val>0</Val>
</DAI>
<DAI name="Descr">
<Val>ON/OFF schedule</Val>
</DAI>
</SDI>
<SDI name="sche35">
<DAI name="enable">
<Val>0</Val>
</DAI>
<DAI name="day">
<Val>0</Val>
</DAI>
<DAI name="tOn">
<Val>0</Val>
</DAI>
<DAI name="tOnT">
<Val>0</Val>
</DAI>
<DAI name="tOff">
<Val>0</Val>
</DAI>
<DAI name="tOffT">
<Val>0</Val>
</DAI>
<DAI name="minOnPer">
<Val>30</Val>
</DAI>
<DAI name="minOffPer">
<Val>30</Val>
</DAI>
<DAI name="srBefWd">
<Val>30</Val>
</DAI>
<DAI name="srAftWd">
<Val>30</Val>
</DAI>
<DAI name="igBefWd">
<Val>0</Val>
</DAI>
<DAI name="igAftWd">
<Val>0</Val>
</DAI>
<DAI name="Descr">
<Val>ON/OFF schedule</Val>
</DAI>
</SDI>
<SDI name="sche36">

SWDevice-010805 312
O pen Smart Grid Platform Documentation

<DAI name="enable">
<Val>0</Val>
</DAI>
<DAI name="day">
<Val>0</Val>
</DAI>
<DAI name="tOn">
<Val>0</Val>
</DAI>
<DAI name="tOnT">
<Val>0</Val>
</DAI>
<DAI name="tOff">
<Val>0</Val>
</DAI>
<DAI name="tOffT">
<Val>0</Val>
</DAI>
<DAI name="minOnPer">
<Val>30</Val>
</DAI>
<DAI name="minOffPer">
<Val>30</Val>
</DAI>
<DAI name="srBefWd">
<Val>30</Val>
</DAI>
<DAI name="srAftWd">
<Val>30</Val>
</DAI>
<DAI name="igBefWd">
<Val>0</Val>
</DAI>
<DAI name="igAftWd">
<Val>0</Val>
</DAI>
<DAI name="Descr">
<Val>ON/OFF schedule</Val>
</DAI>
</SDI>
<SDI name="sche37">
<DAI name="enable">
<Val>0</Val>
</DAI>
<DAI name="day">
<Val>0</Val>
</DAI>
<DAI name="tOn">
<Val>0</Val>
</DAI>
<DAI name="tOnT">
<Val>0</Val>
</DAI>
<DAI name="tOff">
<Val>0</Val>
</DAI>
<DAI name="tOffT">
<Val>0</Val>
</DAI>
<DAI name="minOnPer">
<Val>30</Val>
</DAI>
<DAI name="minOffPer">
<Val>30</Val>
</DAI>
<DAI name="srBefWd">
<Val>30</Val>
</DAI>
<DAI name="srAftWd">
<Val>30</Val>
</DAI>
<DAI name="igBefWd">

SWDevice-010805 313
O pen Smart Grid Platform Documentation

<Val>0</Val>
</DAI>
<DAI name="igAftWd">
<Val>0</Val>
</DAI>
<DAI name="Descr">
<Val>ON/OFF schedule</Val>
</DAI>
</SDI>
<SDI name="sche38">
<DAI name="enable">
<Val>0</Val>
</DAI>
<DAI name="day">
<Val>0</Val>
</DAI>
<DAI name="tOn">
<Val>0</Val>
</DAI>
<DAI name="tOnT">
<Val>0</Val>
</DAI>
<DAI name="tOff">
<Val>0</Val>
</DAI>
<DAI name="tOffT">
<Val>0</Val>
</DAI>
<DAI name="minOnPer">
<Val>30</Val>
</DAI>
<DAI name="minOffPer">
<Val>30</Val>
</DAI>
<DAI name="srBefWd">
<Val>30</Val>
</DAI>
<DAI name="srAftWd">
<Val>30</Val>
</DAI>
<DAI name="igBefWd">
<Val>0</Val>
</DAI>
<DAI name="igAftWd">
<Val>0</Val>
</DAI>
<DAI name="Descr">
<Val>ON/OFF schedule</Val>
</DAI>
</SDI>
<SDI name="sche39">
<DAI name="enable">
<Val>0</Val>
</DAI>
<DAI name="day">
<Val>0</Val>
</DAI>
<DAI name="tOn">
<Val>0</Val>
</DAI>
<DAI name="tOnT">
<Val>0</Val>
</DAI>
<DAI name="tOff">
<Val>0</Val>
</DAI>
<DAI name="tOffT">
<Val>0</Val>
</DAI>
<DAI name="minOnPer">
<Val>30</Val>
</DAI>

SWDevice-010805 314
O pen Smart Grid Platform Documentation

<DAI name="minOffPer">
<Val>30</Val>
</DAI>
<DAI name="srBefWd">
<Val>30</Val>
</DAI>
<DAI name="srAftWd">
<Val>30</Val>
</DAI>
<DAI name="igBefWd">
<Val>0</Val>
</DAI>
<DAI name="igAftWd">
<Val>0</Val>
</DAI>
<DAI name="Descr">
<Val>ON/OFF schedule</Val>
</DAI>
</SDI>
<SDI name="sche40">
<DAI name="enable">
<Val>0</Val>
</DAI>
<DAI name="day">
<Val>0</Val>
</DAI>
<DAI name="tOn">
<Val>0</Val>
</DAI>
<DAI name="tOnT">
<Val>0</Val>
</DAI>
<DAI name="tOff">
<Val>0</Val>
</DAI>
<DAI name="tOffT">
<Val>0</Val>
</DAI>
<DAI name="minOnPer">
<Val>30</Val>
</DAI>
<DAI name="minOffPer">
<Val>30</Val>
</DAI>
<DAI name="srBefWd">
<Val>30</Val>
</DAI>
<DAI name="srAftWd">
<Val>30</Val>
</DAI>
<DAI name="igBefWd">
<Val>0</Val>
</DAI>
<DAI name="igAftWd">
<Val>0</Val>
</DAI>
<DAI name="Descr">
<Val>ON/OFF schedule</Val>
</DAI>
</SDI>
<SDI name="sche41">
<DAI name="enable">
<Val>0</Val>
</DAI>
<DAI name="day">
<Val>0</Val>
</DAI>
<DAI name="tOn">
<Val>0</Val>
</DAI>
<DAI name="tOnT">
<Val>0</Val>

SWDevice-010805 315
O pen Smart Grid Platform Documentation

</DAI>
<DAI name="tOff">
<Val>0</Val>
</DAI>
<DAI name="tOffT">
<Val>0</Val>
</DAI>
<DAI name="minOnPer">
<Val>30</Val>
</DAI>
<DAI name="minOffPer">
<Val>30</Val>
</DAI>
<DAI name="srBefWd">
<Val>30</Val>
</DAI>
<DAI name="srAftWd">
<Val>30</Val>
</DAI>
<DAI name="igBefWd">
<Val>0</Val>
</DAI>
<DAI name="igAftWd">
<Val>0</Val>
</DAI>
<DAI name="Descr">
<Val>ON/OFF schedule</Val>
</DAI>
</SDI>
<SDI name="sche42">
<DAI name="enable">
<Val>0</Val>
</DAI>
<DAI name="day">
<Val>0</Val>
</DAI>
<DAI name="tOn">
<Val>0</Val>
</DAI>
<DAI name="tOnT">
<Val>0</Val>
</DAI>
<DAI name="tOff">
<Val>0</Val>
</DAI>
<DAI name="tOffT">
<Val>0</Val>
</DAI>
<DAI name="minOnPer">
<Val>30</Val>
</DAI>
<DAI name="minOffPer">
<Val>30</Val>
</DAI>
<DAI name="srBefWd">
<Val>30</Val>
</DAI>
<DAI name="srAftWd">
<Val>30</Val>
</DAI>
<DAI name="igBefWd">
<Val>0</Val>
</DAI>
<DAI name="igAftWd">
<Val>0</Val>
</DAI>
<DAI name="Descr">
<Val>ON/OFF schedule</Val>
</DAI>
</SDI>
<SDI name="sche43">
<DAI name="enable">

SWDevice-010805 316
O pen Smart Grid Platform Documentation

<Val>0</Val>
</DAI>
<DAI name="day">
<Val>0</Val>
</DAI>
<DAI name="tOn">
<Val>0</Val>
</DAI>
<DAI name="tOnT">
<Val>0</Val>
</DAI>
<DAI name="tOff">
<Val>0</Val>
</DAI>
<DAI name="tOffT">
<Val>0</Val>
</DAI>
<DAI name="minOnPer">
<Val>30</Val>
</DAI>
<DAI name="minOffPer">
<Val>30</Val>
</DAI>
<DAI name="srBefWd">
<Val>30</Val>
</DAI>
<DAI name="srAftWd">
<Val>30</Val>
</DAI>
<DAI name="igBefWd">
<Val>0</Val>
</DAI>
<DAI name="igAftWd">
<Val>0</Val>
</DAI>
<DAI name="Descr">
<Val>ON/OFF schedule</Val>
</DAI>
</SDI>
<SDI name="sche44">
<DAI name="enable">
<Val>0</Val>
</DAI>
<DAI name="day">
<Val>0</Val>
</DAI>
<DAI name="tOn">
<Val>0</Val>
</DAI>
<DAI name="tOnT">
<Val>0</Val>
</DAI>
<DAI name="tOff">
<Val>0</Val>
</DAI>
<DAI name="tOffT">
<Val>0</Val>
</DAI>
<DAI name="minOnPer">
<Val>30</Val>
</DAI>
<DAI name="minOffPer">
<Val>30</Val>
</DAI>
<DAI name="srBefWd">
<Val>30</Val>
</DAI>
<DAI name="srAftWd">
<Val>30</Val>
</DAI>
<DAI name="igBefWd">
<Val>0</Val>

SWDevice-010805 317
O pen Smart Grid Platform Documentation

</DAI>
<DAI name="igAftWd">
<Val>0</Val>
</DAI>
<DAI name="Descr">
<Val>ON/OFF schedule</Val>
</DAI>
</SDI>
<SDI name="sche45">
<DAI name="enable">
<Val>0</Val>
</DAI>
<DAI name="day">
<Val>0</Val>
</DAI>
<DAI name="tOn">
<Val>0</Val>
</DAI>
<DAI name="tOnT">
<Val>0</Val>
</DAI>
<DAI name="tOff">
<Val>0</Val>
</DAI>
<DAI name="tOffT">
<Val>0</Val>
</DAI>
<DAI name="minOnPer">
<Val>30</Val>
</DAI>
<DAI name="minOffPer">
<Val>30</Val>
</DAI>
<DAI name="srBefWd">
<Val>30</Val>
</DAI>
<DAI name="srAftWd">
<Val>30</Val>
</DAI>
<DAI name="igBefWd">
<Val>0</Val>
</DAI>
<DAI name="igAftWd">
<Val>0</Val>
</DAI>
<DAI name="Descr">
<Val>ON/OFF schedule</Val>
</DAI>
</SDI>
<SDI name="sche46">
<DAI name="enable">
<Val>0</Val>
</DAI>
<DAI name="day">
<Val>0</Val>
</DAI>
<DAI name="tOn">
<Val>0</Val>
</DAI>
<DAI name="tOnT">
<Val>0</Val>
</DAI>
<DAI name="tOff">
<Val>0</Val>
</DAI>
<DAI name="tOffT">
<Val>0</Val>
</DAI>
<DAI name="minOnPer">
<Val>30</Val>
</DAI>
<DAI name="minOffPer">

SWDevice-010805 318
O pen Smart Grid Platform Documentation

<Val>30</Val>
</DAI>
<DAI name="srBefWd">
<Val>30</Val>
</DAI>
<DAI name="srAftWd">
<Val>30</Val>
</DAI>
<DAI name="igBefWd">
<Val>0</Val>
</DAI>
<DAI name="igAftWd">
<Val>0</Val>
</DAI>
<DAI name="Descr">
<Val>ON/OFF schedule</Val>
</DAI>
</SDI>
<SDI name="sche47">
<DAI name="enable">
<Val>0</Val>
</DAI>
<DAI name="day">
<Val>0</Val>
</DAI>
<DAI name="tOn">
<Val>0</Val>
</DAI>
<DAI name="tOnT">
<Val>0</Val>
</DAI>
<DAI name="tOff">
<Val>0</Val>
</DAI>
<DAI name="tOffT">
<Val>0</Val>
</DAI>
<DAI name="minOnPer">
<Val>30</Val>
</DAI>
<DAI name="minOffPer">
<Val>30</Val>
</DAI>
<DAI name="srBefWd">
<Val>30</Val>
</DAI>
<DAI name="srAftWd">
<Val>30</Val>
</DAI>
<DAI name="igBefWd">
<Val>0</Val>
</DAI>
<DAI name="igAftWd">
<Val>0</Val>
</DAI>
<DAI name="Descr">
<Val>ON/OFF schedule</Val>
</DAI>
</SDI>
<SDI name="sche48">
<DAI name="enable">
<Val>0</Val>
</DAI>
<DAI name="day">
<Val>0</Val>
</DAI>
<DAI name="tOn">
<Val>0</Val>
</DAI>
<DAI name="tOnT">
<Val>0</Val>
</DAI>

SWDevice-010805 319
O pen Smart Grid Platform Documentation

<DAI name="tOff">
<Val>0</Val>
</DAI>
<DAI name="tOffT">
<Val>0</Val>
</DAI>
<DAI name="minOnPer">
<Val>30</Val>
</DAI>
<DAI name="minOffPer">
<Val>30</Val>
</DAI>
<DAI name="srBefWd">
<Val>30</Val>
</DAI>
<DAI name="srAftWd">
<Val>30</Val>
</DAI>
<DAI name="igBefWd">
<Val>0</Val>
</DAI>
<DAI name="igAftWd">
<Val>0</Val>
</DAI>
<DAI name="Descr">
<Val>ON/OFF schedule</Val>
</DAI>
</SDI>
<SDI name="sche49">
<DAI name="enable">
<Val>0</Val>
</DAI>
<DAI name="day">
<Val>0</Val>
</DAI>
<DAI name="tOn">
<Val>0</Val>
</DAI>
<DAI name="tOnT">
<Val>0</Val>
</DAI>
<DAI name="tOff">
<Val>0</Val>
</DAI>
<DAI name="tOffT">
<Val>0</Val>
</DAI>
<DAI name="minOnPer">
<Val>30</Val>
</DAI>
<DAI name="minOffPer">
<Val>30</Val>
</DAI>
<DAI name="srBefWd">
<Val>30</Val>
</DAI>
<DAI name="srAftWd">
<Val>30</Val>
</DAI>
<DAI name="igBefWd">
<Val>0</Val>
</DAI>
<DAI name="igAftWd">
<Val>0</Val>
</DAI>
<DAI name="Descr">
<Val>ON/OFF schedule</Val>
</DAI>
</SDI>
<SDI name="sche50">
<DAI name="enable">
<Val>0</Val>

SWDevice-010805 320
O pen Smart Grid Platform Documentation

</DAI>
<DAI name="day">
<Val>0</Val>
</DAI>
<DAI name="tOn">
<Val>0</Val>
</DAI>
<DAI name="tOnT">
<Val>0</Val>
</DAI>
<DAI name="tOff">
<Val>0</Val>
</DAI>
<DAI name="tOffT">
<Val>0</Val>
</DAI>
<DAI name="minOnPer">
<Val>30</Val>
</DAI>
<DAI name="minOffPer">
<Val>30</Val>
</DAI>
<DAI name="srBefWd">
<Val>30</Val>
</DAI>
<DAI name="srAftWd">
<Val>30</Val>
</DAI>
<DAI name="igBefWd">
<Val>0</Val>
</DAI>
<DAI name="igAftWd">
<Val>0</Val>
</DAI>
<DAI name="Descr">
<Val>ON/OFF schedule</Val>
</DAI>
</SDI>
<SDI name="sche51">
<DAI name="enable">
<Val>0</Val>
</DAI>
<DAI name="day">
<Val>0</Val>
</DAI>
<DAI name="tOn">
<Val>0</Val>
</DAI>
<DAI name="tOnT">
<Val>0</Val>
</DAI>
<DAI name="tOff">
<Val>0</Val>
</DAI>
<DAI name="tOffT">
<Val>0</Val>
</DAI>
<DAI name="minOnPer">
<Val>30</Val>
</DAI>
<DAI name="minOffPer">
<Val>30</Val>
</DAI>
<DAI name="srBefWd">
<Val>30</Val>
</DAI>
<DAI name="srAftWd">
<Val>30</Val>
</DAI>
<DAI name="igBefWd">
<Val>0</Val>
</DAI>

SWDevice-010805 321
O pen Smart Grid Platform Documentation

<DAI name="igAftWd">
<Val>0</Val>
</DAI>
<DAI name="Descr">
<Val>ON/OFF schedule</Val>
</DAI>
</SDI>
<SDI name="sche52">
<DAI name="enable">
<Val>0</Val>
</DAI>
<DAI name="day">
<Val>0</Val>
</DAI>
<DAI name="tOn">
<Val>0</Val>
</DAI>
<DAI name="tOnT">
<Val>0</Val>
</DAI>
<DAI name="tOff">
<Val>0</Val>
</DAI>
<DAI name="tOffT">
<Val>0</Val>
</DAI>
<DAI name="minOnPer">
<Val>30</Val>
</DAI>
<DAI name="minOffPer">
<Val>30</Val>
</DAI>
<DAI name="srBefWd">
<Val>30</Val>
</DAI>
<DAI name="srAftWd">
<Val>30</Val>
</DAI>
<DAI name="igBefWd">
<Val>0</Val>
</DAI>
<DAI name="igAftWd">
<Val>0</Val>
</DAI>
<DAI name="Descr">
<Val>ON/OFF schedule</Val>
</DAI>
</SDI>
<SDI name="sche53">
<DAI name="enable">
<Val>0</Val>
</DAI>
<DAI name="day">
<Val>0</Val>
</DAI>
<DAI name="tOn">
<Val>0</Val>
</DAI>
<DAI name="tOnT">
<Val>0</Val>
</DAI>
<DAI name="tOff">
<Val>0</Val>
</DAI>
<DAI name="tOffT">
<Val>0</Val>
</DAI>
<DAI name="minOnPer">
<Val>30</Val>
</DAI>
<DAI name="minOffPer">
<Val>30</Val>

SWDevice-010805 322
O pen Smart Grid Platform Documentation

</DAI>
<DAI name="srBefWd">
<Val>30</Val>
</DAI>
<DAI name="srAftWd">
<Val>30</Val>
</DAI>
<DAI name="igBefWd">
<Val>0</Val>
</DAI>
<DAI name="igAftWd">
<Val>0</Val>
</DAI>
<DAI name="Descr">
<Val>ON/OFF schedule</Val>
</DAI>
</SDI>
<SDI name="sche54">
<DAI name="enable">
<Val>0</Val>
</DAI>
<DAI name="day">
<Val>0</Val>
</DAI>
<DAI name="tOn">
<Val>0</Val>
</DAI>
<DAI name="tOnT">
<Val>0</Val>
</DAI>
<DAI name="tOff">
<Val>0</Val>
</DAI>
<DAI name="tOffT">
<Val>0</Val>
</DAI>
<DAI name="minOnPer">
<Val>30</Val>
</DAI>
<DAI name="minOffPer">
<Val>30</Val>
</DAI>
<DAI name="srBefWd">
<Val>30</Val>
</DAI>
<DAI name="srAftWd">
<Val>30</Val>
</DAI>
<DAI name="igBefWd">
<Val>0</Val>
</DAI>
<DAI name="igAftWd">
<Val>0</Val>
</DAI>
<DAI name="Descr">
<Val>ON/OFF schedule</Val>
</DAI>
</SDI>
<SDI name="sche55">
<DAI name="enable">
<Val>0</Val>
</DAI>
<DAI name="day">
<Val>0</Val>
</DAI>
<DAI name="tOn">
<Val>0</Val>
</DAI>
<DAI name="tOnT">
<Val>0</Val>
</DAI>
<DAI name="tOff">

SWDevice-010805 323
O pen Smart Grid Platform Documentation

<Val>0</Val>
</DAI>
<DAI name="tOffT">
<Val>0</Val>
</DAI>
<DAI name="minOnPer">
<Val>30</Val>
</DAI>
<DAI name="minOffPer">
<Val>30</Val>
</DAI>
<DAI name="srBefWd">
<Val>30</Val>
</DAI>
<DAI name="srAftWd">
<Val>30</Val>
</DAI>
<DAI name="igBefWd">
<Val>0</Val>
</DAI>
<DAI name="igAftWd">
<Val>0</Val>
</DAI>
<DAI name="Descr">
<Val>ON/OFF schedule</Val>
</DAI>
</SDI>
<SDI name="sche56">
<DAI name="enable">
<Val>0</Val>
</DAI>
<DAI name="day">
<Val>0</Val>
</DAI>
<DAI name="tOn">
<Val>0</Val>
</DAI>
<DAI name="tOnT">
<Val>0</Val>
</DAI>
<DAI name="tOff">
<Val>0</Val>
</DAI>
<DAI name="tOffT">
<Val>0</Val>
</DAI>
<DAI name="minOnPer">
<Val>30</Val>
</DAI>
<DAI name="minOffPer">
<Val>30</Val>
</DAI>
<DAI name="srBefWd">
<Val>30</Val>
</DAI>
<DAI name="srAftWd">
<Val>30</Val>
</DAI>
<DAI name="igBefWd">
<Val>0</Val>
</DAI>
<DAI name="igAftWd">
<Val>0</Val>
</DAI>
<DAI name="Descr">
<Val>ON/OFF schedule</Val>
</DAI>
</SDI>
<SDI name="sche57">
<DAI name="enable">
<Val>0</Val>
</DAI>

SWDevice-010805 324
O pen