-
Notifications
You must be signed in to change notification settings - Fork 4
Add st storage to input converter w tests #83
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
Conversation
killian-scalian
commented
Apr 10, 2025
- Add st storage to yaml converter
- Add tests
scenario_dependent=True, | ||
value=str(lower_rule_curve_path), | ||
), | ||
InputComponentParameter( |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pour la lisibilité, c'est mieux de mettre lower/upper rule curve à la suite
tests/input_converter/conftest.py
Outdated
@@ -139,7 +140,22 @@ def actual_renewable_list_ini(local_study_with_renewable) -> IniFile: | |||
|
|||
|
|||
@pytest.fixture | |||
def local_study_with_st_storage(local_study_with_renewable) -> Study: | |||
def default_thermal_cluster_properties() -> STStorageProperties: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Renommer la fonction default_storage_properties
storage_connections, | ||
) = converter._convert_st_storage_to_component_list(areas, lib_id) | ||
|
||
inflows_path = ( |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Tu pourrais introduire une variable pour stocker study_path / "input" / "st-storage" / "series" / "fr" / "battery"
et éviter de le répéter