bsl546 / energym

Energym is an open source building simulation library designed to test climate control and energy management strategies on buildings in a systematic and reproducible way.
Other
63 stars 11 forks source link

adjust simulation year #10

Open zhujinxia opened 4 months ago

zhujinxia commented 4 months ago

Hello! I have a question that has been bothering me. The result I obtained indicates that the start date of the simulation environment for the MixedUse environment is January 1, 2017, but isn't the default in the MixedUse class supposed to be 2019? Why isn't the start date of the simulation environment January 1, 2019? Could it be that I misunderstood something? Also, if I want to start from January 1, 2014, and run the experiment in the MixedUse simulation environment for one year, how should I modify it? I have tried many methods, but the start date of the simulation environment in the experiment remains January 1, 2017. image image

psh987 commented 4 months ago

Hello @zhujinxia, currently, the year is not taken into account, other than for calculating the exact starting time with respect to that year. So choosing a different year wouldn't have an influence on the simulation itself. What makes a difference is the weather file you choose, so if you want to run a simulation that represents the weather of a specific year, you can add the weather file in the wf folder of the MixedUse model and add the weather file name in weather_names.py, as described here. If you need any help with that, let us know!

zhujinxia commented 4 months ago

I understand, thank you very much for your explanation!!!