Trouble Running Temoa Model – No Output or Errors Despite Multiple Attempts

37 views
Skip to first unread message

Bairavi Mathialagan

unread,
May 6, 2025, 12:30:06 PMMay 6
to Temoa Project
Hi all,

I'm a student completely new to Temoa trying to run the Temoa model for the first time, and I’ve been following the tutorial videos and GitHub instructions closely, but I’m currently stuck and would greatly appreciate your help.

Here’s what I’ve done so far:
  • Installed the temoa-py3 environment using the environment.yml file from the Temoa OEO repository.
  • Downloaded the oeo-master folder (the temoa subfolder inside it was initially empty).
  • Downloaded the Temoa source code separately and placed it inside the oeo-master/temoa directory so that it includes temoa_model, tools, and related folders
  • Renamed the configuration file to config_sample.toml and verified the paths and scenario name inside (screenshot attached).
    • Switched to using GLPK as a solver instead of CPLEX, which I don’t have.
  • Attempted to run the model using:
    • python temoa_model/ --config temoa_model/config_sample and then
    • python temoa_model/ --config temoa_model/config_sample.toml
    • python -m temoa_model --config config_sample.toml
Despite this, I don’t receive any output. No result folders are generated, and the script finishes silently without any error messages or log files. Is there something I might be missing in the directory setup or run command? Thank you in advance for any guidance you can provide!

Best regards,
Bairavi Mathialagan
Screenshot (1497).png

Su Co

unread,
May 9, 2025, 8:10:59 AMMay 9
to Temoa Project
Hi,
Have you looked up the config_sample.toml file?
There will be input_database = "put your address of your input file" line
and the output_database= "put your address of your output file" line.
That's where your files are located. Hope that helps!

Regards,
Fitri


Cameron Wade

unread,
May 9, 2025, 8:11:20 AMMay 9
to Temoa Project
Hi Bairavi,

Thanks for your questions and your interest in Temoa!
 
Based on the information you shared, it appears you might be trying to use a version of Temoa that is no longer supported (based on the config file you shared). We recently released v3.0, which you can find here. The README includes updated installation instructions - just scroll down the linked page.

The issue you're experiencing (silent execution with no output) often happens when there's a mismatch between the configuration file structure and what the current version expects. In v3.0, we've standardized the way configuration files are handled. I recommend:
  1. Starting fresh with the v3.0 codebase.
  2. Using the example configuration files included in the new version.
  3. Running with the command: `python -m temoa_model --config=/path/to/your/config_file.toml`
The CANOE project (Canadian version of Temoa) has some helpful online tutorials you might find useful.

We're currently updating our documentation, which is unfortunately out of date. Your feedback is valuable as we improve the user experience. Please feel free to reach out with any further questions.

Good luck!
Cam

--
You received this message because you are subscribed to the Google Groups "Temoa Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email to temoa-projec...@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/temoa-project/3e2e80d3-1f66-4938-97f1-aec8a20feefan%40googlegroups.com.
Reply all
Reply to author
Forward
0 new messages