handson3 runing

37 views
Skip to first unread message

Adamou Oumarou

unread,
Nov 17, 2021, 8:05:03 AM11/17/21
to OSeMOSYS
please here is the error I get can anyone help me solve it

------------------------------------------------------------------------------------------------------------------------------------------------------
Data file: C:\OSeMOSYSand Fextool\HO3\SAND_Interface_HO3.xlsm.txt
Model file: C:\OSeMOSYSand Fextool\HO3\OSeMOSYS_code.txt
GLPSOL Output file: C:\OSeMOSYSand Fextool\HO3\SAND_Interface_HO3.xlsm.lp
Results file: C:\OSeMOSYSand Fextool\HO3\SAND_Interface_HO3.xlsm.results.txt
Log file: C:\OSeMOSYSand Fextool\HO3\SAND_Interface_HO3.xlsm20211117124903.log.txt
------------------------------------------------------------------------------------------------------------------------------------------------------
------------------------------------------------------------------------------------------------------------------------------------------------------
Running C:\Program Files\clicSAND\utils\glpsol.exe --check -m "C:\OSeMOSYSand Fextool\HO3\OSeMOSYS_code.txt" -d "C:\OSeMOSYSand Fextool\HO3\SAND_Interface_HO3.xlsm.txt" --wlp "C:\OSeMOSYSand Fextool\HO3\SAND_Interface_HO3.xlsm.lp"
------------------------------------------------------------------------------------------------------------------------------------------------------
GLPSOL: GLPK LP/MIP Solver, v4.61
Parameter(s) specified in the command line:
 --check -m C:\OSeMOSYSand Fextool\HO3\OSeMOSYS_code.txt -d C:\OSeMOSYSand Fextool\HO3\SAND_Interface_HO3.xlsm.txt
 --wlp C:\OSeMOSYSand Fextool\HO3\SAND_Interface_HO3.xlsm.lp
Reading model section from C:\OSeMOSYSand Fextool\HO3\OSeMOSYS_code.txt...
C:\OSeMOSYSand Fextool\HO3\OSeMOSYS_code.txt:1015: warning: final NL missing before end of file
1015 lines were read
Reading data section from C:\OSeMOSYSand Fextool\HO3\SAND_Interface_HO3.xlsm.txt...
C:\OSeMOSYSand Fextool\HO3\SAND_Interface_HO3.xlsm.txt:23: 55 items missing in data group beginning with ELEC003
Context: ...2062 2063 2064 2065 2066 2067 2068 2069 2070 := ELEC003 28 ,
MathProg model processing error
------------------------------------------------------------------------------------------------------------------------------------------------------
Running CBC\bin\cbc.exe "C:\OSeMOSYSand Fextool\HO3\SAND_Interface_HO3.xlsm.lp" ratio 0,05 solve -solu "C:\OSeMOSYSand Fextool\HO3\SAND_Interface_HO3.xlsm.results.txt"
------------------------------------------------------------------------------------------------------------------------------------------------------
Welcome to the CBC MILP Solver
Version: 2.7.5
Build Date: Nov 10 2011
Revision Number: 1759

command line - CBC\bin\cbc.exe C:\OSeMOSYSand Fextool\HO3\SAND_Interface_HO3.xlsm.lp ratio 0,05 solve -solu C:\OSeMOSYSand Fextool\HO3\SAND_Interface_HO3.xlsm.results.txt (default strategy 1)
Unable to open file C:\OSeMOSYSand Fextool\HO3\SAND_Interface_HO3.xlsm.lp
String of 0,05 is illegal for double parameter ratioGap value remains 0
** Current model not valid
** Current model not valid
No match for C:\OSeMOSYSand Fextool\HO3\SAND_Interface_HO3.xlsm.results.txt - ? for list of commands
Total time (CPU seconds):       0.00   (Wallclock seconds):       0.00



Rudolf Yeganyan

unread,
Nov 19, 2021, 4:31:39 AM11/19/21
to OSeMOSYS
Hi, 

By the looks of it, you did not copy some data as values from the data prep file, and there are string variables in your SAND interface. 

Please re-do this, copying all the data as values only, and that should solve it. 

Follow the steps in the video below. 


Best,

Rudolf

Reply all
Reply to author
Forward
0 new messages