Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
ACS
Public
Power System Simulation and Optimization
DPsim
DPsim
Commits
508131f4
Commit
508131f4
authored
Sep 20, 2017
by
Georg Martin Reinke
Browse files
update build instructions
Former-commit-id:
58eae23c
parent
e8c6f66b
Changes
1
Hide whitespace changes
Inline
Side-by-side
README.md
View file @
508131f4
## Tasks
-
Sychronous generator model interfaced through current source
-
connect with CIM parser
-
include boost library for additional math functions and general tasks
## Setup
## Build
Make sure that all subrepos (CIM-XML-Parser and arabica) are checked out.
### Windows
TODO: build with Python under Windows?
1.
Install Visual Studio 2017 C++ Desktop development package plus Windows 8.1 SDK
2.
Create a new folder name
`Libraries`
in the repository root, download
[
Eigen
](
http://eigen.tuxfamily.org
)
and copy it to
`Libraries/eigen`
.
3.
Install
[
CMake
](
https://cmake.org/download/
)
, use its GUI (with
`Source`
as the source path) to create project files for Visual Studio.
...
...
@@ -29,6 +26,12 @@ $ cd Source/build
$ cmake ..
$ make
```
4.
Install the generated module:
```
# make install
```
Another option is to manually rename the generated module (from Source/build/libdpsim.so
to dpsim.so) and ensure that dpsim.so is in somewhere in your PYTHONPATH.
## Basic git commands
*
initial download: git clone [url]
...
...
@@ -37,9 +40,3 @@ $ make
*
add modification or new file to commit: git add --all OR git add [filename]
*
create commit: git commit -m 'your comment'
*
push commits from local repo to server: git push
## Netlist structure
*
**separate items with comma and end line with comma**
*
see examples and store new netlist files in DPSolver/netlists
*
first line: time step, final time e.g. 0.001,0.1,
*
following lines: class name, component name, node1, node2, paramter1, parameter2... e.g. Resistor,R1,0,1,10
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment