rl-institut / RAMP

Repository of the open-source RAMP model for generating multi-energy loads profiles
European Union Public License 1.2
3 stars 0 forks source link

Non zero power output for input with number of appliances = 0 #15

Open dhungelgd opened 2 years ago

dhungelgd commented 2 years ago

The refactored code seems to produce peculiar results for number of appliances input = 0. Sometimes, no result is obtained at all and the program stucks, whereas sometiomes a non zero profile is created.

grafik This is the output profile created for the following input

Create new user classes

HI = User("high income",48) User_list.append(HI)

High-Income

HI_indoor_bulb1 = HI.Appliance(HI,n=0, P=15, w=3, t = 120, r_t = 0, c = 1) HI_indoor_bulb1.windows([420,1079],[0,0],0.15,[0,0])

dhungelgd commented 2 years ago

No output, however, when the following input is given

HI_Freezer2 = HI.Appliance(HI,n=0,P=200,w=1,t=1440,r_t=0,c=30,fixed='yes',fixed_cycle=3,thermal_P_var=0) HI_Freezer2.windows([0,1440],[0,0],0) HI_Freezer2.specific_cycle_1(200,20,5,10) HI_Freezer2.specific_cycle_2(200,15,5,15) HI_Freezer2.specific_cycle_3(200,10,5,20) HI_Freezer2.cycle_behaviour([480,1200],[0,0],[300,479],[0,0],[0,299],[1201,1440])