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

Add multi-period parameters to deserialization #115

Closed
5 tasks done
nailend opened this issue Jul 18, 2023 · 0 comments · Fixed by #124
Closed
5 tasks done

Add multi-period parameters to deserialization #115

nailend opened this issue Jul 18, 2023 · 0 comments · Fixed by #124
Assignees
Milestone

Comments

@nailend
Copy link
Collaborator

nailend commented Jul 18, 2023

In the multi-period approach, it should be possible to pass period-specific parameters. It's possible to just pass a sequence, but to reduce data we would like to solve this internally.

How this is done depends on the feedback on oemof.solph Issue#959 and first draft is done in PR#960

  • refactor deserialization

  • read period info first

  • read lists and compare to number of periods/length

  • convert to full list or plumbing

  • catch non-periodic parameters

  • This does not work for all parameters, especially the ones which go into a flow, e.g. capacity/nominal_value

  • This does also not work for capacity_costs/ep_costs as passed lists are iterated over per period here

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.

2 participants