Hello,
I'm going through the tutorial, where it asks you to enter switch solve --verbose --sorted-output. I'm getting the following error and not sure how to proceed. Any advice appreciated.
-Tak Ono
(base) C:\Users\takum\Documents\switch-master\switch_tutorial\3_zone_tiny>switch solve --verbose --sorted-output
Traceback (most recent call last):
File "C:\Users\takum\anaconda3\Scripts\switch-script.py", line 9, in <module>
sys.exit(main())
File "C:\Users\takum\anaconda3\lib\site-packages\switch_model\main.py", line 39, in main
main()
File "C:\Users\takum\anaconda3\lib\site-packages\switch_model\solve.py", line 90, in main
model = create_model(modules, args=args)
File "C:\Users\takum\anaconda3\lib\site-packages\switch_model\utilities.py", line 100, in create_model
module.define_components(model)
File "C:\Users\takum\anaconda3\lib\site-packages\switch_model\generators\core\no_commit.py", line 81, in define_components
mod.BASELOAD_GEN_PERIODS = Set(
File "C:\Users\takum\anaconda3\lib\site-packages\pyomo\core\base\set.py", line 2238, in __init__
Set.__init__(self, **kwds)
File "C:\Users\takum\anaconda3\lib\site-packages\pyomo\core\base\set.py", line 1955, in __init__
IndexedComponent.__init__(self, *args, **kwds)
File "C:\Users\takum\anaconda3\lib\site-packages\pyomo\core\base\indexed_component.py", line 275, in __init__
Component.__init__(self, **kwds)
File "C:\Users\takum\anaconda3\lib\site-packages\pyomo\core\base\component.py", line 396, in __init__
raise ValueError(
ValueError: Unexpected keyword options found while constructing 'AbstractOrderedScalarSet':
rule