Skip to content

Commit

Permalink
Merge branch 'dev' into sp/#267-icon-weather-scheme-adaptions
Browse files Browse the repository at this point in the history
# Conflicts:
#	CHANGELOG.md
#	src/main/java/edu/ie3/datamodel/io/source/couchbase/CouchbaseWeatherSource.java
#	src/main/java/edu/ie3/datamodel/io/source/influxdb/InfluxDbWeatherSource.java
#	src/test/groovy/edu/ie3/datamodel/io/source/couchbase/CouchbaseWeatherSourceCosmoIT.groovy
  • Loading branch information
sebastian-peter committed Mar 3, 2022
2 parents 4b2243d + 3a88caa commit 689cb3e
Show file tree
Hide file tree
Showing 284 changed files with 8,877 additions and 5,705 deletions.
30 changes: 30 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
version: 2
updates:
- package-ecosystem: gradle
directory: "/"
schedule:
interval: daily
time: "04:00"
open-pull-requests-limit: 10
target-branch: dev
reviewers:
- ckittl
- johanneshiry
- t-ober
- sensarmad
- sebastian-peter
- danielfeismann
ignore:
- dependency-name: org.spockframework:spock-core
versions:
- 2.1-groovy-2.5-SNAPSHOT
- 2.1-groovy-3.0-SNAPSHOT
- 2.2-groovy-2.5-SNAPSHOT
- 2.2-groovy-3.0-SNAPSHOT
- 2.2-groovy-4.0-SNAPSHOT
- 2.2-M1-groovy-2.5
- 2.2-M1-groovy-3.0
- 2.2-M1-groovy-4.0
- 2.2-M2-groovy-2.5
- 2.2-M2-groovy-3.0
- 2.2-M2-groovy-4.0
21 changes: 21 additions & 0 deletions .readthedocs.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
# .readthedocs.yaml
# Read the Docs configuration file
# See https://docs.readthedocs.io/en/stable/config-file/v2.html for details

# Required
version: 2

# Set the version of Python and other tools you might need
build:
os: ubuntu-20.04
tools:
python: "3.9"

# Configure python
python:
install:
- requirements: docs/readthedocs/requirements.txt

# Build documentation in the docs/ directory with Sphinx
sphinx:
configuration: docs/readthedocs/conf.py
95 changes: 88 additions & 7 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,81 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

## [Unreleased/Snapshot]

