Giter Site home page Giter Site logo

lukasrazik / cimverter Goto Github PK

View Code? Open in Web Editor NEW

This project forked from cim-iec/cimverter

0.0 0.0 0.0 1.28 MB

Template based converter from CIM to other formats

Home Page: https://fein-aachen.org/projects/cimverter/

License: GNU General Public License v3.0

CMake 2.37% Smarty 5.34% C++ 89.28% Shell 0.27% Modelica 1.89% Python 0.86%

cimverter's Introduction

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/

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 <CIMverter's Git URL>

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:

cimverter's People

Contributors

achim-voelker avatar taojunli avatar fwege avatar lukasrazik avatar rheinhart avatar dinkelbachjan avatar junjie-zh avatar maxkissgen avatar m-mirz avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.