diff --git a/gui-configuration/connections configuration.yml b/gui-configuration/connections configuration.yml new file mode 100644 index 00000000..8633f657 --- /dev/null +++ b/gui-configuration/connections configuration.yml @@ -0,0 +1,65 @@ + +id : my_connections + +taxonomy : my_taxonomy + +connections : + + - id : connection 1 + category 1: + taxonomy-category : + - id : balance + ports : + - id : balance_port + category 2 : + taxonomy-category : + - id : production + - id : consumption + - id : storage + ports : + - id : balance_port + + - id : connection 2 + category 1 : + taxonomy-category : + - id : balance + ports : + - id : balance_port + category 2 : + taxonomy-category : + - id : link + - id : converter + ports : + - id : in_port + + - id : connection 2_bis + category 1 : + taxonomy-category : + - id : balance + ports : + - id : balance_port + category 2 : + taxonomy-category : + - id : link + - id : converter + ports : + - id : out_port + + - id : connection 4 + category 1 : + taxonomy-category : + - id : quota + ports : + - id : emissions + category 2 : + taxonomy-category : + - id : production + - id : consumption + - id : storage + ports : + - id : emissions + + + + + diff --git a/gui-configuration/ihm configuration.yml b/gui-configuration/ihm configuration.yml new file mode 100644 index 00000000..2b19cd65 --- /dev/null +++ b/gui-configuration/ihm configuration.yml @@ -0,0 +1,80 @@ +id: ihm_configuration_1 + +taxonomy: my_taxonomy + +#TO DO : open questions +## Instantiation -> mention a window id ? Link with the "displayed category" ? +## How do reflect the fact that one_node_content_window is not at the same level than node_window ? +## Syntax for locational filter and locational category should be refined +## Is there really a need to define "connections", in another file? + +maps-interface: + visual-graph-nodes: + - taxonomy-category: balance + instantiation: true #TO DO : one option could be to refer to the windows-interface id + visual-graph-edge-types: + - id: type_1 + taxonomy-category: link + instantiation: true #TO DO : one option could be to refer to the windows-interface id + - id: type_2 + taxonomy-category: converter + instantiation: true #TO DO : one option could be to refer to the windows-interface id + +windows-interfaces: + - id: node_window + displayed-category: + - taxonomy-category: balance + locational-category: + - taxonomy-category: balance + locational-filter: + - taxonomy-category: balance + + - id: one_node_content_window + displayed-category: + - taxonomy-category: production + - taxonomy-category: consumption + - taxonomy-category: storage + locational-category: + - taxonomy-category: balance + connection: connection_1 + locational-filter: + - taxonomy-category: balance + connection-filter: + - connection: connection_2 + + - id: edge_window_link + displayed-category: + - taxonomy-category: link + locational-category: + - taxonomy-category: balance + connection: connection_2 + - taxonomy-category: balance + connection: connection_2_bis + locational-filter: + - taxonomy-category: balance + connection-filter: # pour chaque noeud, on vérifie si un lien est connecté par connection2 ou connection 2_bis + - connection: connection_2 + - connection: connection_2_bis + + - id: edge_window_converter + displayed-category: + - taxonomy-category: converter + locational-category: + - taxonomy-category: balance + connection: connection_2 + - taxonomy-category: balance + connection: connection_2_bis + locational-filter: + - taxonomy-category: balance + connection-filter: # pour chaque noeud, on vérifie si un lien est connecté par connection2 ou connection 2_bis + - connection: connection_2 + - connection: connection_2_bis + + - id: coupling_objects_window + displayed-category: + - taxonomy-category: coupling + locational-category: + - taxonomy-category: production + - taxonomy-category: consumption + - taxonomy-category: storage + connection: connection_3 # the syntax differs from above diff --git a/ihm configuration.yml b/ihm configuration.yml new file mode 100644 index 00000000..4736e923 --- /dev/null +++ b/ihm configuration.yml @@ -0,0 +1,82 @@ +id: ihm_configuration_1 + +taxonomy: my_taxonomy + +maps-interface: + visual graph node: + - taxonomy-category: balance + - instantiation: true + visual graph edge type 1: + - taxonomy-category: link + - instantiation: true + visual graph edge type 2: + - taxonomy-category: converter + - instantiation: true + +windows-interface: + node interface: + id: node interface + displayed-category: + - taxonomy-category: balance + locational-category: + - taxonomy-category: balance + locational-filter: + - taxonomy-group: balance + + one-node connection models interface: + id: one-node connection models interface + displayed-category: + - taxonomy-category: production + - taxonomy-category: consumption + - taxonomy-category: storage + locational-category: + - taxonomy-group: balance + connections: + - taxonomy-group: connection 1 + locational-filter: + - taxonomy-group: balance + connection-filter: + - connection: connection 1 + + edge type 1 interface: + id: edge type 1 interface + displayed-category: + - taxonomy-category: link + locational-category: + - taxonomy-group: balance + connections: + - connection: connection 2 + - taxonomy-group: balance + - connection: connection 2_bis + locational-filter: + - taxonomy-group: balance + connection-filter: + - connection: connection 2 + - connection: connection 2_bis + + edge type 2 interface: + id: edge type 2 interface + displayed-category: + - taxonomy-category: converter + locational-category: + - taxonomy-group: balance + connections: + - connection: connection 2 + - taxonomy-group: balance + - connection: connection 2_bis + locational-filter: + - taxonomy-group: balance + connection-filter: + - connection: connection 2 + - connection: connection 2_bis + + coupling interface: + id: coupling interface + displayed-category: + - taxonomy-category: Quota + locational-category: + - taxonomy-category: production + - taxonomy-category: consumption + - taxonomy-category: storage + connections: + - connection: connection 3 \ No newline at end of file diff --git a/libraries/andromede_models.yml b/libraries/andromede_models.yml index 84b76e69..ec7be8ec 100644 --- a/libraries/andromede_models.yml +++ b/libraries/andromede_models.yml @@ -22,16 +22,17 @@ library: models: - id: flexible_load + taxonomy-category: consumption parameters: - - id: min_load - time-dependent: true - scenario-dependent: true - - id: max_load - time-dependent: true - scenario-dependent: true - - id: marginal_flexibility_cost - time-dependent: false - scenario-dependent: false + - id: min_load + time-dependent: true + scenario-dependent: true + - id: max_load + time-dependent: true + scenario-dependent: true + - id: marginal_flexibility_cost + time-dependent: false + scenario-dependent: false variables: - id: load lower-bound: min_load @@ -47,9 +48,14 @@ library: - port: balance_port field: flow definition: -load + properties: + - id : carrier + - id : technology + - id: electrolyser + taxonomy-category: converter parameters: - id: efficiency scenario-dependent: false diff --git a/taxonomies/taxonomy_example.yml b/taxonomies/taxonomy_example.yml new file mode 100644 index 00000000..2834db35 --- /dev/null +++ b/taxonomies/taxonomy_example.yml @@ -0,0 +1,95 @@ +# Copyright (c) 2024, RTE (https://www.rte-france.com) +# +# See AUTHORS.txt +# +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +# SPDX-License-Identifier: MPL-2.0 +# +# This file is part of the Antares project. + +taxonomy: + id: my_taxonomy + description: GEMS taxonomy configuration. This is an example to illustrate the data structure of a taxonomy configuration file. It is not meant to be used as is. + + categories: + + - id: balance + variables: + - id: unsupplied_energy + - id: spilled_energy + ports: + - id: balance_port + constraints: + - id: balance + extra-outputs: + - id: price + - id: imbalance_cost + - id: is_loss_of_load + properties: + - id: carrier + + - id: production + parameters: + - id: total_p_max + ports: + - id: balance_port + properties: + - id: carrier + - id: technology + extra-outputs: + - id: up_margin + - id: down_margin + + - id: dispatchable_production + parent-category: production + variables: # just an example of how to use variables in a category + - id: generation + extra-outputs: + - id: proportional_cost + - id: non_proportional_cost + - id: nb_units_on + + - id: fatal_production + parent-category: production + parameters: + - id: generation + + - id: consumption + extra-outputs: + - id: withdrawal + ports: + - id: balance_port + properties: + - id: carrier + + - id: fatal_consumption + parent-category: consumption + + - id: flexible_consumption + parent-category: consumption + parameters: + - id: min_load + - id: max_load + + + - id: storage + # To be continued + + - id: link + ports: + - id: out_port + - id: in_port + + - id: converter + ports: + - id: out_port + - id: in_port + + - id: coupling_models + + - id: capacity_investment_decisions + ports: + - id: capacity_port