<commit_before>{
 "cells": [
  {
   "cell_type": "markdown",
   "metadata": {},
   "source": [
    "# TurbineClusterModelChain example\n",
    "\n",
    "This example shows you how to calculate the power output of wind farms and wind turbine clusters with the windpowerlib. A cluster can be useful if you want to calculate the feed-in of a region for which you want to use one single weather data point.\n",
    "\n",
    "Functions that are used in the ModelChain example, like the initialization of wind turbines, are imported and used without further explanations."
   ]
  },
  {
   "cell_type": "markdown",
   "metadata": {},
   "source": [
    "### Imports and initialization of wind turbines\n",
    "\n",
    "The import of weather data and the initialization of wind turbines is done as in the ``modelchain_example``."
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 1,<commit_msg>Add note that turbine cluster modelchain needs turbines to have power curve<commit_after>{
 "cells": [
  {
   "cell_type": "markdown",
   "metadata": {},
   "source": [
    "# TurbineClusterModelChain example\n",
    "\n",
    "This example shows you how to calculate the power output of wind farms and wind turbine clusters with the windpowerlib. A cluster can be useful if you want to calculate the feed-in of a region for which you want to use one single weather data point.\n",
    "\n",
    "Functions that are used in the ModelChain example, like the initialization of wind turbines, are imported and used without further explanations."
   ]
  },
  {
   "cell_type": "markdown",
   "metadata": {},
   "source": [
    "### Imports and initialization of wind turbines\n",
    "\n",
    "The import of weather data and the initialization of wind turbines is done as in the ``modelchain_example``. Be aware that currently wind turbines need to have a power curve as some calculations do not work with the power coefficient curve."
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 1,
{'fraction_non_alphanumeric': 0.10270541082164329, 'fraction_numerical': 0.001002004008016032, 'mean_word_length': 3.4575892857142856, 'pattern_counts': {'":': 18, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3513829', 'n_tokens_mistral': 560, 'n_tokens_neox': 538, 'n_words': 251}