NREL / ComStock

National scale modeling of the U.S. commercial building stock supported by U.S. DOE, LADWP, and others and maintained by NREL
Other
31 stars 10 forks source link

fix the integrated test #241

Open wenyikuang opened 1 month ago

wenyikuang commented 1 month ago

     _ __         _     __,              _ __
    ( /  )    o  //   /(    _/_       / ( /  )     _/_    /
     /--< , ,,  // __/  `.  /  __ _, /<  /--< __,  /  _, /
    /___/(_/_(_(/_(_/_(___)(__(_)(__/ |_/___/(_/(_(__(__/ /_
      Executing BuildStock projects with grace since 2018

Traceback (most recent call last):
  File "/usr/local/bin/buildstock_local", line 8, in <module>
    sys.exit(main())
  File "/usr/local/lib/python3.8/site-packages/buildstockbatch/utils.py", line 120, in run_with_error_capture
    return func(*args, **kwargs)
  File "/usr/local/lib/python3.8/site-packages/buildstockbatch/local.py", line 456, in main
    LocalBatch.validate_project(args.project_filename)
  File "/usr/local/lib/python3.8/site-packages/buildstockbatch/local.py", line 167, in validate_project
    super(cls, cls).validate_project(project_file)
  File "/usr/local/lib/python3.8/site-packages/buildstockbatch/base.py", line 268, in validate_project
    assert cls.validate_sampler(project_file)
  File "/usr/local/lib/python3.8/site-packages/buildstockbatch/base.py", line 333, in validate_sampler
    return BuildStockBatchBase.validate_buildstock_csv(project_file, buildstock_df)
  File "/usr/local/lib/python3.8/site-packages/buildstockbatch/base.py", line 357, in validate_buildstock_csv
    raise ValidationError("\n".join(errors))
buildstockbatch.exc.ValidationError: Column rentable_area in buildstock_csv is not available in options_lookup.tsv
wenyikuang commented 1 month ago

Looks like /Comstock/resources/options_lookup.tsv need update follow with ymls/../samples/bsb-integration-test.csv or vice versa.

rHorsey commented 3 weeks ago

@wenyikuang which branches of bsb and comstock?

wenyikuang commented 3 weeks ago

https://github.com/NREL/buildstockbatch/tree/rHorsey/comstock-23-10-upgrade <- I build the container from here. The Dockerfile is: https://github.com/NREL/buildstockbatch/blob/rHorsey/comstock-23-10-upgrade/Dockerfile

wenyikuang commented 3 weeks ago

Problems may faced:

Could be tweaked: