tum-ens / pyprima Goto Github PK
View Code? Open in Web Editor NEWpython PReprocessing of Inputs for Model frAmeworks
License: GNU General Public License v3.0
python PReprocessing of Inputs for Model frAmeworks
License: GNU General Public License v3.0
change "maxperstep" to "maxperhour"
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?
add some parameters to vary sectoral/total load in the future, compared to a reference year.
Time series for hydro + total hydro production needed
--> get the data from ENTSO-E
--> update generate_intermittent_supply
--> update generate_commodities
Hi!
It would be nice to have a start from scratch README file.
I have already identified the necessary python packages:
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?
in order to read the excel files for the load profiles, for example.
use function wherever possible (search for comment # Show status bar)
The list does not appear properly in the PDF.
urbs_global should move from config to assumptions.xlsx
it should be read as a dataframe, and copied as it is.
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.
in the theory section
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.
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.
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?
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.
and rename current module to: generate_elec_load
Shortcuts for license, contributors, black
2nd column should be called "Process"
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.
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.
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.
Check why some lines have a capacity of 0
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.
@all-contributors please add @molarana for design
Add column discharge
for Europe_NUTS0_wo_Balkans
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.