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
61 stars 10 forks source link

How do I specify EnergyPlus executable path? #5

Open HYDesmondLiu opened 2 years ago

HYDesmondLiu commented 2 years ago

I got the error fmi2EnterInitializationMode: The FMU instance could instance1658863597 not be initialized. EnergyPlus can't start . Check if EnergyPlus is installed and on the system path. Unable to build model. fmi2EnterInitializationMode failed with status 3 (error).

by creating an environment. I do have EnergyPlus installed, however, how do I let Energym know where do I put it?

Note: detailed information pasted below:

Screen Shot 2022-07-26 at 12 28 28 PM
psh987 commented 2 years ago

Have you checked that EnergyPlus is on the system path?

HYDesmondLiu commented 2 years ago

Do I set it as EPLUS_PATH ?

psh987 commented 2 years ago

I guess you just need to specify the location where to find EnergyPlus and add it to your path, like described here: https://linuxize.com/post/how-to-add-directory-to-path-in-linux/. Does that work?