Thanks for the help Aranya.
1) temoa_utopia runs fine now.
2) I've switched to config_sample for myopic runs. US_9R_TS still has an issue where many years don't find a solution. With myopic years=1, 2025 to 2045 give an error code of "No solution found". With myopic years=2, more periods solve but many still don't.
I'll mostly use the 8 day representation for my work, and am largely running the TS models to check my setup on a faster running model, so having the TS myopic runs working isn't critical for me. That being said, I can imagine the TS representations will be useful to run on versions of the model and OEO files as I'm modifying them to quick check my changes are working.
Sean
Full shell output:
(temoa-py3) PS C:\Users\Sean\Documents\GitHub\temoa> python temoa_model\ --config=temoa_model\config_sample
1 .db DD file(s) converted
-------------------------
Config file: C:\Users\Sean\Documents\GitHub\temoa\temoa_model\config_sample
Input file: C:\Users\Sean\Documents\GitHub\temoa\data_files\US_9R_TS.dat
Output file: C:\Users\Sean\Documents\GitHub\temoa\data_files\US_9R_TS.sqlite
Scenario: test_run
Spreadsheet output: True
Myopic scheme: True
Myopic years: 1
Retain myopic databases: False
-------------------------
Citation output status: None
NEOS status: False
Version output status: False
-------------------------
Selected solver status: cplex
Solver LP write status: False
Pyomo LP write status: False
-------------------------
MGA slack value: None
MGA # of iterations: None
MGA weighting method: None
**NOTE: If you are performing MGA runs, navigate to the DAT file and make any modifications to the MGA sets before proceeding.
Please press enter to continue or Ctrl+C to quit.
Notice: Using the CPLEX solver interface.
Continue Operation? [Press enter to continue or CTRL+C to abort]
This run is myopic ...
Preparing the database for the period(s): ['2020']
1 .db DD file(s) converted
-------------------------
Config file: C:\Users\Sean\Documents\GitHub\temoa\temoa_model\config_sample_myopic_2020
Input file: C:\Users\Sean\Documents\GitHub\temoa\data_files\US_9R_TS_myopic_2020.dat
Output file: C:\Users\Sean\Documents\GitHub\temoa\data_files\US_9R_TS.sqlite
Scenario: test_run
Spreadsheet output: True
Myopic scheme: False
Myopic years: 0
Retain myopic databases: False
-------------------------
Citation output status: None
NEOS status: False
Version output status: False
-------------------------
Selected solver status: cplex
Solver LP write status: False
Pyomo LP write status: False
-------------------------
MGA slack value: None
MGA # of iterations: None
MGA weighting method: None
**NOTE: If you are performing MGA runs, navigate to the DAT file and make any modifications to the MGA sets before proceeding.
Please press enter to continue or Ctrl+C to quit.
Notice: Using the CPLEX solver interface.
Continue Operation? [Press enter to continue or CTRL+C to abort]
[ 6.02] Reading data files.
[ 45.69] Creating Temoa model instance.
[ 23.31] Solving.
[ 48.09] Calculating reporting variables and formatting results.
Preparing the database for the period(s): ['2025']
1 .db DD file(s) converted
-------------------------
Config file: C:\Users\Sean\Documents\GitHub\temoa\temoa_model\config_sample_myopic_2025
Input file: C:\Users\Sean\Documents\GitHub\temoa\data_files\US_9R_TS_myopic_2025.dat
Output file: C:\Users\Sean\Documents\GitHub\temoa\data_files\US_9R_TS.sqlite
Scenario: test_run
Spreadsheet output: True
Myopic scheme: False
Myopic years: 0
Retain myopic databases: False
-------------------------
Citation output status: None
NEOS status: False
Version output status: False
-------------------------
Selected solver status: cplex
Solver LP write status: False
Pyomo LP write status: False
-------------------------
MGA slack value: None
MGA # of iterations: None
MGA weighting method: None
**NOTE: If you are performing MGA runs, navigate to the DAT file and make any modifications to the MGA sets before proceeding.
Please press enter to continue or Ctrl+C to quit.
Notice: Using the CPLEX solver interface.
Continue Operation? [Press enter to continue or CTRL+C to abort]
[ 6.86] Reading data files.
[ 54.78] Creating Temoa model instance.
[ 29.26] Solving.
[ 34.23] Calculating reporting variables and formatting results.
No solution found.
Preparing the database for the period(s): ['2030']
1 .db DD file(s) converted
-------------------------
Config file: C:\Users\Sean\Documents\GitHub\temoa\temoa_model\config_sample_myopic_2030
Input file: C:\Users\Sean\Documents\GitHub\temoa\data_files\US_9R_TS_myopic_2030.dat
Output file: C:\Users\Sean\Documents\GitHub\temoa\data_files\US_9R_TS.sqlite
Scenario: test_run
Spreadsheet output: True
Myopic scheme: False
Myopic years: 0
Retain myopic databases: False
-------------------------
Citation output status: None
NEOS status: False
Version output status: False
-------------------------
Selected solver status: cplex
Solver LP write status: False
Pyomo LP write status: False
-------------------------
MGA slack value: None
MGA # of iterations: None
MGA weighting method: None
**NOTE: If you are performing MGA runs, navigate to the DAT file and make any modifications to the MGA sets before proceeding.
Please press enter to continue or Ctrl+C to quit.
Notice: Using the CPLEX solver interface.
Continue Operation? [Press enter to continue or CTRL+C to abort]
[ 6.50] Reading data files.
[ 52.17] Creating Temoa model instance.
[ 119.77] Solving.
[ 124.30] Calculating reporting variables and formatting results.
No solution found.
Preparing the database for the period(s): ['2035']
1 .db DD file(s) converted
-------------------------
Config file: C:\Users\Sean\Documents\GitHub\temoa\temoa_model\config_sample_myopic_2035
Input file: C:\Users\Sean\Documents\GitHub\temoa\data_files\US_9R_TS_myopic_2035.dat
Output file: C:\Users\Sean\Documents\GitHub\temoa\data_files\US_9R_TS.sqlite
Scenario: test_run
Spreadsheet output: True
Myopic scheme: False
Myopic years: 0
Retain myopic databases: False
-------------------------
Citation output status: None
NEOS status: False
Version output status: False
-------------------------
Selected solver status: cplex
Solver LP write status: False
Pyomo LP write status: False
-------------------------
MGA slack value: None
MGA # of iterations: None
MGA weighting method: None
**NOTE: If you are performing MGA runs, navigate to the DAT file and make any modifications to the MGA sets before proceeding.
Please press enter to continue or Ctrl+C to quit.
Notice: Using the CPLEX solver interface.
Continue Operation? [Press enter to continue or CTRL+C to abort]
[ 6.05] Reading data files.
[ 47.28] Creating Temoa model instance.
[ 54.30] Solving.
[ 58.51] Calculating reporting variables and formatting results.
No solution found.
Preparing the database for the period(s): ['2040']
1 .db DD file(s) converted
-------------------------
Config file: C:\Users\Sean\Documents\GitHub\temoa\temoa_model\config_sample_myopic_2040
Input file: C:\Users\Sean\Documents\GitHub\temoa\data_files\US_9R_TS_myopic_2040.dat
Output file: C:\Users\Sean\Documents\GitHub\temoa\data_files\US_9R_TS.sqlite
Scenario: test_run
Spreadsheet output: True
Myopic scheme: False
Myopic years: 0
Retain myopic databases: False
-------------------------
Citation output status: None
NEOS status: False
Version output status: False
-------------------------
Selected solver status: cplex
Solver LP write status: False
Pyomo LP write status: False
-------------------------
MGA slack value: None
MGA # of iterations: None
MGA weighting method: None
**NOTE: If you are performing MGA runs, navigate to the DAT file and make any modifications to the MGA sets before proceeding.
Please press enter to continue or Ctrl+C to quit.
Notice: Using the CPLEX solver interface.
Continue Operation? [Press enter to continue or CTRL+C to abort]
[ 5.80] Reading data files.
[ 45.64] Creating Temoa model instance.
[ 38.17] Solving.
[ 42.16] Calculating reporting variables and formatting results.
No solution found.
Preparing the database for the period(s): ['2045']
1 .db DD file(s) converted
-------------------------
Config file: C:\Users\Sean\Documents\GitHub\temoa\temoa_model\config_sample_myopic_2045
Input file: C:\Users\Sean\Documents\GitHub\temoa\data_files\US_9R_TS_myopic_2045.dat
Output file: C:\Users\Sean\Documents\GitHub\temoa\data_files\US_9R_TS.sqlite
Scenario: test_run
Spreadsheet output: True
Myopic scheme: False
Myopic years: 0
Retain myopic databases: False
-------------------------
Citation output status: None
NEOS status: False
Version output status: False
-------------------------
Selected solver status: cplex
Solver LP write status: False
Pyomo LP write status: False
-------------------------
MGA slack value: None
MGA # of iterations: None
MGA weighting method: None
**NOTE: If you are performing MGA runs, navigate to the DAT file and make any modifications to the MGA sets before proceeding.
Please press enter to continue or Ctrl+C to quit.
Notice: Using the CPLEX solver interface.
Continue Operation? [Press enter to continue or CTRL+C to abort]
[ 5.75] Reading data files.
[ 44.97] Creating Temoa model instance.
[ 25.89] Solving.
[ 25.89] Calculating reporting variables and formatting results.
No solution found.
Preparing the database for the period(s): ['2050']
1 .db DD file(s) converted
-------------------------
Config file: C:\Users\Sean\Documents\GitHub\temoa\temoa_model\config_sample_myopic_2050
Input file: C:\Users\Sean\Documents\GitHub\temoa\data_files\US_9R_TS_myopic_2050.dat
Output file: C:\Users\Sean\Documents\GitHub\temoa\data_files\US_9R_TS.sqlite
Scenario: test_run
Spreadsheet output: True
Myopic scheme: False
Myopic years: 0
Retain myopic databases: False
-------------------------
Citation output status: None
NEOS status: False
Version output status: False
-------------------------
Selected solver status: cplex
Solver LP write status: False
Pyomo LP write status: False
-------------------------
MGA slack value: None
MGA # of iterations: None
MGA weighting method: None
**NOTE: If you are performing MGA runs, navigate to the DAT file and make any modifications to the MGA sets before proceeding.
Please press enter to continue or Ctrl+C to quit.
Notice: Using the CPLEX solver interface.
Continue Operation? [Press enter to continue or CTRL+C to abort]
[ 5.67] Reading data files.
[ 43.89] Creating Temoa model instance.
[ 61.20] Solving.
[ 81.11] Calculating reporting variables and formatting results.
(temoa-py3) PS C:\Users\Sean\Documents\GitHub\temoa> python temoa_model\ --config=temoa_model\config_sample
1 .db DD file(s) converted
-------------------------
Config file: C:\Users\Sean\Documents\GitHub\temoa\temoa_model\config_sample
Input file: C:\Users\Sean\Documents\GitHub\temoa\data_files\US_9R_TS.dat
Output file: C:\Users\Sean\Documents\GitHub\temoa\data_files\US_9R_TS.sqlite
Scenario: test_run
Spreadsheet output: True
Myopic scheme: True
Myopic years: 2
Retain myopic databases: False
-------------------------
Citation output status: None
NEOS status: False
Version output status: False
-------------------------
Selected solver status: cplex
Solver LP write status: False
Pyomo LP write status: False
-------------------------
MGA slack value: None
MGA # of iterations: None
MGA weighting method: None
**NOTE: If you are performing MGA runs, navigate to the DAT file and make any modifications to the MGA sets before proceeding.
Please press enter to continue or Ctrl+C to quit.
Notice: Using the CPLEX solver interface.
Continue Operation? [Press enter to continue or CTRL+C to abort]
This run is myopic ...
Preparing the database for the period(s): ['2020', '2025']
1 .db DD file(s) converted
-------------------------
Config file: C:\Users\Sean\Documents\GitHub\temoa\temoa_model\config_sample_myopic_2020_2025
Input file: C:\Users\Sean\Documents\GitHub\temoa\data_files\US_9R_TS_myopic_2020_2025.dat
Output file: C:\Users\Sean\Documents\GitHub\temoa\data_files\US_9R_TS.sqlite
Scenario: test_run
Spreadsheet output: True
Myopic scheme: False
Myopic years: 0
Retain myopic databases: False
-------------------------
Citation output status: None
NEOS status: False
Version output status: False
-------------------------
Selected solver status: cplex
Solver LP write status: False
Pyomo LP write status: False
-------------------------
MGA slack value: None
MGA # of iterations: None
MGA weighting method: None
**NOTE: If you are performing MGA runs, navigate to the DAT file and make any modifications to the MGA sets before proceeding.
Please press enter to continue or Ctrl+C to quit.
Notice: Using the CPLEX solver interface.
Continue Operation? [Press enter to continue or CTRL+C to abort]
[ 9.44] Reading data files.
[ 111.11] Creating Temoa model instance.
[ 75.31] Solving.
[ 125.91] Calculating reporting variables and formatting results.
Preparing the database for the period(s): ['2025', '2030']
1 .db DD file(s) converted
-------------------------
Config file: C:\Users\Sean\Documents\GitHub\temoa\temoa_model\config_sample_myopic_2025_2030
Input file: C:\Users\Sean\Documents\GitHub\temoa\data_files\US_9R_TS_myopic_2025_2030.dat
Output file: C:\Users\Sean\Documents\GitHub\temoa\data_files\US_9R_TS.sqlite
Scenario: test_run
Spreadsheet output: True
Myopic scheme: False
Myopic years: 0
Retain myopic databases: False
-------------------------
Citation output status: None
NEOS status: False
Version output status: False
-------------------------
Selected solver status: cplex
Solver LP write status: False
Pyomo LP write status: False
-------------------------
MGA slack value: None
MGA # of iterations: None
MGA weighting method: None
**NOTE: If you are performing MGA runs, navigate to the DAT file and make any modifications to the MGA sets before proceeding.
Please press enter to continue or Ctrl+C to quit.
Notice: Using the CPLEX solver interface.
Continue Operation? [Press enter to continue or CTRL+C to abort]
[ 10.81] Reading data files.
[ 132.55] Creating Temoa model instance.
[ 250.14] Solving.
[ 312.23] Calculating reporting variables and formatting results.
Preparing the database for the period(s): ['2030', '2035']
1 .db DD file(s) converted
-------------------------
Config file: C:\Users\Sean\Documents\GitHub\temoa\temoa_model\config_sample_myopic_2030_2035
Input file: C:\Users\Sean\Documents\GitHub\temoa\data_files\US_9R_TS_myopic_2030_2035.dat
Output file: C:\Users\Sean\Documents\GitHub\temoa\data_files\US_9R_TS.sqlite
Scenario: test_run
Spreadsheet output: True
Myopic scheme: False
Myopic years: 0
Retain myopic databases: False
-------------------------
Citation output status: None
NEOS status: False
Version output status: False
-------------------------
Selected solver status: cplex
Solver LP write status: False
Pyomo LP write status: False
-------------------------
MGA slack value: None
MGA # of iterations: None
MGA weighting method: None
**NOTE: If you are performing MGA runs, navigate to the DAT file and make any modifications to the MGA sets before proceeding.
Please press enter to continue or Ctrl+C to quit.
Notice: Using the CPLEX solver interface.
Continue Operation? [Press enter to continue or CTRL+C to abort]
[ 11.00] Reading data files.
[ 136.97] Creating Temoa model instance.
[ 1565.96] Solving.
[ 1578.16] Calculating reporting variables and formatting results.
No solution found.
Preparing the database for the period(s): ['2035', '2040']
1 .db DD file(s) converted
-------------------------
Config file: C:\Users\Sean\Documents\GitHub\temoa\temoa_model\config_sample_myopic_2035_2040
Input file: C:\Users\Sean\Documents\GitHub\temoa\data_files\US_9R_TS_myopic_2035_2040.dat
Output file: C:\Users\Sean\Documents\GitHub\temoa\data_files\US_9R_TS.sqlite
Scenario: test_run
Spreadsheet output: True
Myopic scheme: False
Myopic years: 0
Retain myopic databases: False
-------------------------
Citation output status: None
NEOS status: False
Version output status: False
-------------------------
Selected solver status: cplex
Solver LP write status: False
Pyomo LP write status: False
-------------------------
MGA slack value: None
MGA # of iterations: None
MGA weighting method: None
**NOTE: If you are performing MGA runs, navigate to the DAT file and make any modifications to the MGA sets before proceeding.
Please press enter to continue or Ctrl+C to quit.
Notice: Using the CPLEX solver interface.
Continue Operation? [Press enter to continue or CTRL+C to abort]
[ 10.48] Reading data files.
[ 129.99] Creating Temoa model instance.
[ 863.15] Solving.
[ 874.70] Calculating reporting variables and formatting results.
No solution found.
Preparing the database for the period(s): ['2040', '2045']
1 .db DD file(s) converted
-------------------------
Config file: C:\Users\Sean\Documents\GitHub\temoa\temoa_model\config_sample_myopic_2040_2045
Input file: C:\Users\Sean\Documents\GitHub\temoa\data_files\US_9R_TS_myopic_2040_2045.dat
Output file: C:\Users\Sean\Documents\GitHub\temoa\data_files\US_9R_TS.sqlite
Scenario: test_run
Spreadsheet output: True
Myopic scheme: False
Myopic years: 0
Retain myopic databases: False
-------------------------
Citation output status: None
NEOS status: False
Version output status: False
-------------------------
Selected solver status: cplex
Solver LP write status: False
Pyomo LP write status: False
-------------------------
MGA slack value: None
MGA # of iterations: None
MGA weighting method: None
**NOTE: If you are performing MGA runs, navigate to the DAT file and make any modifications to the MGA sets before proceeding.
Please press enter to continue or Ctrl+C to quit.
Notice: Using the CPLEX solver interface.
Continue Operation? [Press enter to continue or CTRL+C to abort]
[ 10.14] Reading data files.
[ 123.40] Creating Temoa model instance.
[ 2793.87] Solving.
[ 2841.13] Calculating reporting variables and formatting results.
Preparing the database for the period(s): ['2045', '2050']
1 .db DD file(s) converted
-------------------------
Config file: C:\Users\Sean\Documents\GitHub\temoa\temoa_model\config_sample_myopic_2045_2050
Input file: C:\Users\Sean\Documents\GitHub\temoa\data_files\US_9R_TS_myopic_2045_2050.dat
Output file: C:\Users\Sean\Documents\GitHub\temoa\data_files\US_9R_TS.sqlite
Scenario: test_run
Spreadsheet output: True
Myopic scheme: False
Myopic years: 0
Retain myopic databases: False
-------------------------
Citation output status: None
NEOS status: False
Version output status: False
-------------------------
Selected solver status: cplex
Solver LP write status: False
Pyomo LP write status: False
-------------------------
MGA slack value: None
MGA # of iterations: None
MGA weighting method: None
**NOTE: If you are performing MGA runs, navigate to the DAT file and make any modifications to the MGA sets before proceeding.
Please press enter to continue or Ctrl+C to quit.
Notice: Using the CPLEX solver interface.
Continue Operation? [Press enter to continue or CTRL+C to abort]
[ 11.02] Reading data files.
[ 132.80] Creating Temoa model instance.
[ 112.70] Solving.
[ 168.44] Calculating reporting variables and formatting results.