Skip to content

Contrib input_converter - update battery #104

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

Merged
merged 3 commits into from
Jun 2, 2025
Merged
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
43 changes: 27 additions & 16 deletions src/andromede/input_converter/data/cc_configuration/battery.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -39,10 +39,12 @@ template:
time-dependent: false
scenario-dependent: false
value:
type: timeseries
type: link
data:
path: input/links/${area}/capacities/z_batteries_direct.txt
column: 0 #Read the first column
area_from: ${area}
area_to: z_batteries
timeseries_file_type: links_capacities_direct
column: 0
operation:
type: max

Expand Down Expand Up @@ -87,9 +89,11 @@ template:
time-dependent: true
scenario-dependent: false
value:
type: timeseries
type: thermal
data:
path: input/thermal/series/z_batteries/z_batteries_batteries_${area}_1/series.txt
area: z_batteries
cluster: z_batteries_batteries_${area}_1
Copy link
Collaborator

Choose a reason for hiding this comment

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

Ajouter field: series , l'idée étant d'appeler la fonction get_series_matrix d4antaresCraft derrière

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Field added

timeseries_file_type: series
column: 0
operation:
divide_by: reservoir_capacity
Expand All @@ -98,9 +102,11 @@ template:
time-dependent: true
scenario-dependent: false
value:
type: timeseries
type: link
data:
path: input/links/${area}/capacities/z_batteries_direct.txt
area_from: ${area}
area_to: z_batteries
timeseries_file_type: links_capacities_direct # peut etre properties ou capacity_indirect
column: 0
operation:
divide_by: injection_nominal_capacity
Expand All @@ -109,9 +115,11 @@ template:
time-dependent: true
scenario-dependent: false
value:
type: timeseries
type: thermal
data:
path: input/thermal/series/${area}/${area}_batteries_inj/series.txt
area: ${area}
cluster: ${area}_batteries_inj
timeseries_file_type: series
column: 0
operation:
divide_by: withdrawal_nominal_capacity
Expand All @@ -120,22 +128,25 @@ template:
time-dependent: true
scenario-dependent: false
value:
type: timeseries
type: link
data:
path: input/links/${area}/capacities/z_batteries_parameters
area_from: ${area}
area_to: z_batteries
timeseries_file_type: links_parameters
column: 0

connections:
- component1: battery_${area}
port1: injection_port
component2: ${area}
port2: balance_port

area-connections: #Syntax for hybrid connections: https://antares-simulator.readthedocs.io/en/latest/user-guide/solver/08-hybrid-studies/
#To handle the case of hybrid studies, where we replace complex modeling artifacts for batteries by a model.
- component: battery_${area}
port: injection_port
area: ${area}

connections:
- component1: battery_${area}
port1: injection_port
component2: ${area}
port2: balance_port

legacy-objects-to-delete:
binding_constraints:
Expand Down
Loading