Hi everybody,
I have an error in a simplified version of my model in which I merge two demand dectors: industry that produce one material commodity and transport that produce one service commodity.
I set the demand in the preset folder for both sectors for 2020,2050,2070. I modified the toml file like this for both sectors because otherwise it was not able to read both file sectors:
[sectors.industry_presets]
type = 'presets'
priority = 0
consumption_path= "{path}/technodata/preset/Industry*Consumption.csv" instead of *Consumption
...
consumption_path= "{path}/technodata/preset/Transport*Consumption.csv" .
Now I have the following error:
Traceback (most recent call last):
File "C:\Users\anaconda3\envs\museos\lib\runpy.py", line 192, in _run_module_as_main
return _run_code(code, main_globals, None,
File "C:\Users\anaconda3\envs\museos\lib\runpy.py", line 85, in _run_code
exec(code, run_globals)
File "C:\Users\MUSE_OS\src\muse\__main__.py", line 55, in <module>
muse_main()
File "C:\Users\AppData\Roaming\Python\Python38\site-packages\click\core.py", line 1130, in __call__
return self.main(*args, **kwargs)
File "C:\Users\AppData\Roaming\Python\Python38\site-packages\click\core.py", line 1055, in main
rv = self.invoke(ctx)
File "C:\Users\AppData\Roaming\Python\Python38\site-packages\click\core.py", line 1404, in invoke
return ctx.invoke(self.callback, **ctx.params)
File "C:\Users\AppData\Roaming\Python\Python38\site-packages\click\core.py", line 760, in invoke
return __callback(*args, **kwargs)
File "C:\Users\MUSE_OS\src\muse\__main__.py", line 52, in muse_main
MCA.factory(settings).run()
File "C:\Users\MUSE_OS\src\muse\mca.py", line 74, in factory
sectors.append(SECTORS_REGISTERED[kind](sector, settings))
File "C:\Users\MUSE_OS\src\muse\sectors\preset_sector.py", line 105, in factory
raise IOError("None of supply, consumption, costs given")
OSError: None of supply, consumption, costs given
It seems the the model does not work without the supply sector but the single demand sectors work correclty if they are runned separately without any supply. Is it possible that this is due to other kind of mistakes?
Thank you in advance for your help
S.