Coder Social home page Coder Social logo

pyprima's People

Contributors

allcontributors[bot] avatar houssameh avatar kais-siala avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar

pyprima's Issues

Ask user to complete coordinates in clean_processes_and_storage_data_FRESNA

Right now, the module fills the missing information with random coordinates within the same country.
It occurred to me that we could ask the users to complete that information, the same way we ask them to do it with FLH values in the other script.
The user can Google the name of the power plant and figure out the exact location.
If that is not possible, then the script assigns the coordinates randomly.

So what I would like you to do is to add the user interface at the beginning of the section # COORDINATES.

Move some dictionaries from config to assumptions

I identified the following dictionaries as candidates:
dict_season
dict_daytype
dict_countries
dist_ren / country_names
loadability

Some dictionaries and existing sheets are independent from the region that is modeled (Europe, California, ...), others are.
So we would need a column/filter "Region" in some sheets.

urbs_global

urbs_global should move from config to assumptions.xlsx
it should be read as a dataframe, and copied as it is.

error during installing the environment

When I tried to install the environment with the command conda env create -f gen_mod.yml, I get the following error:
image

And then when I want to run the script by python runme.py, the package osgeo cannot be found:
image

Generate intermittent supply time series

The outputs of the script "generate-timeseries" (other repository) should be used as an input here.
Particularly the csv files for different technologies and heights with all the quantiles, and the regression parameters. The user should be able to set his/her own coefficients.

Create a proper README and requirements.txt file

Hi!

It would be nice to have a start from scratch README file.
I have already identified the necessary python packages:

  • geopandas
  • geopy
  • numpy
  • gdal
  • pandas
  • pysal
  • scipy
  • pyshp
  • shapely

I can run the script but I miss all input data (shapefiles, rasters, csv, etc.). Do you have any clue how I could get a minimal working code on the time load series?

Process-Commodity

This should be a copy of the sheet in assumptions.xlsx.
We should remove the processes that do not appear in Process, and throw an error if a commodity is missing from Commodity.

Complete description of assumption_paths

Please prepare the bullet points with the list of columns as I did for the first file.
Instead of typing the columns, you can copy them from the CSV file.
However, you will need to remove the tabs and add the quotation marks.

If you are unsure about the description, leave it empty.

display_progress

use function wherever possible (search for comment # Show status bar)

Commodity / Commodities

The sheet is created, but is not part of the final urbs model. This should be fixed. Maybe it has something to do with its name?

distribute_renewable_capacities

  • add a progress bar instead of print(counter)
  • print name of technology
  • rethink the distribution function for biomass and hydro by expanding the tool with further data (advanced)

Hydro time series

Time series for hydro + total hydro production needed
--> get the data from ENTSO-E
--> update generate_intermittent_supply
--> update generate_commodities

Create map of demand distribution

Such a map used to exist in previous versions of the code.
It is actually not necessary for the calculation, but could be useful for other purposes.

generate_timeseries_files

Read the time_series files that are generated by the tool renewable-timeseries,
edit them (filter technologies?),
save in the desired format.

Or:
edit the function in renewable-times and leave this one empty.

Or:
use this one to raise warnings if the files do not exist or not all the sites/technologies are available.

Missing sheets

To construct a model, all sheets from urbs need to be present, even if they are empty (e.g. DSM). They have to have the same header.

Process sheet

Right now, we read the existing processes from the FRESNA database.
I think we should be able to filter which ones we do not want to keep. For example using the dictionary that renames the processes in the beginning, we could use a dummy value "IGNORE", and then in the code, filter that value out.
Any other ideas?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.