Skip to content

Commit

Permalink
Input and chart curve for residential forecasting (#2982)
Browse files Browse the repository at this point in the history
* Change housholds storage forecasting to a radio button

* Add local households residual load curve

* Bump Atlas to quintel/atlas@3c1f70f

---------

Co-authored-by: Mathijs Bijkerk <[email protected]>
  • Loading branch information
noracato and mabijkerk authored Dec 22, 2023
1 parent cfab03d commit 3dbf718
Show file tree
Hide file tree
Showing 4 changed files with 22 additions and 12 deletions.
2 changes: 1 addition & 1 deletion Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ gem 'rake'

group :development, :test do
gem 'roo'
gem 'atlas', ref: 'e8da927', github: 'quintel/atlas'
gem 'atlas', ref: '3c1f70f', github: 'quintel/atlas'
end

group :test do
Expand Down
4 changes: 2 additions & 2 deletions Gemfile.lock
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
GIT
remote: https://github.com/quintel/atlas.git
revision: e8da92725b252fe1396d56ddf6d58d51c29d4775
ref: e8da927
revision: 3c1f70f1b001cecef89340e20857574fff781dd0
ref: 3c1f70f
specs:
atlas (1.0.0)
activemodel (>= 7)
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
- query =
SUM_CURVES(
SUM_CURVES(
V(FILTER(SECTOR(households),"merit_order && (merit_order.type == :consumer)"),electricity_input_curve)
),
INVERT_CURVE(
SUM_CURVES(
V(FILTER(SECTOR(households),"merit_order && (merit_order.type == :producer)"),electricity_output_curve)
)
)
)
- unit = curve
Original file line number Diff line number Diff line change
@@ -1,16 +1,14 @@
- query =
IF(
EQUALS(USER_INPUT(), 1.0),
EQUALS(USER_INPUT(), "default"),
-> {},
-> {
UPDATE(V(households_flexibility_p2p_electricity, storage), decay, 0.0);
UPDATE(V(households_flexibility_p2p_electricity, merit_order), subtype, optimizing_storage);
},
-> {}
UPDATE(V(households_flexibility_p2p_electricity, merit_order), subtype, USER_INPUT());
}
)
- priority = 0
- max_value = 1.0
- min_value = 0.0
- start_value = 0.0
- step_value = 1.0
- unit = bool
- min_value = [default, optimizing_storage, optimizing_storage_households]
- start_value = default
- unit = enum
- update_period = future

0 comments on commit 3dbf718

Please sign in to comment.