Skip to content
Snippets Groups Projects
Commit 8b87c1e6 authored by Nie's avatar Nie
Browse files

Add thermal demand generation methods

parent 43e80b68
Branches
No related tags found
No related merge requests found
...@@ -131,6 +131,14 @@ def generate_profile(t_start, t_step, t_horizon, prediction='Perfect', **kwargs) ...@@ -131,6 +131,14 @@ def generate_profile(t_start, t_step, t_horizon, prediction='Perfect', **kwargs)
# plt.plot(self.__input_profiles['hot_water_demand']) # plt.plot(self.__input_profiles['hot_water_demand'])
# plt.title('Hot Water Demand') # plt.title('Hot Water Demand')
# plt.show() # plt.show()
elif profile == 'generate_therm_demand_tek':
bld_typ = kwargs[profile][0]
total_demand = kwargs[profile][1]
weather = kwargs[profile][2]
elif profile == 'generate_water_demand_tek':
bld_typ = kwargs[profile][0]
total_demand = kwargs[profile][1]
weather = kwargs[profile][2]
else: else:
# apply prediction methods upon other input profiles (air_temp, irradiance, etc.) # apply prediction methods upon other input profiles (air_temp, irradiance, etc.)
predictors[profile] = PredictionGenerator(kwargs[profile], method=prediction) predictors[profile] = PredictionGenerator(kwargs[profile], method=prediction)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment