Comments (3)
@Zecao Sorry, I missed your message in December!
It's faster than OpenDSSEngine.dll (but right now I cannot tell you how much fast). Thank you!
Nice! I'm preparing a new release as soon as I have some time to finish a new feature. More recent versions of DSS C-API are faster and we're testing some further modifications internally at Unicamp to achieve better performance overall.
since at some point of 2018 OpenDSSEngine.dll started to crash when I try to do that.
Yeah, version 8 had(has?) some issues but should be more stable now. I noticed that they started providing updated DLLs for version 7 too (which only omits the diakoptics/circuit-tearing and parallel-machine code).
But the issue itself is: is the method get_CktElements from DSSCircuit ported to dss_sharp? Its is the only line that I have to comment in my code to everything works.
I'll take a look at it soon -- indeed it is missing (from all versions, C#, Python and MATLAB) but seems easy to implement with the methods already present in the lower level API.
from dss_sharp.
@Zecao: I just added get_CktElements
and get_Buses
.
I'm working on releasing DSS C-API 0.10.1, so I made a pre-release for DSS# while it's not done:
https://github.com/PMeira/dss_sharp/releases/tag/0.10.1a1
If you find any issues, you can replace the dss_capi.dll
with version 0.10.0 and it should work fine.
There are probably a few methods still missing in the .NET version, so please feel free to report them if find any.
I also created some more issue tickets to keep track of what is currently planned. I'll probably give priority to #5, since in .NET exceptions are more natural than manually checking the error number.
I'll take a look at it soon -- indeed it is missing (from all versions, C#, Python and MATLAB) but seems easy to implement with the methods already present in the lower level API.
It was actually implemented in Python, it's just exposed a bit differently. I took the opportunity to extend the error checking in DSS C-API for the related functions.
from dss_sharp.
@Zecao: I just added
get_CktElements
andget_Buses
.I'm working on releasing DSS C-API 0.10.1, so I made a pre-release for DSS# while it's not done:
https://github.com/PMeira/dss_sharp/releases/tag/0.10.1a1
If you find any issues, you can replace the
dss_capi.dll
with version 0.10.0 and it should work fine.
Iยดve just tested and its working fine. Thank you!
I also created some more issue tickets to keep track of what is currently planned. I'll probably give priority to #5, since in .NET exceptions are more natural than manually checking the error number.
I will download the whole project and try to figure out what have you planned. If I could help in anything...
from dss_sharp.
Related Issues (15)
- AppVeyor build automation HOT 1
- Thread-safety for parallel calculations and reading results HOT 2
- Alternative API/class library HOT 2
- OpenDSS version HOT 7
- .NET 7: LibraryImportAttribute HOT 2
- Make exceptions optional
- Expose the DSSEvents API
- Evaluate integration with other libraries
- Use custom marshalers for all data pointers
- Use CheckForError more frequently
- Multiplatform support
- Expose for COM interop HOT 1
- methods "calcincmatrix_o" and "Export IncMatrix" HOT 6
- DSS Sharp 0.11 based on DSS C-API 0.11.0
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 dss_sharp.