ie3-institute / simbench2psdm Goto Github PK
View Code? Open in Web Editor NEWTool to convert SimBench data sets to ie³'s power system data model
License: BSD 3-Clause "New" or "Revised" License
Tool to convert SimBench data sets to ie³'s power system data model
License: BSD 3-Clause "New" or "Revised" License
... instead of case objects handed back by a very cruel apply
method. Applies to
LoadProfileType
StorageProfileType
ResProfileType
PowerPlantProfileType
Currently, only a folder of csv files is delivered. Add the functionality to deliver them as archives.
... somehow self-explanatory.
It should be possible to convert multiple data sets concurrently.
Currently, there are several grid models, that consume a lot of memory:
Try to address those cases.
Reporting of test coverage is foreseen to be made with scoverage. This unfortunately has some issues dealing with Scala 2.13.
The validity checks of the config validator seem to only be called in the ConfigValidatorSpec.
By convention, fed in power has a negative sign. Currently, that is not the case.
When going over to PowerSystemDataModel version 3.0, we have to provide the no-load susceptance as a negative value.
When working on big input models or in concurrent operation, the memory is exhausted quite quickly. In order to see, if this is just a very memory consuming application or it is caused due to memory leaks: Have detailed look at it.
Some of the tests of in the Transformer2wTypeConverterSpec
shouldn't pass as the values the actual calculated result is compared against seems to be wrongly parameterized.
For the conductance (gM) the result (as per my pen and paper calculations and implementation of the parameter calculation for the powerfactory2psdm converter) should actually be a third of the noted 2480.5790 nS.
Why do the test pass:
We compare the difference of actual and expected result against the testing tolerance. As we miss to take the absolute value of that difference the tests conveniently still passes when the expected result is much greater than the actual result.
At the moment, all infeed assets are converted to FixedFeedIn
entities with their infeed timeseries attached. It would be nice to have to ability to convert the entities to their PSDM equivalent (e.g. pv -> pv) as configuration parameter.
This would allow using existing models to calculate infeed based on e.g. solar radiation for pv panels instead of using the pre-calculated simbench timeseries.
simBench2psdm/gradle/scripts/spotless.gradle
Lines 16 to 18 in 4a3213d
licenseHeader ie3LicHead, "package.*\\n"
In 78c168d when comparing values of kind:
actual.getgM() should equalWithTolerance(
Quantities.getQuantity(826.44628, MetricPrefix.NANO(SIEMENS))
)
We got failing tests, even though they shouldn't.
The problem of the test failing was the unit even though it was of unit nano Siemens.
Looking into the unit actual had a noted symbol
attribute while expected didn't.
I suspect that it has something to do with the StandardUnits
.
In any case this comparison should work. Find out what this is about
Currently, switches are converted in any case.
Sometimes, a simulator might only support a bus-branch model without switches. Therefore, allow the removal of switches from target data set.
Since the PSDM update: ie3-institute/PowerSystemDataModel#583 an issue within the csv sink.
As of now I did not find an example file for power flow results of nodes.
It should be checked, if the data has to be freshly downloaded or if either a completely converted data set or at least the downloaded archives are apparent.
By implementing a concurrent handling in Coordinator
, e.g. together with kind of a worker pool or controllable amount of children.
The reactance we calculate in the so called "no load experiment" is inductive as it relates to the coil of the transformer. Therefore the susceptance (its inverse) is negative by definition.
Time series are written in their own file, therefore, they can be treated in parallel. However, this feature is currently not supported by PowerSystemDataModel.
... with other ie³ repositories.
In PowerSystemDataModel, the subnet
denotes a galvanically separated sub grid. However, in certain data sets of SimBench this seems not to be the case, e.g. "1-EHV-mixed--0-sw". In this specific example, subnet "EHV1" mixed 380 kV und 220 kV sub grids.
subnet
subnet
, but also consider different voltage levelsCurrently after conversion we do not know anything about the load profiles, as all their metadata isn't persisted.
Write out the additional data.
... e.g. when converting "1-EHVHV-mixed-all-0-no_sw".
Within the routine, the line types get converted and result in pairs of types with similiar / equal attributes, but different rated voltages. Specifically, there are types, with the same electrical parameters, one for 220 kV rated voltage and one for 380 kV.
However, unfortunately, when converting the lines themselves, the wrong type gets select. Let there be a line between two 220 kV-nodes, then a 380 kV line type is selected, although a 220 kV type is available.
Please do research on how that error can occur and try to develop a solution.
JDK should be updated from 1.8 to 17. This will also fix the incompatibility with current SonarQube.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.