Skip to content

fwege/cimverter

 
 

Repository files navigation

CIMverter

CIMverter is a tool to convert CIM-XML-RDF files into Modelica code. It was developed and is maintained by the Institute for Automation of Complex Power Systems at RWTH Aachen University. For further project information, as well as a documentation of the CIM standard, visit https://www.fein-aachen.org/projects/

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 [email protected].

Dependencies:

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

Installation

Installation of depenencies

sudo apt-get update
sudo apt-get install cmake clang build-essential g++ python-dev autotools-dev libicu-dev build-essential libbz2-dev libboost-all-dev libctemplate-dev doxygen graphviz libconfig++-dev

Get CIMverter

git clone --recurse-submodules https://github.com/RWTH-ACS/CIMverter.git

Build CIMverter with all submodules

mkdir build
cd build/
cmake ..
make -j4

Generate doxygen documentation (optional)

make document

Usage

There are two possibilitys to execute CIMverter. First:

cd bin
./CIMverter --help

Second:

export CIMVERTER_HOME=your/path/to/build/bin/
./bin/CIMverter --help


For developers:

To update the latest submodules enter the respective submodule directory pull the needed version:

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

To use CIMverter in Debug mode, change the build version to Debug:

cd build/
cmake -DCMAKE_BUILD_TYPE=Debug ..

We recommend using clion IDE with cmake build system:

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

Known Errors

Authority problems

If your project Folder has authority problems, change the owner of it:

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:

About

Template based converter from CIM to other formats

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • C++ 89.2%
  • Smarty 5.3%
  • CMake 2.4%
  • Modelica 1.9%
  • Other 1.2%