Skip to content

Commit

Permalink
Merge pull request #3111 from quintel/ctm-etm-coupling-final
Browse files Browse the repository at this point in the history
CTM-ETM coupling: final changes
  • Loading branch information
mabijkerk committed Aug 30, 2024
2 parents 24c4b8a + 7b24b84 commit a67ca34
Show file tree
Hide file tree
Showing 36 changed files with 188 additions and 175 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
- type = share
- reversed = false
- groups = [final_demand, chemical_industry, fertilizers_industry, aggregated_chemical_industry]

~ parent_share = 0.0
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
- type = share
- reversed = false
- groups = [final_demand, chemical_industry, fertilizers_industry, aggregated_chemical_industry]

~ parent_share = 1.0
Original file line number Diff line number Diff line change
Expand Up @@ -7,3 +7,4 @@
- input.wood_pellets = 0.0
- input.crude_oil = 0.0
- input.hydrogen = 0.0
- input.ammonia = 0.0
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@
# Cost attributes are taken from network gas burner, heat_output_capacity converted to typical_input_capacity

- use = energetic
- output.loss = elastic
- output.not_defined = 1.0
- input.electricity = 0.5
- input.useable_heat = 0.5
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
- query = UPDATE(INPUT_SLOTS(V(industry_chemicals_fertilizers_external_coupling_node_non_energetic),ammonia), conversion, DIVIDE(USER_INPUT(),100.0))
- share_group = external_coupling_chemicals_fertilizers_non_energetic_input
- priority = 0
- max_value = 100.0
- min_value = 0.0
- start_value_gql = present:V(industry_chemicals_fertilizers_external_coupling_node_non_energetic,ammonia_input_conversion) * 100.0
- step_value = 0.1
- unit = %
- update_period = future
- coupling_groups = [external_model_industry, industry_chemical_fertilizers]

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

Original file line number Diff line number Diff line change
@@ -1,10 +1,44 @@
- query = UPDATE_WITH_FACTOR(V(industry_aluminium_production), preset_demand, USER_INPUT())
# By moving demand for aluminium to the external coupling node, the demand on the
# other production processes is set to 0.

- query =
EACH(
UPDATE(
EDGE(industry_aluminium_production,industry_aluminium_external_coupling_node),
share,
1.0
),
UPDATE(
EDGE(industry_aluminium_production,industry_aluminium_electrolysis_current_electricity),
share,
0.0
),
UPDATE(
EDGE(industry_aluminium_production,industry_aluminium_electrolysis_bat_electricity),
share,
0.0
),
UPDATE(
EDGE(industry_aluminium_production,industry_aluminium_smeltoven_electricity),
share,
0.0
),
UPDATE(
EDGE(industry_aluminium_production,industry_aluminium_carbothermalreduction_electricity),
share,
0.0
),
UPDATE(
V(industry_aluminium_production),
preset_demand,
(USER_INPUT() * BILLIONS)
)
)
- priority = 0
- max_value = 99900.0
- max_value = 10000.0
- min_value = 0.0
- start_value = 100.0
- start_value_gql = present:DIVIDE(V(industry_other_metals_production, preset_demand),BILLIONS)
- step_value = 0.1
- unit = %
- unit = MT
- update_period = future
- update_type = %
- coupling_groups = [external_model_industry, industry_metal_aluminium]
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
- query = UPDATE(OUTPUT_SLOTS(V(industry_aluminium_external_coupling_node), not_defined), conversion, DIVIDE(USER_INPUT(), 100.0))
- query = UPDATE(OUTPUT_SLOTS(V(industry_aluminium_external_coupling_node), not_defined), conversion, USER_INPUT())
- priority = 0
- max_value = 100.0
- max_value = 1.0
- min_value = 0.0
- start_value_gql = present:V(industry_aluminium_external_coupling_node, not_defined_output_conversion) * 100.0
- step_value = 0.1
- unit = %
- start_value_gql = present:V(industry_aluminium_external_coupling_node, not_defined_output_conversion)
- step_value = 0.001
- unit = MT/PJ
- update_period = future
- coupling_groups = [external_model_industry, industry_metal_aluminium]

This file was deleted.

This file was deleted.

Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
# By moving demand for other metals to the external coupling node, the demand on the
# process nodes for useable heat and electricity is set to 0.

- query =
EACH(
UPDATE(
EDGE(industry_other_metals_production,industry_other_metals_external_coupling_node),
share,
1.0
),
UPDATE(
EDGE(industry_other_metals_production,industry_other_metals_process_heat_useable_heat),
share,
0.0
),
UPDATE(
EDGE(industry_other_metals_production,industry_other_metals_process_electricity),
share,
0.0
),
UPDATE(
V(industry_other_metals_production),
preset_demand,
(USER_INPUT() * BILLIONS)
)
)
- priority = 0
- max_value = 10000.0
- min_value = 0.0
- start_value_gql = present:DIVIDE(V(industry_other_metals_production, preset_demand),BILLIONS)
- step_value = 0.1
- unit = PJ
- update_period = future
- coupling_groups = [external_model_industry, industry_metal_other]

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
- query =
UPDATE(
V(industry_useful_demand_for_other_food_useable_heat),
preset_demand,
(USER_INPUT() * BILLIONS)
)
- priority = 0
- max_value = 10000.0
- min_value = 0.0
- start_value_gql = present:DIVIDE(V(industry_useful_demand_for_other_food_useable_heat, preset_demand),BILLIONS)
- step_value = 0.1
- unit = PJ
- update_period = future
- coupling_groups = [external_model_industry, industry_other_food]
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
- query =
UPDATE(
V(industry_useful_demand_for_other_food_electricity),
preset_demand,
(USER_INPUT() * BILLIONS)
)
- priority = 0
- max_value = 10000.0
- min_value = 0.0
- start_value_gql = present:DIVIDE(V(industry_useful_demand_for_other_food_electricity, preset_demand),BILLIONS)
- step_value = 0.1
- unit = PJ
- update_period = future
- coupling_groups = [external_model_industry, industry_other_food]
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
- query =
present_value = QUERY_PRESENT(-> {SUM(V(Q(other_non_specified_industry_energetic_converters),preset_demand))});
future_value = PRODUCT(USER_INPUT(),BILLIONS);
relative_value = DIVIDE(future_value,present_value);

UPDATE_WITH_FACTOR(
V(Q(other_non_specified_industry_energetic_converters)),
preset_demand,
relative_value
)
- priority = 1
- max_value = 10000.0
- min_value = 0.0
- start_value_gql = present:DIVIDE(SUM(V(Q(other_non_specified_industry_energetic_converters),preset_demand)),BILLIONS)
- step_value = 0.1
- unit = PJ
- update_period = future
- coupling_groups = [external_model_industry, industry_other_non_specified]
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
- query =
present_value = QUERY_PRESENT(-> {SUM(V(Q(other_non_specified_industry_non_energetic_converters),preset_demand))});
future_value = PRODUCT(USER_INPUT(),BILLIONS);
relative_value = DIVIDE(future_value,present_value);

UPDATE_WITH_FACTOR(
V(Q(other_non_specified_industry_non_energetic_converters)),
preset_demand,
relative_value
)
- priority = 1
- max_value = 10000.0
- min_value = 0.0
- start_value_gql = present:DIVIDE(SUM(V(Q(other_non_specified_industry_non_energetic_converters),preset_demand)),BILLIONS)
- step_value = 0.1
- unit = PJ
- update_period = future
- coupling_groups = [external_model_industry, industry_other_non_specified]

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

Loading

0 comments on commit a67ca34

Please sign in to comment.