ugr-sail / sinergym

Gym environment for building simulation and control using reinforcement learning
https://ugr-sail.github.io/sinergym/
MIT License
127 stars 34 forks source link

Installation problem #254

Closed MichielKempkens closed 1 year ago

MichielKempkens commented 1 year ago

Dear sinergym,

I followed the installation steps and downloaded the docker container. I cloned the repository and work in VS code now on a mac. I am getting the following error when trying the examples that were given:

image

In the the plus_env.py file I set the path to my EnergyPlus and bcvtb as follows:

image

Apparently I am doing something wrong here. I downloaded the version 22-1-0 of EnergyPlus for mac. The 9-5-0 download for linux download was not working on my mac. I did not get an folder like the newer version. May that be the problem?

I hope you can help me with this problem!

Best, Michiel

AlejandroCN7 commented 1 year ago

Hi @MichielKempkens ! Are you sure you are using the downloaded container? If you are using it, Energyplus version 9.5.0 should already be installed, with an Ubuntu 22 OS.

If you are using the container, you should see "dev container" next to the project as in the attached image. Captura desde 2022-11-25 10-43-38

At the same time, you should get the following in the vscode terminal without the need to install anything once you enter the container: Captura desde 2022-11-25 10-46-24

If you are inside the container, you should not change the value of EPLUS_PATH, as it points to the folder where the simulation engine is installed inside the container.

I hope this helps.

Regards, Alejandro.

AlejandroCN7 commented 1 year ago

You have the next note in installation documentation if you are using vscode project:

Captura desde 2022-11-25 10-50-57

The documentation cited in the note is here.

MichielKempkens commented 1 year ago

Dear Alejandro,

Thank you for your response, I was indeed using the container in a wrong way. I can run the example files now. Thanks!

Best, Michiel

AlejandroCN7 commented 1 year ago

Great @MichielKempkens! Glad you found it helpful, I'll close this issue then :)

SHITIANYU-hue commented 1 year ago

Hi i have encountered same issue, but i didn't install with docker, i installed it manually, may i know if this is because i haven't installed energy plus? image

Synizter commented 1 year ago

I have this problem as well, Although I install EnergyPlus and BCVTB, the issue still persists