Created
May 11, 2016 16:21
-
-
Save uvchik/46fb7d8b6363d4611e80fe5a84f47005 to your computer and use it in GitHub Desktop.
test the invest
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from oemof import sources as source | |
class investment: | |
r""" | |
Docstring | |
""" | |
def __init__(self, maximum=float('+inf')): | |
self.maximum = maximum | |
def investlabel | |
"""How does this function look like?""" | |
pass | |
es = EnergySystem(groupings=[investlabel]) | |
pv_invest_max = investment(maximum=345) | |
source(label=('pv', 'berlin', pv_invest_max), ....) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I created a fork and pushed some eplanatory code with comments.
There's even some more I could say about this. Maybe during my train ride tomorrow.