Skip to content
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

Align determination of nextState at ChpModel and HpModel #516

Open
wants to merge 3 commits into
base: dev
Choose a base branch
from

Conversation

danielfeismann
Copy link
Member

resolves #515

@danielfeismann danielfeismann added the code quality Code readability or efficiency is improved label Apr 27, 2023
@danielfeismann danielfeismann self-assigned this Apr 27, 2023
@danielfeismann danielfeismann marked this pull request as ready for review April 27, 2023 10:23
@t-ober t-ober added the wontfix This will not be worked on label May 17, 2023
@t-ober
Copy link
Contributor

t-ober commented May 17, 2023

Will not be worked on for know. Address when implementing the CHPAgent or when the updated HPAgent is merged.

@@ -78,8 +78,10 @@ final case class ChpModel(
*/
override protected def calculateActivePower(
chpData: ChpRelevantData
): ComparableQuantity[Power] =
): ComparableQuantity[Power] = {
calculateNextState(chpData)
Copy link
Contributor

@t-ober t-ober May 17, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This seems wrong since we don't do anything with the state here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
code quality Code readability or efficiency is improved wontfix This will not be worked on
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Have ChpModel make use of the new model states
2 participants