ScorePlus(Sensorweb Laboratory) Code
Brought to you by:
stanup0128
| File | Date | Author | Commit |
|---|---|---|---|
| batman | 2013-07-29 |
|
[65c96f] initial commit |
| core | 2013-07-29 |
|
[65c96f] initial commit |
| gui | 2013-10-02 |
|
[1e7123] new gui |
| nodeexec | 2013-07-29 |
|
[65c96f] initial commit |
| samples | 2013-07-29 |
|
[65c96f] initial commit |
| syncontroller | 2013-07-29 |
|
[65c96f] initial commit |
| target | 2013-10-02 |
|
[8b00c5] updated |
| vtcontroller | 2013-07-29 |
|
[65c96f] initial commit |
| vtproxy | 2013-07-29 |
|
[65c96f] initial commit |
| Makefile | 2013-10-02 |
|
[9894f0] updated |
| README | 2013-10-02 |
|
[27b474] updated |
| precompile.sh | 2013-07-29 |
|
[65c96f] initial commit |
| scoreplus | 2013-10-02 |
|
[91b958] new |
| scoreplusinit.bash | 2013-10-02 |
|
[201b91] updated |
*This folder contains the source code for scoreplus.
*This project introduce virtual time into CORE (Common Open Research Emulator)
*and integrate it with GridLab-D, a popular power simulator.
*CORE 4.5 and Gridlab-D 3.0 or greater are recommend to work with this project.
=====Install CORE 4.5======
Detailed steps can be found:
http://pf.itd.nrl.navy.mil/core/core-html/install.html#installing-from-source
=====Install Gridlab-D 3.0======
1) Check out Gridlab-D 3.0 code using:
svn co https://svn.code.sf.net/p/gridlab-d/code/branch/3.0
2) To build Gridlab-D 3.0, automake must be version 1.11.1. To install:
Download automake1.11.1 from:
http://ftp.gnu.org/gnu/automake/automake-1.11.1.tar.gz
Then make and make install it.
3)
sudo apt-get install libxerces-c-dev
sudo apt-get install libcppunit-dev
4) In Gridlabd-D 3.0 directory, type:
libtoolize
autoreconf -isf
./configure
make
make install
Gridlabd should be successfully installed. You can check that by:
gridlabd --version
All the previous steps can be achieved by:
./precompile.sh
**********************************************************************
For each of the directories, specifically,
==== batman directory ====
This is the source for routing protocol to be installed in core.
==== core directory ====
The related python codes for the services added in core.
==== gridlabd directory ====
The configuration file, sync scripts and test cases for GridLabD.
==== gui directory ====
This is the gui part extended from the gridspice project.
====================== Netbeans projects ==============================
The following are the independent projects that are created in Netbeans.
To compile the following project:
1) Install netbeans full version IDE with c/c++ plugin from:
https://netbeans.org/downloads/
2) Configure GNU make tools for netbeans:
http://dot.netbeans.org/community/releases/72/cpp-setup-instructions.html
3) Simply open the project through netbeans, then compile and run.
OR in command line:
1) change your current directory to the folder.
2) make
3) Two subdirectory called build and dist will be generated after make.
The generated executable file is located dist/Debug/GNU-Linux-x86/
==== nodeexec directory ====
This project is for the daemon that running in core to faciliatte both virtual
time based core and gridlabd.
==== syncontroller directory ====
This project is to synchronize gridlabd and virtual time based core.
==== vtcontroller directory ====
This project is to control the virtual clocks for each virtual nodes in core.
==== vtproxy directory ====
This project is the daemon program used to freeze and unfreeze processes within core
virtual nodes.
==================To install the above all===================
make
sudo make install
==================To run=======================
sudo /etc/init.d/scoreplus start
scoreplus