Spaces:
Sleeping
Sleeping
Upload 4 files
Browse files- gitattributes.txt +36 -0
- sourced.py +5 -0
gitattributes.txt
ADDED
@@ -0,0 +1,36 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
*.7z filter=lfs diff=lfs merge=lfs -text
|
2 |
+
*.arrow filter=lfs diff=lfs merge=lfs -text
|
3 |
+
*.bin filter=lfs diff=lfs merge=lfs -text
|
4 |
+
*.bz2 filter=lfs diff=lfs merge=lfs -text
|
5 |
+
*.ckpt filter=lfs diff=lfs merge=lfs -text
|
6 |
+
*.ftz filter=lfs diff=lfs merge=lfs -text
|
7 |
+
*.gz filter=lfs diff=lfs merge=lfs -text
|
8 |
+
*.h5 filter=lfs diff=lfs merge=lfs -text
|
9 |
+
*.joblib filter=lfs diff=lfs merge=lfs -text
|
10 |
+
*.lfs.* filter=lfs diff=lfs merge=lfs -text
|
11 |
+
*.mlmodel filter=lfs diff=lfs merge=lfs -text
|
12 |
+
*.model filter=lfs diff=lfs merge=lfs -text
|
13 |
+
*.msgpack filter=lfs diff=lfs merge=lfs -text
|
14 |
+
*.npy filter=lfs diff=lfs merge=lfs -text
|
15 |
+
*.npz filter=lfs diff=lfs merge=lfs -text
|
16 |
+
*.onnx filter=lfs diff=lfs merge=lfs -text
|
17 |
+
*.ot filter=lfs diff=lfs merge=lfs -text
|
18 |
+
*.parquet filter=lfs diff=lfs merge=lfs -text
|
19 |
+
*.pb filter=lfs diff=lfs merge=lfs -text
|
20 |
+
*.pickle filter=lfs diff=lfs merge=lfs -text
|
21 |
+
*.pkl filter=lfs diff=lfs merge=lfs -text
|
22 |
+
*.pt filter=lfs diff=lfs merge=lfs -text
|
23 |
+
*.pth filter=lfs diff=lfs merge=lfs -text
|
24 |
+
*.rar filter=lfs diff=lfs merge=lfs -text
|
25 |
+
*.safetensors filter=lfs diff=lfs merge=lfs -text
|
26 |
+
saved_model/**/* filter=lfs diff=lfs merge=lfs -text
|
27 |
+
*.tar.* filter=lfs diff=lfs merge=lfs -text
|
28 |
+
*.tar filter=lfs diff=lfs merge=lfs -text
|
29 |
+
*.tflite filter=lfs diff=lfs merge=lfs -text
|
30 |
+
*.tgz filter=lfs diff=lfs merge=lfs -text
|
31 |
+
*.wasm filter=lfs diff=lfs merge=lfs -text
|
32 |
+
*.xz filter=lfs diff=lfs merge=lfs -text
|
33 |
+
*.zip filter=lfs diff=lfs merge=lfs -text
|
34 |
+
*.zst filter=lfs diff=lfs merge=lfs -text
|
35 |
+
*tfevents* filter=lfs diff=lfs merge=lfs -text
|
36 |
+
Input_Jahr_2021.xlsx filter=lfs diff=lfs merge=lfs -text
|
sourced.py
CHANGED
@@ -35,6 +35,9 @@ def load_data_from_excel(url_excel,load_from_pickle_flag = False, write_to_pickl
|
|
35 |
df_excel = pd.read_excel(url_excel, sheet_name='Technologies')
|
36 |
i = pd.Index(df_excel.iloc[:, 0], name='i')
|
37 |
|
|
|
|
|
|
|
38 |
df_excel = pd.read_excel(url_excel, sheet_name='Technologies')
|
39 |
iConv = pd.Index(df_excel.iloc[0:7, 2], name='iConv')
|
40 |
|
@@ -47,6 +50,7 @@ def load_data_from_excel(url_excel,load_from_pickle_flag = False, write_to_pickl
|
|
47 |
df_excel = pd.read_excel(url_excel, sheet_name='Technologies')
|
48 |
iPtG = pd.Index(df_excel.iloc[0:1, 8], name='iPtG')
|
49 |
|
|
|
50 |
df_excel = pd.read_excel(url_excel, sheet_name='Technologies')
|
51 |
iHyRes = pd.Index(df_excel.iloc[0:1, 10], name='iHyRes')
|
52 |
|
@@ -55,6 +59,7 @@ def load_data_from_excel(url_excel,load_from_pickle_flag = False, write_to_pickl
|
|
55 |
p_co2 = 0
|
56 |
dt = 1
|
57 |
|
|
|
58 |
# Demand
|
59 |
df_excel= pd.read_excel(url_excel, sheet_name = 'Demand')
|
60 |
#df_melt = pd.melt(df_excel, id_vars='Zeit')
|
|
|
35 |
df_excel = pd.read_excel(url_excel, sheet_name='Technologies')
|
36 |
i = pd.Index(df_excel.iloc[:, 0], name='i')
|
37 |
|
38 |
+
|
39 |
+
|
40 |
+
|
41 |
df_excel = pd.read_excel(url_excel, sheet_name='Technologies')
|
42 |
iConv = pd.Index(df_excel.iloc[0:7, 2], name='iConv')
|
43 |
|
|
|
50 |
df_excel = pd.read_excel(url_excel, sheet_name='Technologies')
|
51 |
iPtG = pd.Index(df_excel.iloc[0:1, 8], name='iPtG')
|
52 |
|
53 |
+
|
54 |
df_excel = pd.read_excel(url_excel, sheet_name='Technologies')
|
55 |
iHyRes = pd.Index(df_excel.iloc[0:1, 10], name='iHyRes')
|
56 |
|
|
|
59 |
p_co2 = 0
|
60 |
dt = 1
|
61 |
|
62 |
+
|
63 |
# Demand
|
64 |
df_excel= pd.read_excel(url_excel, sheet_name = 'Demand')
|
65 |
#df_melt = pd.melt(df_excel, id_vars='Zeit')
|