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

## Context This issue tracks the enhancement suggested in [PR #177](https://github.com/TemoaProject/temoa/pull/177) review comment: https://github.com/TemoaProject/temoa/pull/177#discussion_r2464156032 Currently, all test scenarios in `tests/test_network_model_data.py` set ConstructionInput and EndOfLifeOutput tables to empty lists, which means...

Make domain specific types new types instead of type aliases for better tooltips

type-safety

## Description A bug was identified in `temoa/components/flows.py` in the `create_commodity_balance_and_flow_sets` function around lines 181-188. The set comprehension for `M.seasonalStorageLevelIndices_rpstv` iterates over `M.sequential_to_season` as keys only, binding `s_stor` to the...

## Description A type mismatch bug was identified in `temoa/utilities/unit_cost_explorer.py` at line 128 that will cause a KeyError at runtime. ## Problem The call to `StorageEnergyUpperBound_Constraint` passes `'1'` (string) for...

bug

The `save_lp` function in `temoa/_internal/run_actions.py` currently uses incorrect static method calls `Path.is_dir(lp_path)` and `Path.mkdir(lp_path)` instead of instance methods. These should be changed to use the Path instance methods on the...

## Description There is a version mismatch for the gurobipy dependency in `pyproject.toml`: - **Runtime dependency** (line 36): `gurobipy>=11.0.3` - **Dev dependency** (line 198): `gurobipy>=12.0.3` This mismatch can cause environment...

## Context During the review of PR #165 (typing first pass), we identified potential enhancements to the Pyomo type stubs in `temoa/types/pyomo_stubs.pyi`. **Reference:** - PR: https://github.com/TemoaProject/temoa/pull/165 - Comment: https://github.com/TemoaProject/temoa/pull/165#discussion_r2438054841 -...

enhancement

There appears to be an issue with how variable costs (and emission costs) are represented in the objective function. **Some background:** 1. **Decision Variables in Temoa**: Temoa has two main...