### Added
- SQL time series sources (`SqlTimeSeriesSource` and `SqlTimeSeriesMappingSource`) [#467](https://github.com/ie3-institute/PowerSystemDataModel/issues/467)
- Graph with impedance weighted edges including facilities to create it [#440](https://github.com/ie3-institute/PowerSystemDataModel/issues/440)
- Introducing `SqlIndividualTimeSeriesMetaInformation` which provides sql table names [#513](https://github.com/ie3-institute/PowerSystemDataModel/issues/513)

### Fixed
- Reduced code smells [#492](https://github.com/ie3-institute/PowerSystemDataModel/issues/492)
- Protected constructors for abstract classes
- Use pattern matching
- Remove unused imports
- Use enhanced switch statements
- Replace lambdas with method references
- Use `Stream#toList`
- Adapt visibility for JUnit 5
- Fix JavaDoc creation
- Create JavaDoc with java 17 instead of java 8
- Let JavDoc pass, if there are warnings **ATTENTION:** Should be removed, when JavaDoc is fixed! (cf. Issue [#494](https://github.com/ie3-institute/PowerSystemDataModel/issues/494))

### Changed
- BREAKING: PvInput Model parameter name height changed to elevationAngle [#393](https://github.com/ie3-institute/PowerSystemDataModel/issues/393) :warning:
- BREAKING: Transformer's no load susceptance needs to be zero or negative to pass model validation [#378](https://github.com/ie3-institute/PowerSystemDataModel/issues/378)
- All input data sets for version < 3.0.0 need to be altered!
- Deprecating (as part of [#513](https://github.com/ie3-institute/PowerSystemDataModel/issues/513)):
- `edu.ie3.datamodel.io.csv.timeseries.ColumnScheme`
- `edu.ie3.datamodel.io.csv.FileNameMetaInformation`
- `edu.ie3.datamodel.io.csv.timeseries.IndividualTimeSeriesMetaInformation`
- `edu.ie3.datamodel.io.csv.timeseries.LoadProfileTimeSeriesMetaInformation`
- `edu.ie3.datamodel.io.connectors.CsvFileConnector.CsvIndividualTimeSeriesMetaInformation`
- and related methods
- BREAKING: Comprehensive harmonization around weather sources [#267](https://github.com/ie3-institute/PowerSystemDataModel/issues/267)
- Adapted the expected column scheme
- General weather model
- `coordinate` to `coordinateid`
- DWD COSMO model
- `diffuseirradiation` to `diffuseirradiance`
- `directirradiation` to `directirradiance`
- ICON model:
- `"datum"` to `"time"`
- Get field name in different casing (to actually get the column name in database, file, ...)
- Force user to provide time stamp pattern to `CouchbaseWeatherSource` to ensure harmonized querying

## [2.1.0] - 2022-01-05

### Added
- added `EvcsLocationType` support in `EvcsInput` and `EvcsInputFactory` [#406](https://github.com/ie3-institute/PowerSystemDataModel/issues/406)
- Opportunity to close writer in `CsvFileSink`
- Generified SQL data sources for future extensions

### Fixed
- adapted `LineInput` constructor to convert line length to `StandardUnits.LINE_LENGTH` [#412](https://github.com/ie3-institute/PowerSystemDataModel/issues/412)

### Changed
- Writers used to write time series are closed right away

## [2.0.1] - 2021-07-08

### Fixed
- fix CHANGELOG.md
- replace `LogManager` calls with `LogFactory` for facade logging support

## [2.0.0] - 2021-05-21

### Added
- added `ResultEntitySource` interface
- added `CsvResultEntitySource` implementation to read `ResultEntity` instances from .csv files
- added target temperature including tolerance boundaries to `ThermalHouseInput`

### Changed
- separated entity and file naming and introduced a new FileNamingStrategy taking an EntityNamingStrategy and a FileHierarchy as arguments

### Fixed
- `CsvSystemParticipantSource#getSystemParticipants()` now correctly returns electric vehicle charging station input models [PR#370](https://github.com/ie3-institute/PowerSystemDataModel/pull/370)

## [2.0.0] - 2021-05-21

### Added
- definition for a default input file directory structure
- tarball utils to extract and compress files
Expand All @@ -30,12 +105,15 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
- Reworking the time series source (one source per time series, distinct mapping source, factory pattern)
- BREAKING: Moved methods `buildSafe{Coord,Point,LineString,LineStringBetweenCoords,LineStringBetweenPoints}`, `totalLengthOfLineString` from `GridAndGeoUtils` to `GeoUtils` in [_PowerSystemUtils_](https://github.com/ie3-institute/PowerSystemUtils)
- BREAKING: Moved `CoordinateDistance` to [_PowerSystemUtils_](https://github.com/ie3-institute/PowerSystemUtils)
- BREAKING: Weather source
- Adapted data scheme (COSMO: `"coordinate"` to `"coordinate id"`, `"irradiation"` to `"irradiance"`, ICON: `"datum"` to `"time"`)
- Harmonized the source of coordinate id column name across implementations of `WeatherSource`
- Get field name in different casing (to actually get the column name in database, file, ...)
- Force user to provide time stamp pattern to `CouchbaseWeatherSource` to ensure harmonized querying
- Use naming convention dependent field names from factories within `InfluxDBWeatherSource`
- Factory methods for `SubGridGate`
- BREAKING: Inheritance hierarchy of exceptions all around entity validation

### Removed
- BREAKING: Removed deprecated code parts
- Intermingled builder pattern and constructors in `SubGridGate`
- `TarballUtils` that have been transferred to `FileIOUtils` in [_PowerSystemUtils_](https://github.com/ie3-institute/PowerSystemUtils)
- `FileNamingStrategy` that has been transferred to `EntityPersistenceNamingStrategy`
- `EvCharacteristicInput` and `TimeSeriesContainer` that shouldn't be used anymore

### Fixed
- InfluxDbConnector now keeps session instead of creating a new one each call
Expand Down Expand Up @@ -83,5 +161,8 @@ coordinates or multiple exactly equal coordinates possible
- CsvDataSource now stops trying to get an operator for empty operator uuid field in entities
- CsvDataSource now parsing multiple geoJson strings correctly

[Unreleased/Snapshot]: https://github.com/ie3-institute/powersystemdatamodel/compare/1.1.0...HEAD
[Unreleased/Snapshot]: https://github.com/ie3-institute/powersystemdatamodel/compare/2.1.0...HEAD
[2.1.0]: https://github.com/ie3-institute/powersystemdatamodel/compare/2.0.1...2.1.0
[2.0.1]: https://github.com/ie3-institute/powersystemdatamodel/compare/2.0.0...2.0.1
[2.0.0]: https://github.com/ie3-institute/powersystemdatamodel/compare/1.1.0...2.0.0
[1.1.0]: https://github.com/ie3-institute/powersystemdatamodel/compare/6a49bc514be8859ebd29a3595cd58cd000498f1e...1.1.0
Loading

0 comments on commit 689cb3e

Please sign in to comment.