-
Notifications
You must be signed in to change notification settings - Fork 88
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
Problems modelling PV/T panels #521
Comments
You're right that both your use-cases aren't possible, mostly because defining a generalised approach to enable them is quite hard. Instead, we are moving to a simplified approach that you can read more about in #518 and its associated discussions. This would allow you to have a |
In the meantime, setting up multiple technologies that represent a single technology is the way to go. |
Thanks for the quick answer!! I will look into your reference carefully. group_constraints:
GSHP_heat_cooling:
techs: [GSHP_heat, GSHP_cooling]
energy_cap_equals: true When I set the group constraint Right now my calliope gives me this error when I try to solve the problem (I constructed the model successfully):
and traceback:
|
To fix the capacity of the two technologies (that really represent one technology), you'll need to add your own constraint to the model. See here |
Problem description
PV/T panels generate heat and electricity at the same time, but their yield is not correlated via a constant. For this, I prepared two dataframes, one for electricity generation, another one for heat generation.
I need to use supply_plus as parent of my PV/T panels, because the total area is limited and PV/T has to compete with other solar technologies (PV, Solar Collector), and conversion_plus doesn't allow the constraint of
resource_unit: energy_per_area
.However, with supply_plus, I cannot define a different heat yield, creating an inaccuracy of the model.
Steps to reproduce the problem
Here's my configuration of PV/T panel in yaml, where I set the input resource to be the same as electricity yield (
supply_PVT_e
) and set the electricity output to 1, so it always gives me the correct electricity yield; for heat output, I calculated the relative ratio of heat comparing to electricity.For example, if at 12:00 my PVT generates 1kWh electricity and 4kWh heat, and at 13:00 1.5kWh electricity and 5kWh heat, I will need a time-series output ratio for heat, which is 4 at 12:00 and 3.33 at 13:00, and my
supply_PVT_h
dataframe contains this ratio.And this is my calliope error traceback:
Calliope version
0.6.10
The text was updated successfully, but these errors were encountered: