IBM / rl-testbed-for-energyplus

Reinforcement Learning Testbed for Power Consumption Optimization using EnergyPlus
MIT License
191 stars 77 forks source link

How do I need to modify my start date? #118

Open luckypipitao opened 10 months ago

luckypipitao commented 10 months ago

Hi! How do I need to modify my start date, for example, if the current start date is January 1st, how can I change it to February 1st.

Thank you!

antoine-galataud commented 10 months ago

Hi @luckypipitao, you can do that by modifying the RunPeriod of your IDF file.

For instance:

RunPeriod,
    FebToDec,                !- Name
    2,                       !- Begin Month
    1,                       !- Begin Day of Month
    ,                        !- Begin Year
    12,                      !- End Month
    31,                      !- End Day of Month
    ,                        !- End Year
    Tuesday,                 !- Day of Week for Start Day
    Yes,                     !- Use Weather File Holidays and Special Days
    Yes,                     !- Use Weather File Daylight Saving Period
    No,                      !- Apply Weekend Holiday Rule
    Yes,                     !- Use Weather File Rain Indicators
    Yes;                     !- Use Weather File Snow Indicators
luckypipitao commented 10 months ago

Hi @antoine-galataud Thank you very much for your answer, your answer is very useful for me.Is this the address of the file you want to modify?:https://github.com/IBM/rl-testbed-for-energyplus/tree/3e3fc48765bfeaa2ec92221906fefcc7ef955169/EnergyPlus/Model-22-2-0

I have one more question.Can I modify the number of steps per hour via Timestep in the IDF file?I see that the initial value is 4, which is 1 hour to control four times, if I want to change it to 2, does controlling twice in an hour cause the environment to not run? Thank you!