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

fix: max power from shore values #490

Merged
merged 6 commits into from
May 22, 2024
Merged

Conversation

frodehk
Copy link
Contributor

@frodehk frodehk commented May 16, 2024

ECALC-1189

Have you remembered and considered?

  • I have remembered to update documentation
  • I have remembered to update manual changelog (docs/docs/changelog/next.md)
  • I have remembered to update migration guide (docs/docs/migration_guides/)
  • I have committed with BREAKING: in footer or ! in header, if breaking
  • I have added tests (if not, comment why)
  • I have used conventional commits syntax (if you squash, make sure that conventional commit is used)
  • I have included the Jira issue ID somewhere in the commit body (ECALC-XXXX)

Why is this pull request needed?

Max Usage from Shore: Output values does not correspond to input in LTP-report when output frequency is set to e.g. YEAR. It is because the Max Usage from Shore is handled as TimeSeriesVolume. This is not correct. The Max Usage from Shore is the peak load/effect that is expected within an hour, per year. Hence, it should not be handled as volumes. The input from the user is what should be reported in LTP, just reindexed so that it matches the timesteps.

What does this pull request change?

  • Fix output values for Max Usage from Shore: Handle as TimeSeriesFloat
  • Add test

Issues related to this change:

https://equinor-ecalc.atlassian.net/browse/ECALC-1189?atlOrigin=eyJpIjoiYmI4ZmQ4Mjk0ZTFiNDEyYWJjMzhlY2ViMDFlYjJlN2EiLCJwIjoiaiJ9

@frodehk frodehk self-assigned this May 16, 2024
@frodehk frodehk requested a review from a team as a code owner May 16, 2024 10:41
@TeeeJay
Copy link
Collaborator

TeeeJay commented May 21, 2024

also, when did this bug occur? please update jira issue, and if relevant add to changelog if that occured before 8.15

@frodehk
Copy link
Contributor Author

frodehk commented May 21, 2024

also, when did this bug occur? please update jira issue, and if relevant add to changelog if that occured before 8.15

Have updated Jira-issue

@frodehk frodehk force-pushed the ECALC-1189-fix-max-pfs-values branch from a94906f to ec6c6e5 Compare May 21, 2024 12:51
@frodehk frodehk merged commit 1c7a4a1 into main May 22, 2024
9 checks passed
@frodehk frodehk deleted the ECALC-1189-fix-max-pfs-values branch May 22, 2024 09:57
frodehk added a commit that referenced this pull request May 22, 2024
* fix: max power from shore values

ECALC-1189

(cherry picked from commit 1c7a4a1)
frodehk added a commit that referenced this pull request May 22, 2024
* fix: wrong unit max power from shore (#491)

ECALC-1190

(cherry picked from commit f881335)

* fix: max power from shore values (#490)

ECALC-1189

(cherry picked from commit 1c7a4a1)
equinor-schen pushed a commit that referenced this pull request Aug 23, 2024
* fix: max power from shore values

ECALC-1189
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants