diff --git a/CHANGELOG.md b/CHANGELOG.md index c751014f..46c3e4fd 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -12,6 +12,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ### Changed - Changes to sent and received em data [#2366](https://github.com/ie3-institute/simonaAPI/issues/366) +- Changed the PRated in the EvModel to SRated and added cosphi to the model [#259](https://github.com/ie3-institute/simonaAPI/issues/259) ### Fixed - Issues related to em data [#2366](https://github.com/ie3-institute/simonaAPI/issues/366) diff --git a/src/main/java/edu/ie3/simona/api/data/model/ev/EvModel.java b/src/main/java/edu/ie3/simona/api/data/model/ev/EvModel.java index 04c1fd05..3f17aa8a 100644 --- a/src/main/java/edu/ie3/simona/api/data/model/ev/EvModel.java +++ b/src/main/java/edu/ie3/simona/api/data/model/ev/EvModel.java @@ -23,15 +23,20 @@ public interface EvModel { String getId(); /** - * @return the maximum AC charging power of this ev (as active power) + * @return the maximum AC charging power of this ev */ - ComparableQuantity getPRatedAC(); + ComparableQuantity getSRatedAC(); /** * @return the maximum DC charging power of this ev (as active power) */ ComparableQuantity getPRatedDC(); + /** + * @return the power factor of this ev + */ + Double getCosPhiRated(); + /** * @return the storage capacity of this ev's battery */