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

Tests for BEV facades #142

Merged
merged 53 commits into from
Dec 4, 2023
Merged

Conversation

SabineHaas
Copy link
Member

@SabineHaas SabineHaas commented Nov 13, 2023

Description

Adds tests for the BEV-facade, being developed in #94. For a full list of tests see #139

Fixes #139

Type of change

Please tick or delete options that are not relevant.

  • Bug fix: move conversion_factors of v2g converter and commodity_converter to output flows
  • New feature: Tests for BEV-facade (dispatch)
  • New feature: Tests for BEV-facade (investment)

Checklist:

Please tick or delete options that are not relevant.

  • New and adjusted code is formatted using the pre-commit hooks
  • I have commented my code, particularly in hard-to-understand areas
  • I have made corresponding changes to the documentation
  • I have added tests that prove my fix is effective or that my feature works
  • New and existing unit tests pass locally with my changes
  • If new packages are needed, I added them the setup.py
  • I have added new features/fixes to the CHANGELOG
  • I have added my name to AUTHORS

@SabineHaas SabineHaas requested a review from nailend November 13, 2023 14:15
@SabineHaas SabineHaas self-assigned this Nov 13, 2023
@nailend nailend changed the base branch from dev to feature/battery-electric-vehicle November 13, 2023 15:02
@SabineHaas
Copy link
Member Author

@nailend this PR is ready to review.
This PR should be merged before you go on working on PR #94 to avoid merge conflicts.
I have opened issue #144, to remind us of the tests that need adaptions.

nailend and others added 15 commits December 4, 2023 13:20
After a previous pyomo update some 0 value had to be
changed to 0.0. After a new update, this changes back.
The equal-invest constraint is not necessary anymore as
the flow through the bev-facade is already restricted by the
storage in & outflow. Costs are only applied for the storage.
Although not necessary, we constraint will still be applied to check
the lp files.
This reverts commit 7472a15.
This test is not necessary as there are no further features
compared to the single period one.
Copy link
Collaborator

@nailend nailend left a comment

Choose a reason for hiding this comment

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

Great! Thanks a lot for your work.

@nailend nailend merged commit 3d30c87 into feature/battery-electric-vehicle Dec 4, 2023
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.

Add tests for BEV-component
2 participants