Hi there! Question reg. PyPSA-EUR
I am encountering errors with the
make_summary snakemake rule.
More specifically with this line
TypeError: unhashable type: 'list'
I ran only 2 scenarios (64 clusters with
Running Python 3.7 w/ most packages up-to-date.
a. Does the rule have a minimum number of scenarios for it to work?
b. Was there maybe an API change I overlooked which disabled compatability?
c .Is there a specific reason, why the pandas dataframes have a single index with tuple values instead of a multiindex (this is really confusing and I get the impression hick-ups pandas quite a bit)
<pypsa.descriptors.OrderedGraph object at 0x1A2CDD30>
pypsa.pf.calculate_Yfor calculating the bus admittance matrix of a synchronous zone https://github.com/PyPSA/PyPSA/blob/master/pypsa/pf.py#L916-L984.
network.shunt_impedanceshould be empty.
Thanks, @fneum! That worked well:)
I now am trying to build network under pypsa-eur-sec now using "snakemake -j1 prepare_sector_networks", I encountered the follow error
services: average fraction of non-electric for water is 0.11781164376526447
Traceback (most recent call last):
File "/home/chengong/.local/lib/python3.7/site-packages/pandas/core/indexes/base.py", line 2646, in get_loc
File "pandas/_libs/index.pyx", line 111, in pandas._libs.index.IndexEngine.get_loc
File "pandas/_libs/index.pyx", line 138, in pandas._libs.index.IndexEngine.get_loc
File "pandas/_libs/hashtable_class_helper.pxi", line 1619, in pandas._libs.hashtable.PyObjectHashTable.get_item
File "pandas/_libs/hashtable_class_helper.pxi", line 1627, in pandas._libs.hashtable.PyObjectHashTable.get_item
seems that BA got mixed in the EU countries? I used 37 nodes btw, not sure if it is something wrong with how I set it up in the config... Thank you again for your help :)
I wanted to know if the PyPSA is able to take the generator's efficiency curve as an input, instead of only a single value like: efficiency=50.
Kindly advise me if there is any possibility to add the efficiency curve in the simulation.