No description, website, or topics provided.
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
ModPowerSystems_templates connectors changed Apr 20, 2018
PowerSystems_templates
cmake/Modules update Feb 1, 2017
libcimpp @ 1a02836 update libcimpp Apr 6, 2018
samples
src Merge branch 'master' into 'release' Sep 25, 2018
test renamed to cimverter Sep 19, 2018
.gitignore
.gitlab-ci.yml Update .gitlab-ci.yml Nov 15, 2018
.gitmodules
CMakeLists.txt
Dockerfile
Doxyfile.in add comment Feb 8, 2017
LICENSE Add license Apr 18, 2017
README.md Update README.md Nov 15, 2018

README.md

CIMverter

This tool is used to convert CIM-XML-RDF files into Modelica code.

Licensing

For non-commercial use this software is licensed under the terms in the included LICENSE file. In case of commercial use you are required to negotiate a proper license model with the Institute for Automation of Complex Power Systems at RWTH Aachen University. Therefore please write to acs-sek@eonerc.rwth-aachen.de.

Dependencies:

  • cmake >=3.5
  • clang
  • Boost >= 1.60.0
  • ctemplate >= 2.3
  • libconifg++
  • as submodule: libcimpp with arabica
  • (Doxygen)

Installation steps for Ubuntu Linux:

Install cmake:

sudo apt-get install cmake

Install clang:

sudo apt-get install clang

Get the required libraries:

sudo apt-get update
sudo apt-get install build-essential g++ python-dev autotools-dev libicu-dev build-essential libbz2-dev libboost-all-dev

Install ctemplate:

sudo apt-get install libctemplate-dev

Install Doxygen

sudo apt-get install doxygen

Install Graphviz for document Graph generation

sudo apt-get install graphviz

Install libconfig++

sudo apt-get install libconfig++-dev

To build the CIMverter using cmake by following steps:

Get submodules and GridData submodule:

git submodule update --init --recursive --remote

Build CIMverter with all submodules

1. Create build directory
mkdir build
2. Change into build directory and run cmake
cd build/
cmake -DCMAKE_BUILD_TYPE=Release ..
3. Compile CIMverter and CIMParser
make -j4
4. [optional] Generate doxygen documentation
make document

Usage:

cd build/bin
Command for Usage help:
./CIMverter --help


For developers:

How to update the lastest submodule:

1. cd submodule directory
2. git checkout master or git checkout release
3. git pull
4. git submodule update

Buid in debug mode:

cd build/
cmake -DCMAKE_BUILD_TYPE=Debug ..

Recommand using clion IDE with cmake build system:

  • Makefile will not be used any more because arabica xml parser

Project Folder may has authority problem on Linux:

sudo chown -R [your account username] CIMverter/

setDependencyCheckOff() should be added right now before bug fixed of the CIM Parser

see line 133 in main.cpp

Solve Eclipse CDT indexer unresolve inclusion problem: