Comments (6)
Hi @morje-datta, welcome to DPSim! As far as our knowledge goes, Fedora 36 is fully supported and our CI is actually using that specific version to build and test.
We would be keen to help, but we need more information. If you are a beginner with DPSim, one good starting point is to try to compile using the docker image that already includes all the things you need to succeed. That being said, if you are trying to compile natively then you need to self-support yourself a bit, you may want to ensure you have all the required dependencies installed. You can figure that out from the docker container and/or the scripts.
Another point to take in account, is that usually it is a little easier to compile using gcc than clang, some library support is better. That does not seems to be your choice from the screenshot provided. In the documentation steps we are using gcc
.
Additionally, two more things to try: 1) run cmake
from the terminal as it is described in the documentation, and include the target (for this case --target WSCC-9bus_CIM
) and 2) run the file generated in the build
folder using the terminal for example ./build/dpsim/examples/cxx/WSCC-9bus_CIM
(and not via Visual Studio Code). Configuring cmake
in VSC can be a tricky task.
If you need more support, feel free to provide more details here. Another option is to join the slack channel #sogno-dpsim (as described in the repo) and ask there.
from dpsim.
Hie @leonardocarreras above reply was help to me. Library was build using docker image. I have run the command(./build/dpsim/examples/cxx/WSCC-9bus_CIM) from terminal it got run and shown the output.
when i made changes to the WSCC-9bus_CIM.cpp file(change finalTime =0.1=>finalTime =1) and try to build it give me following error
/usr/bin/ld: cannot find -lGSL_LIBRARY-NOTFOUND
/usr/bin/ld: cannot find -lGSL_CBLAS_LIBRARY-NOTFOUND
collect2: error: ld returned 1 exit status
from dpsim.
Hi, I cannot reproduce the error, would you mind to maybe start again from scratch?
The output for me is
For the time/timestep, actually there is a small error in the code, you need to change
dpsim/dpsim/examples/cxx/CIM/WSCC-9bus_CIM.cpp
Lines 60 to 61 in 204eb27
for
![image](https://private-user-images.githubusercontent.com/88666277/346125181-f0087f3e-fa41-475e-9686-ba0a7a1baaf0.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjEyNzA4NDksIm5iZiI6MTcyMTI3MDU0OSwicGF0aCI6Ii84ODY2NjI3Ny8zNDYxMjUxODEtZjAwODdmM2UtZmE0MS00NzVlLTk2ODYtYmEwYTdhMWJhYWYwLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDA3MTglMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwNzE4VDAyNDIyOVomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTExYmEzMDI1OTBkODY1ODJmNzUxMTVhN2FmOTEzYzRlMGVjNDk3Njk2NmU1ZmViZmI2ZjZiNWIzZGQ0ZTg1MGImWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.Oh6zZjAk1wPuzFRUIITeNfxXpXx-_Q16273YKyajjH8)
from dpsim.
I have deleted the all file and started from scratch. It work for me. Right now i am trying with python binding getting following error while running the program.
I have build dpsimpy and dpsimpyvillas same as mentioned in documentation but getting error mentioned in screenshot
from dpsim.
Hi, I think it will surely have something to do with the way you setup your VScode. Remember you need to connect to the kernel inside the docker container, not into some other part.
So, after you build, you need to start the jupyter server in the container.
cd /dpsim/build
export PYTHONPATH=$(pwd):$(pwd)/../python/src/
cd /dpsim
jupyter lab --ip="0.0.0.0" --allow-root --no-browser
After this, you select Select another kernel -> Existing Jupyter Server
There you enter the url to the machine (address/port) and the password is the token you see in the log of the server in the docker container
from dpsim.
Related Issues (20)
- Powerflow improvements and extended validation HOT 1
- Ensure that virtual nodes of subcomponents are created before function `collectVirtualNodes`
- Improve the code checking pipeline to keep sonar up-to-date automatically
- Use higher number of cores for CI build processes
- Building on Ubuntu 22.04 HOT 1
- Pipeline failing for Windows
- Delete stale branches HOT 1
- Configure GitHub repo delete merged branches automatically HOT 2
- Introduce a `CODEOWNERS` file HOT 19
- Reuse conductance stamp code HOT 4
- State Space Group Class
- Fix VILLASnode in Dockerfiles HOT 2
- Log at debug level HOT 1
- CI Flow does not work for Dockerfile changes HOT 3
- Merge MnaSolver and MnaSolverDirect classes HOT 1
- A typo in dpsim_classes_simulation.svg HOT 2
- Allow initialisation of p_inj and q_inj in SP_NetworkInjection
- Heap allocations in real time critical path lead to significant slow down HOT 1
- Inconsistent attribute names for Base::Ph1::Switch and Base::Ph3::Switch
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from dpsim.