temoa icon indicating copy to clipboard operation
temoa copied to clipboard

Tools for Energy Model Optimization and Analysis

Results 38 temoa issues
Sort by recently updated
recently updated
newest added

Make ruff stricter and fix various linting inconsistencies

tracking

## Context During the review of PR #206 (https://github.com/TemoaProject/temoa/pull/206), it was identified that the codebase contains references to `max_capacity`/`min_capacity` and `MaxCapacity`/`MinCapacity` that do not match the actual TemoaModel attributes. The...

I have successfully installed and run Temoa , and I can see the results and different graphs in the output. However, I cannot see any Excel file being generated. Could...

## Context In PR #196, the `migrate` command was added to the CLI to support database migrations from v3.1 to v4. The current implementation for batch directory migrations manipulates `sys.argv`...

definitions.py is in the base directory which can cause issues with pip installation, additonally it creates a dependency on where the project is being installed, which should be avoided.

add a tutorial command to the cli that copies the example config and database to the current directory and uses it to run through temoa

planned

## Background Multiple methods in `temoa/data_processing/database_util.py` construct SQL queries using f-strings with user-provided input, which could theoretically allow SQL injection attacks. While the current data access patterns make these low-risk,...

Maintenance

## Overview This issue tracks improvements to the graphviz-based static plotting functionality in `temoa/data_processing/make_graphviz.py`. ## Multi-region file naming issue When using the `GraphvizDiagramGenerator` class methods (`create_main_results_diagram`, `create_tech_results_diagrams`, `create_commodity_partial_results`, `create_complete_input_graph`), there...

## Context A bug was identified and fixed in PR #180 where `retirementPeriods` lookups were using the aggregated region variable `r` instead of the concrete region `reg`, causing end-of-life emissions...