def METHOD_NAME():
    datetimeindex = pd.date_range("1/1/2012", periods=24, freq="H")
    es = solph.EnergySystem(timeindex=datetimeindex, infer_last_interval=False)
    assert es.timeincrement[1] == 1.0
    assert es.timeincrement.sum() == 23