Will Usher
Will Usher
Hi @vignesh1987 - thanks for the bug report. Initially, I thought this is likely an issue with [Amply](https://github.com/willu47/amply), but I see that Amply does support this format for representing parameters...
Hi @vignesh1987 - thanks for reporting back. So the issue is that if the list of parameters and sets in the `config.yaml` file does not match what is in the...
Sounds useful. We have validation for the other formats. The data files are the tricky ones because of how the amply parser works. Technically amply could be modified to extract...
One option is to use a regex to parse the datafile for parameter and set definitions and then check these against the config file prior to reading in the data...
Perhaps it is due to the `fill_value=0.0` in line 389 `data = emissions_penalty.div(discount_factor_mid, fill_value=0.0)`. The `fill_value` argument replaces missing data with the given value. I guess this is causing a...
To reproduce this: ```python import pandas as pd data = [ ['REGIONA', 'REGIONB', 2010, 1], ['REGIONA', 'REGIONB', 2020, 2], ['REGIONB', 'REGIONA', 2010, 2], ['REGIONB', 'REGIONA', 2020, 2], ] df =...
Could also support #55
Options: - Except technologies from the requirement for not being duplicated in the models - Replace all regions with a global region
As of v0.8, the task is to implement an otoole ReadStrategy and WriteStrategy for Pyomo dat files.
Could cache the csv file or call to store.read_parameter_file using `functools.lru_cache`