General174 commited on
Commit
fa00485
·
1 Parent(s): c3949f5

Upload app.py

Browse files
Files changed (1) hide show
  1. app.py +7 -0
app.py CHANGED
@@ -120,6 +120,13 @@ with col3:
120
  #= xr_profiles.rolling( time_step = time_steps_aggregate).mean().sel(time_step = time[0::time_steps_aggregate])
121
  price_co2 = 0
122
 
 
 
 
 
 
 
 
123
  #technologies_no_invest = st.multiselect(label='Technolgy invest', options=i)
124
  #technologies_no_invest = ['Electrolyzer','Biomass','RoR','Hydro Water Reservoir']
125
  # %%
 
120
  #= xr_profiles.rolling( time_step = time_steps_aggregate).mean().sel(time_step = time[0::time_steps_aggregate])
121
  price_co2 = 0
122
 
123
+ # Aggregate time series
124
+ D_t = timstep_aggregate(dt,params_dict['D_t'])
125
+ s_t_r_iRes = timstep_aggregate(dt,params_dict['s_t_r_iRes'])
126
+ h_t = timstep_aggregate(dt,params_dict['h_t'])
127
+ t = D_t.get_index('t')
128
+ partial_year_factor = (8760/len(t))/dt
129
+
130
  #technologies_no_invest = st.multiselect(label='Technolgy invest', options=i)
131
  #technologies_no_invest = ['Electrolyzer','Biomass','RoR','Hydro Water Reservoir']
132
  # %%