-
Notifications
You must be signed in to change notification settings - Fork 124
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 flow groups #1015
Labels
Comments
I think the groupings in |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I want to implement grouping of flows into a flow group like in https://calliope.readthedocs.io/en/v0.6.8/user/advanced_constraints.html#the-conversion-plus-tech
Within a group, flows are shared between input/output flows (logical OR) to produce/consume an input/output unit. Between input/output groups or single input/output flows, every group/flow contributes to producing/consuming an input/output unit (logical AND).
See also fictional example https://calliope.readthedocs.io/en/v0.6.8/user/advanced_constraints.html#complex-fictional-technology
Before, I wanted to add a Multi-Input-Multi-Output converter capable of above mentioned flow groups (see working example: #1011), but as @p-snft pointed out - grouped flows could be integrated into
oemof.solph
as a more general approach. So I'm trying to refactor my first approach.Current implementation idea is to introduce a
FlowGroup
class which can be initialized with multiple flows and which can be used as input/output instead of a singleFlow
to any component. Additionally,min
,max
andfix
flow shares for this group can be set, which define shares between flows for each timestep.Example:
Internally, buses are be connected to converter as before, but an additional Variable for the flow group is created, which gathers related flows and sets up flow share constraints. As far as I can see, this would need changes in
oemof.netwok.Node
and/oroemof.netwok.Entity
in order to add input/output groups there. Additionally,oemof.solph.Model
has to be adapted in order to init flow group indexes and set related flow share constraints.The text was updated successfully, but these errors were encountered: