From dfb2faa5825f3d3cff7117f3d29076d95e4efe35 Mon Sep 17 00:00:00 2001 From: Karthik K Date: Thu, 18 Dec 2025 22:13:07 +0100 Subject: [PATCH 1/2] Resolves #421 Provide getter for 'Evcs.cosPhiRated()'created public interface EvcsModel based on EvModel as reference --- .../simona/api/data/model/ev/EvcsModel.java | 39 +++++++++++++++++++ 1 file changed, 39 insertions(+) create mode 100644 src/main/java/edu/ie3/simona/api/data/model/ev/EvcsModel.java diff --git a/src/main/java/edu/ie3/simona/api/data/model/ev/EvcsModel.java b/src/main/java/edu/ie3/simona/api/data/model/ev/EvcsModel.java new file mode 100644 index 00000000..df7b9982 --- /dev/null +++ b/src/main/java/edu/ie3/simona/api/data/model/ev/EvcsModel.java @@ -0,0 +1,39 @@ +/* + * © 2025. TU Dortmund University, + * Institute of Energy Systems, Energy Efficiency and Energy Economics, + * Research group Distribution grid planning and operation + */ + +package edu.ie3.simona.api.data.model.ev; + +import java.util.UUID; +import javax.measure.quantity.Power; +import tech.units.indriya.ComparableQuantity; + +public interface EvcsModel { + + /** + * @return the uuid of this evcs + */ + UUID getUuid(); + + /** + * @return the id of this evcs + */ + String getId(); + + /** + * @return the maximum AC apparent power rating of this evcs + */ + ComparableQuantity getSRatedAC(); + + /** + * @return the maximum DC apparent or active power rating of this evcs + */ + ComparableQuantity getPRatedDC(); + + /** + * @return the rated power factor (cos φ) of this evcs + */ + double getCosPhiRated(); +} From e76a9b7978891c36bb97d52153185b1eab7c0dee Mon Sep 17 00:00:00 2001 From: kkarthik11 <58599230+kkarthik11@users.noreply.github.com> Date: Thu, 18 Dec 2025 22:18:10 +0100 Subject: [PATCH 2/2] Update CHANGELOG.md Resolves #421 changelog --- CHANGELOG.md | 1 + 1 file changed, 1 insertion(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index f52c31e9..6a13e102 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -8,6 +8,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ### Added - Enhanced `ExtEmDataConnection` with `simulateInternal` method [#398](https://github.com/ie3-institute/simonaAPI/issues/398) +- created public interface EvcsModel based on EvModel as reference [#421](https://github.com/ie3-institute/simonaAPI/issues/421) ### Changed - Splitting up `ExtSimAdapterData` into `SetupData` and a data connection [#400](https://github.com/ie3-institute/simonaAPI/issues/400)