A grid buy price list cannot be assigned after setting up the problem
If a grid buy price is initialized as a single value (set to one value or not set), then it is given the size of 1. If you then try to assign a list of prices to that variable that you've loaded in, for example, you get an error saying that you cannot assign a variable of length 8760 to a variable of length 1. This means that you can only define a grid buy price list from the yaml file.
How to reproduce
Relevant output
System Information
- OS: <macOS 12.4>
- Python version: <3.11.4>
- H2Integrate version: <0.1.1>
- <Installed from source using an editable installation with developer tools:
pip install -e .[develop]>
- Commit hash:
Relevant library versions
| Package |
Version |
| hopp |
<3.1.1> |
| numpy |
<1.26.4> |
| Pyomo |
<6.8.0> |
| scipy |
<1.14.1> |
|
|
A grid buy price list cannot be assigned after setting up the problem
If a grid buy price is initialized as a single value (set to one value or not set), then it is given the size of 1. If you then try to assign a list of prices to that variable that you've loaded in, for example, you get an error saying that you cannot assign a variable of length 8760 to a variable of length 1. This means that you can only define a grid buy price list from the yaml file.
How to reproduce
Relevant output
System Information
pip install -e .[develop]>Relevant library versions