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

process_solution() does not process folder in the format *Solution (1).zip #59

Open
claytonpbarrows opened this issue Jan 16, 2017 · 3 comments

Comments

@claytonpbarrows
Copy link
Contributor

If 2 or more same-name PLEXOS simulations are running at the same time, the log files and associated solution files will get a numbered ending in parentheses corresponding to the order in which they are run. This causes rPLEXOS to fail to recognize the zip file as a PLEXOS solution file. I'll add more documentation when I can.

@claytonpbarrows
Copy link
Contributor Author

claytonpbarrows commented Jan 17, 2017

> db = './OutputFiles/Model DA Base BR50 Solution/Model DA Base BR50 Solution (1).zip'
> library(rplexos)
> process_solution(db)
Warning: ./OutputFiles/Model DA Base BR50 Solution/Model DA Base BR50 Solution (1).zip is not a PLEXOS solution file and was ignored.

@danielsjf
Copy link
Contributor

This is due to the fix for #52. The regex was too constraining. I will fix this.

@danielsjf
Copy link
Contributor

@claytonpbarrows I've tried to fix the issue. Could you try if it works on your solutions? By the way, the new rplexos version does not compile on Linux (#60). Did you see similar issues with the previous builds? If not, do you maybe have a Linux version available to investigate this?

@danielsjf danielsjf reopened this Jan 19, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants