Skip to content

Commit

Permalink
Update examples
Browse files Browse the repository at this point in the history
  • Loading branch information
simnh committed Feb 27, 2019
1 parent 4efa446 commit f70a55f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/oemof/tabular/examples/scripting/dispatch.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@
sheet_name="timeseries",
index_col=[0],
parse_dates=True)
timeseries.index.freq = "1H"

es = EnergySystem(timeindex=timeseries.index)
# setattr(es, 'typemap', fc.TYPEMAP)
Expand Down
1 change: 1 addition & 0 deletions src/oemof/tabular/examples/scripting/investment.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@
sheet_name="timeseries",
index_col=[0],
parse_dates=True)
timeseries.index.freq = "1H"

costs = pd.read_excel(
datapath,
Expand Down

0 comments on commit f70a55f

Please sign in to comment.