Skip to content
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

the inital storage level is not the end storage level #147

Open
LauWien opened this issue Jun 17, 2020 · 5 comments · May be fixed by #150
Open

the inital storage level is not the end storage level #147

LauWien opened this issue Jun 17, 2020 · 5 comments · May be fixed by #150
Assignees

Comments

@LauWien
Copy link
Collaborator

LauWien commented Jun 17, 2020

This is important so the energy system doesn't get heat/hydrogen/electricity for free

@j-ti
Copy link
Contributor

j-ti commented Jun 18, 2020

As we optimize each timestep individually, it could happen that at the ultimate timestep we would have to (un-)fill the storage by a flow that exceeds the maximum flow.
My suggestion: We calculate the minimum flow needed to (un-)fill the storage and set it as a constraint.
Additionally it might be beneficial and smooth to shift the storage_level_wanted value towards init value by the end of simulation.

@j-ti
Copy link
Contributor

j-ti commented Jun 19, 2020

  1. Incorporating initial to end storage difference as cost into annuities
  2. Charge with maximum flow (Hard Final Criterion)
  3. Rising artificial cost (Soft Final Criterion)
  4. Define Long-Term Strategy

j-ti added a commit that referenced this issue Jun 22, 2020
- add H2 sink and source
- add balanced storage level as option
Partially solves #147
@j-ti j-ti linked a pull request Jun 29, 2020 that will close this issue
@j-ti
Copy link
Contributor

j-ti commented Jul 2, 2020

@ulrikeherrmann do you think the number of intervals to the end to balance storage level using the dynamic VAC (so the soft criterion) should be defined in the model description or based on an auto scaled value using max. flow and capacity, like:
if self.storage_capacity / (self.delta_max) > self.intervals_to_end:
which would represent the number of intervals to charge the whole storage, as an example.

@j-ti
Copy link
Contributor

j-ti commented Jul 7, 2020

electrolyzer can only be optimized by electrical VAC: Solution foreign states on supply:
'fs_component_name': 'h2_storage',
'fs_attribute_name': 'balance_ratio',
'fs_threshold': 0.2,
'fs_low_art_cost': 50,
'fs_high_art_cost': -0.001,
=>

(1) with soft constraint (foreign state of evolving balance) over all intervals + hard (min flow) constraint:

fs_balance_el
fs_balance_h2

(2) only with hard (min flow) constraint:

min_flow_el
min_flow_h2

@j-ti
Copy link
Contributor

j-ti commented Jul 7, 2020

(3) hard constraint (min flow) + soft constraint (foreign state: balance only last 15 intervals):

fs_balance_el_i15
fs_balance_h2_i15

@j-ti j-ti linked a pull request Jan 14, 2021 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants