Skip to content

Added cosPhiRated to EvModel #263

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Draft
wants to merge 1 commit into
base: dev
Choose a base branch
from
Draft
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 @@ -11,6 +11,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
### Added
- Added Bao and Staudt to the list of reviewers [#216](https://github.com/ie3-institute/simonaAPI/issues/216)
- Documentation for this API [#230](https://github.com/ie3-institute/simonaAPI/issues/230)
- Added cosPhiRated to `EvModel` [#259](https://github.com/ie3-institute/simonaAPI/issues/259)

#### Changed
- Updated PSDM to 6.0.0
Expand Down
9 changes: 7 additions & 2 deletions src/main/java/edu/ie3/simona/api/data/ev/model/EvModel.java
Original file line number Diff line number Diff line change
Expand Up @@ -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<Power> getPRatedAC();
ComparableQuantity<Power> getSRatedAC();

/**
* @return the maximum DC charging power of this ev (as active power)
*/
ComparableQuantity<Power> getPRatedDC();

/**
* @return power factor of this ev
*/
Double getCosPhiRated();

/**
* @return the storage capacity of this ev's battery
*/
Expand Down