-
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
Only one profile for efficiency possible #117
Comments
@MaGering I am not sure if I understand the problem. Wouldn't it be enough to just pass another foreign key to the
|
I think I am getting it: You are having multiple components of the same type, e.g. heat_pumps, but you don't want to give all of them the same efficiencies due to e.g. local differences. In this case it should be enough to write different names in the cells of the |
Yes exactly, that's the case where the problem occurs. For the field Concerning the solution in your first comment: Will oemof.tabular map it to the correct attribute if I put for example "heatpump_small_efficiency" in front of it? I assumed that the key must be named exactly the same as the name of the attribute. So that the key must be called |
@MaGering sorry for not answering... is this solved anyways? |
It is not possible to pass different foreign efficiency profiles, since the sequences name written into the
datapackage.json
isefficiency_profile
for all components that haveefficiency
as attribute.This is due to this code:
In case where
key
equals toefficiency
the name is set withreference
toefficiency_profile
. Instead it should be set tor.name + "_" + key + "_profile"
This way different efficiency sequences for different components can be passed.
The text was updated successfully, but these errors were encountered: