Distributed Energy Resource Aggregation System
sudo apt-get update
sudo apt-get upgrade
sudo apt-get install git build-essential gcc g++ cmake make xsltproc scons doxygen graphviz libgtk2.0-dev libssl-dev libxml2-dev libcap-dev
mkdir ~/dev ~/src
First clone the AllJoyn repository into your /src folder.
cd ~/src
git clone https://github.com/alljoyn/core-alljoyn
cd core-alljoyn
scons BINDINGS=cpp WS=off DOCS=html
Note: the CPU variable is dependant on your system.
export CPU=x86_64
export AJ_LIB=~/src/core-alljoyn/build/linux/$CPU/debug/dist/cpp/lib
export LD_LIBRARY_PATH=$AJ_LIB:$LD_LIBRARY_PATH
cd $AJ_LIB
cd ../bin/samples
./AboutService
If the BusAttachment/AboutObj succeed, then the installation should be fine.
cd ~/dev
git clone https://github.com/Tylores/DERAS
- Open /DERAS/tools/build-run.sh
- Modify "CPU" to reflect the system you are working on
- Ensure "AJ_ROOT" is correct
cd ~/dev/DCS/tools
./build-run.sh
The program can be controlled two ways:
- TODO: Operator class that will execute commands based on input file.
- The Command Line Interface (CLI).
[Help]
> q quit
> h help
> i <watts> import power
> e <watts> export power
> p print properties