Giter Club home page Giter Club logo

data-science-for-esm's Introduction

Data Science for Energy System Modelling

Course at TU Berlin to learn energy system modelling with data.

Usage

Building the book

If you'd like to develop and/or build the Data Science for Energy System Modelling book, you should:

  1. Clone this repository
  2. Run pip install -r requirements.txt (it is recommended you do this within a virtual environment)
  3. (Optional) Edit the books source files located in the data-science-for-esm/ directory
  4. Run jupyter-book clean data-science-for-esm/ to remove any existing builds
  5. Run jupyter-book build data-science-for-esm/

A fully-rendered HTML version of the book will be built in data-science-for-esm/_build/html/.

Hosting the book

Please see the Jupyter Book documentation to discover options for deploying a book online using services such as GitHub, GitLab, or Netlify.

For GitHub and GitLab deployment specifically, the cookiecutter-jupyter-book includes templates for, and information about, optional continuous integration (CI) workflow files to help easily and automatically deploy books online with GitHub or GitLab. For example, if you chose github for the include_ci cookiecutter option, your book template was created with a GitHub actions workflow file that, once pushed to GitHub, automatically renders and pushes your book to the gh-pages branch of your repo and hosts it on GitHub Pages when a push or pull request is made to the main branch.

Contributors

We welcome and recognize all contributions. You can see a list of current contributors in the contributors tab.

Credits

This project is created using the excellent open source Jupyter Book project and the executablebooks/cookiecutter-jupyter-book template.

data-science-for-esm's People

Contributors

fneum avatar pitmonticone avatar pre-commit-ci[bot] avatar pz-max avatar wehuang16 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

data-science-for-esm's Issues

update workshop 12 - sector coupling with multilink default

Since the PR: PyPSA/PyPSA#669, my feeling is that this code block is not necessary. I am happy to get assigned to this task and deal with it (as well as the Linopy workshop)

Some sector-coupling technologies have multiple ouputs (e.g. CHP plants producing heat and power). By default, PyPSA links have only one input (bus0) and one output (bus1) with a given efficieny (efficiency). Thus, we have to tell PyPSA that links can have multiple outputs by overriding the component attributes.

override_component_attrs = pypsa.descriptors.Dict(
    {k: v.copy() for k, v in pypsa.components.component_attrs.items()}
)

override_component_attrs["Link"].loc["bus2"] = [
    "string",
    np.nan,
    np.nan,
    "2nd bus",
    "Input (optional)",
]
override_component_attrs["Link"].loc["efficiency2"] = [
    "static or series",
    "per unit",
    1.0,
    "2nd bus efficiency",
    "Input (optional)",
]
override_component_attrs["Link"].loc["p2"] = [
    "series",
    "MW",
    0.0,
    "2nd bus output",
    "Output",
]

Issue on page /03-workshop-pandas.html

Hi Fabian,

would it be possible to share the solutions for the Excercise Time Series Analysis? I'm currently struggling a bit with the task to fill up the NaN prices with data the week ahead.

Best regards,
Johannes

linopy workshop

Awesome notebooks! Is there interest to convert the pyomo notebook to a linopy version?
Happy to work on this if you think it's useful

Improve Intro

Add to your intro what this website is about & what people will learn. Basically:
"This semester I taught a new course at TU Berlin on energy system modelling and data science, for which I built a small website with energy-focused Python tutorials. The course offers many hands-on introductions to various libraries that are useful for energy system modelling and processing data more generally. It includes tutorials and examples for getting started with Python, numpy, matplotlib, pandas, geopandas, cartopy, rasterio, atlite, networkx, pyomo, pypsa, plotly, hvplot, and streamlit. Topics covered include:

  • time series analysis (e.g. wind and solar production)
  • tabular data (e.g. LNG terminals)
  • geographical data (e.g. location of power plants)
  • data visualisation
  • converting weather data to renewable generation
  • land eligibility analysis (e.g. where to build wind turbines)
  • optimisation
  • electricity market modelling
  • power flow modelling (linearised)
  • capacity expansion planning
  • sector-coupling"
  • interactive visualisation and dashboarding"

git and github workshop

Would it make sense to add a small and concise introduction to git and github?
This introduction aims to teach the git concept and the difference between a soft & hard fork. The learning would be especially important for people aiming to join the development e.g. PhDs/ postdocs/professionals/ others. We would refine and extend the course from here to reach the standard of your other offered courses.

Happy to get allocated to this if there is interest.

image

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.