Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

energy_supply_agent run fails with mosel exit code -9 #146

Open
tomalrussell opened this issue Jul 31, 2019 · 4 comments
Open

energy_supply_agent run fails with mosel exit code -9 #146

tomalrussell opened this issue Jul 31, 2019 · 4 comments

Comments

@tomalrussell
Copy link
Member

Since testing on #145 - smif run energy_supply_agent -v - smif runs okay, creates 3059 interventions (is this too many?), mosel fails with exit code -9.

@LahiruJayasuriya
Copy link
Contributor

@tomalrussell In this rule-based case, does SMIF read the full list of interventions defined in energy_supply_optimised sector model and then try to stick to the rule (where is this given ? in the *.py file ?)
Is this case, there could be 3059 interventions. But it shouldn't be a problem in terms of running the model.
Here, MOSEL may have accounted for a data error, hence failed.

@LahiruJayasuriya
Copy link
Contributor

LahiruJayasuriya commented Jul 31, 2019

3088 interventions are combinations of all listed interventions (electric world/multi-vector/net zero) in energy_supply_optimised sector model.
Overall the model run works for me.

@tomalrussell
Copy link
Member Author

@LahiruJayasuriya yes, it picks the cheapest interventions up to some budget, following the logic in planning/energyagent.py

Sounds okay, could be some limitation of the virtual machine I'm using. Do you know what the -9 code means?

If this doesn't replicate, we can close the issue, always re-open if it becomes important.

@LahiruJayasuriya
Copy link
Contributor

Makes sense, I think the interventions lists do not include accurate cost values. At the moment all are kept zero. I'll note this down to update in a next release.

Error code -9 Error on read of basis file. (as in https://www.maths.ed.ac.uk/hall/Xpress/FICO_Docs/optimizer/HTML/chapter9.html)
The basis file .BSS is corrupt. Please make sure that there is adequate disk space for the file and that it has not been corrupted.

Looks relevant to disk space, but I'm afraid I don't know more specific details on this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants