setting up resstock runs on local windows computer

asked 2020-12-22 19:40:51 -0600

willyJohan's avatar

I'm trying to set up ResStock to run on my windows machine to better understand the workflow and run a few small tests, but I can't get buildstock (or anything else) to run. I am not at all proficient with all the tools and environments required to run this, so forgive any obvious errors.

here are what I've tried

1) I Download Docker Desktop Community 2.1.0.5

2) I ensured that python was installed by typing 'python' into PowerShell, which showed me I had v3.9

3) I downloaded the ResStock files from: https://github.com/NREL/resstock/arch...

4) I downloaded the BuildStockBatch files form: https://github.com/NREL/buildstockbat...

5) I went to the directory where I had saved C:\buildstockbatch-develop and entered "pip install -e ." this at first looked promising but ended with an error, some research on the error made me think that I needed to change my containers in docker to Linux (I have zero idea what this actually means, but did not seem promising for a windows install) which I did. After which I again entered "pip install -e ." and a bunch of stuff seemed to happen, things were downloaded, status bars were statusing, it was all very exciting

6) unfortunately, when I enter "buildstock_docker --help" in PowerShell I get an error that the term is not recognized

anyhow, any thoughts on where I’ve gone wrong would be great.

edit retag flag offensive close merge delete

Comments

Hi, did you managed? I have the same problems :(. I have no idea what to do next :(

Mikk's avatar Mikk  ( 2022-03-22 22:45:03 -0600 )edit

I've not had much success beyond this. I was able to get something up and running by using the run_analysis.rb script found in the workflow directory in the latest version of resstock, see here for the documentation. unfortunately one is not able to use the residential_quota_downselect sampler (nor the precomputed sampler as far as i could tell) which is what i needed so i had to go a different direction. If you figure something out please update this thread as I'd still like to incorporate ResStock in the future.

willyJohan's avatar willyJohan  ( 2022-03-23 17:42:32 -0600 )edit

Thanks! It seems quite tricky. I am trying both option - small scale run with OpenStudio CLI - have you tried that?

And large scale by buildstockbatch. At the moment I dont have sucess neither of the paths :(. If I figure something out I let you know. Your purpose is science for large scale simulation?

Mikk's avatar Mikk  ( 2022-03-24 14:10:40 -0600 )edit

I'm having the exact same issue (#6 above). I've installed the library successfully using the code shown here: https://buildstockbatch.readthedocs.i...

But "buildstock_docker" is unrecognized for me as well.

I'm trying to run ResStock via AWS and Docker (rather than running locally), so I wouldn't be able to use the run_analysis.rb script mentioned above. Any updates?

Thalib Razi's avatar Thalib Razi  ( 2022-04-11 11:26:18 -0600 )edit