import time
import xlwt
import time as pytime  # starttime = pytime.time()
import seaborn as sns
import Expando_class
from Expando_class import Expando

##################################################################################################################################################

# INPUT DATA STORE where all the input parameters are saved (previously imported from Excel)

# OPEN the store
store = pd.HDFStore('store.h5')

# LOAD the data
mystore = Expando()
mystore.winddata = store['winddata']
mystore.sundata = store['sundata']
mystore.demanddata = store['demanddata']
mystore.impexpdata = store['impexpdata']
gendata = store['gendata']
linecap = store['linecap']
daprices = store['daprices']

# CLOSE the store
store.close()


# Display completely in the screen
pd.set_option('display.width', None)
from hydromax import hydromax
import os
import time
import time as pytime
import seaborn as sns
import Expando_class
from Expando_class import Expando
# starttime = pytime.time()


# STORE ISSUES
# OPEN the store
store = pd.HDFStore('store.h5')

# LOAD the data
mystore = Expando()
mystore.winddata = store['winddata']
mystore.sundata = store['sundata']
mystore.demanddata = store['demanddata']
mystore.impexpdata = store['impexpdata']
gendata = store['gendata']
linecap = store['linecap']
daprices = store['daprices']
datahydro = store['datahydro']
mystore.newglacialinflow0_005 = store['newglacialinflow0_005']
mystore.newglacialinflow0_01 = store['newglacialinflow0_01']
mystore.newglacialinflow0_015 = store['newglacialinflow0_015']
mystore.newglacialinflow0_02 = store['newglacialinflow0_02']
mystore.newfylling = store['newfylling']
mystore.newriverinflow = store['newriverinflow']
mystore.newmaxvolume = store['newmaxvolume']
import os
import time
import time as pytime
import seaborn as sns
import Expando_class
from Expando_class import Expando

# starttime = pytime.time()


# STORE ISSUES
# OPEN the store
store = pd.HDFStore("store.h5")

# LOAD the data
mystore = Expando()
mystore.winddata = store["winddata"]
mystore.sundata = store["sundata"]
mystore.demanddata = store["demanddata"]
mystore.impexpdata = store["impexpdata"]
gendata = store["gendata"]
linecap = store["linecap"]
daprices = store["daprices"]
datahydro = store["datahydro"]
mystore.newglacialinflow0_005 = store["newglacialinflow0_005"]
mystore.newglacialinflow0_01 = store["newglacialinflow0_01"]
mystore.newglacialinflow0_015 = store["newglacialinflow0_015"]
mystore.newglacialinflow0_02 = store["newglacialinflow0_02"]
mystore.newfylling = store["newfylling"]
mystore.newriverinflow = store["newriverinflow"]
mystore.newmaxvolume = store["newmaxvolume"]