Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
- Refactored method to handle feed in within `ThermalGrid` [#1554](https://github.com/ie3-institute/simona/issues/1554)
- Generalize `WeatherSeriesData` to `SecondarySeriesData` [#1584](https://github.com/ie3-institute/simona/issues/1584)
- Enhance `EnergyPrice` squants [#1583](https://github.com/ie3-institute/simona/issues/1583)
- Chnaged reactive power of EVs in EvcsModel according to simonaAPI [#1250](https://github.com/ie3-institute/simona/issues/1250)

### Fixed
- Fixes in Documentation, ScalaDocs, Code Style and more [#1397](https://github.com/ie3-institute/simona/issues/1397)
Expand Down
2 changes: 1 addition & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ dependencies {
exclude group: 'edu.ie3'
}

implementation('com.github.ie3-institute:simonaAPI:0.11.0') {
implementation('com.github.ie3-institute:simonaAPI:0.12.0') {
exclude group: 'org.apache.logging.log4j'
exclude group: 'org.slf4j'
/* Exclude our own nested dependencies */
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,8 @@ final case class EvModelWrapper(
def uuid: UUID = original.getUuid
def id: String = original.getId

lazy val pRatedAc: Power = original.getPRatedAC.toSquants
lazy val sRatedAc: Power = original.getSRatedAC.toSquants
lazy val cosPhiRated: Double = original.getCosPhiRated
lazy val pRatedDc: Power = original.getPRatedDC.toSquants
lazy val eStorage: Energy = original.getEStorage.toSquants

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ trait EvcsChargingProperties {
): Power = {
val evPower = currentType match {
case ElectricCurrentType.AC =>
ev.pRatedAc
ev.sRatedAc * ev.cosPhiRated
case ElectricCurrentType.DC =>
ev.pRatedDc
}
Expand Down