Skip to content

Instantly share code, notes, and snippets.

@uvchik
Created May 11, 2016 16:21
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save uvchik/46fb7d8b6363d4611e80fe5a84f47005 to your computer and use it in GitHub Desktop.
Save uvchik/46fb7d8b6363d4611e80fe5a84f47005 to your computer and use it in GitHub Desktop.
test the invest
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), ....)
@gnn
Copy link

gnn commented May 11, 2016

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment