-
Notifications
You must be signed in to change notification settings - Fork 5
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
Facades inherting from Sink and Source should be able to have multiple inputs / outputs #176
Comments
I agree that the possibilities from the core component of |
I would say that |
Fair point
I just see a problem here in the use, then you could create CommodityWithEmission which would differ from Commodity in the sense you can add emissions. I would prefer to add such broad option directly into Commodity rather than finding a new name for a child class and end up having too many components. On the other hand allow more than one bus put some stress on the formatting of the arguments "amount" and "marginal_cost" as they might potentially be associated with more than one flow. An other argument would need to be introduced to allow constraining one flow with another one. |
I understand both points. But as you already mentioned - allowing multiple busses on a facade is difficult. |
I understand your points and I hadn't been fully aware before, what the oemof.tabular facades are meant to be. It makes sense to me that they are more specific implementations and that we add new facades, see #177 |
Sink and Source can have multiple inputs / outputs in oemof.solph.
With PR1088 in solph the Warning indicating that
len(outputs) != 1
is removed.Facades to adapt:
Dispatchable
andCommodity
.Not sure about
Load
andExcess
as we usually connect them to only one bus. However, in theory one could use them with multiple inputs.The text was updated successfully, but these errors were encountered: