PowerRPDEVS has been tested on the following operating systems:
Kubuntu18.04, Ubuntu16.04, Kubuntu16.04, Lubuntu16.04 (it should also work on K/Ubunut14.04)
If you use any other Linux-Distro, please try the installation procedure for Lubuntu16.04 / Ubuntu16.04 described beneath and give me feedback, if it worked.
Otherwise, install Lubuntu18.04 in a virtual machine.
To install PowerRPDEVS on Ubuntu18.04 or Lubuntu18.04 do the following:
1) download the source code from
https://sourceforge.net/p/powerrpdevs/code
2) unzip the file somewhere in your home dir
3) install dependencies via typing the following in a console:
sudo apt-get install libprotobuf-dev libprotobuf-java protobuf-compiler pkg-config qt5-qmake qt5-default libqt5svg5-dev libboost-chrono-dev libboost-system-dev libboost-filesystem-dev libboost-thread-dev libhdf5-dev gnuplot gnuplot-x11 gtkwave kdbg
when using K/Ubuntu14.04, replace the packages
qt5-qmake qt5-default libqt5svg5-dev
by
qt4-qmake qt4-default libqt4svg5-dev
4) navigate into your PowerRPDEVS folder and type in the console:
make
and
cp ./bin/original.ini ./bin/powerdevs.ini
5) start the PowerRPDEVS model editor, by executing the file
<POWERRPDEVSDIR>/bin/pdme
e.g. by typing
./bin/pdme&
Documentation
To be able to also build the doxygen source code documentation, the packages
sudo apt-get install doxygen graphviz
are necessary.
To generate the documentation, navigate into the folder
<POWERRPDEVSDIR>/doc
and execute in a terminal:
doxygen PowerRPDEVS_doxyfile
This launches the generation of both, a LaTeX version, and a html version of the source code documentation.
The html docu can be viewed by opening the file
<POWERRPDEVSDIR>/doc/index.html
in an internet browser.