Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

There is a variation in weekend-weekday appliance usage modelling in new refactored code to change output format. #22

Closed
dhungelgd opened this issue Jul 19, 2022 · 2 comments

Comments

@dhungelgd
Copy link
Collaborator

The weekend weekday behaviour cannot be modelled by the refactored code in #20.

For the following input:

HI_Freezer2 = HI.Appliance(HI,n=1,P=200,w=1,t=1440,r_t=0,c=30,fixed='yes',fixed_cycle=3,wd_we_type=1)
HI_Freezer2.windows([0,1440],[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])

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

the following output is obtained for 10 days:

grafik

The expected output (as from the original ramp) is:

grafik

@dhungelgd dhungelgd changed the title There is a variation in weekend weekday appliance usage modelling in #20. There is a variation in weekend-weekday appliance usage modelling in new refactored code to change output format. Jul 19, 2022
@Bachibouzouk
Copy link

This is only the case when not providing the options --start-date and/or --end-date

@Bachibouzouk
Copy link

Fixed in ba8e12d

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants