> ## Documentation Index
> Fetch the complete documentation index at: https://docs.rebase.energy/llms.txt
> Use this file to discover all available pages before exploring further.

# Create multiple sites

> Create multiple sites to be forecasted using the UI

## Choose the site type to create

To create a site, start by clicking "Add location" in the top left corner of the screen.

<Frame>
  <img src="https://mintcdn.com/rebase/3jX8Yhg5APuNbXPt/images/empty-view-marked.png?fit=max&auto=format&n=3jX8Yhg5APuNbXPt&q=85&s=099f1fe3d6625f4e4539afc6ab42e146" width="2866" height="1296" data-path="images/empty-view-marked.png" />
</Frame>

Then you'll end up at the following page, where you have the choice to create multiple sites at once (bulk mode).

<Frame>
  <img src="https://mintcdn.com/rebase/3jX8Yhg5APuNbXPt/images/create-site-bulk-view-marked.png?fit=max&auto=format&n=3jX8Yhg5APuNbXPt&q=85&s=76e34977cb27af571b6b026d97c2eb09" width="2852" height="1298" data-path="images/create-site-bulk-view-marked.png" />
</Frame>

The files needs to be formatted according to a pre-defined structure for the upload to work. Find here an example
for .csv-files and here and example for .xlsx-files. See below for the definition of the energy asset objects and
their attributes.

<Tabs>
  <Tab title="Solar Power">
    <ResponseField name="SolarSite" type="EnergyAsset">
      <ParamField body="name" type="string" default="None">
        The name of the site
      </ParamField>

      <ParamField body="latitude" type="float" required>
        Latitude of the site
      </ParamField>

      <ParamField body="longitude" type="float" required>
        Longitude of the site
      </ParamField>

      <ParamField body="azimuth" type="float" required>
        Orientation of solar panels (0 N, 90 E, 180 S, 270 W) degrees
      </ParamField>

      <ParamField body="tilt" type="float" required>
        Tilt of solar panels (0 to 90) degrees
      </ParamField>

      <ParamField body="capacity" type="float | array" required>
        Capacity of site - array of JSON objects. Each JSON object should contain the capacity value in kW and the date (ISO 8601) from which the value is valid from.
      </ParamField>
    </ResponseField>
  </Tab>

  <Tab title="Wind Power">
    <ResponseField name="WindSite" type="EnergyAsset">
      <ParamField body="name" type="string" default="None">
        The name of the site
      </ParamField>

      <ParamField body="latitude" type="float" required>
        Latitude of the site
      </ParamField>

      <ParamField body="longitude" type="float" required>
        Longitude of the site
      </ParamField>

      <ParamField body="capacity" type="float | array" required>
        Capacity of the site - array of JSON objects. Each JSON object should contain the capacity value in kW and the date (ISO 8601) from which the value is valid from.
      </ParamField>
    </ResponseField>
  </Tab>

  <Tab title="Localized Weather">
    <ResponseField name="LocalizedSite" type="EnergyAsset">
      <ParamField body="name" type="string" default="None">
        The name of the site
      </ParamField>

      <ParamField body="latitude" type="float" required>
        Latitude of the site
      </ParamField>

      <ParamField body="longitude" type="float" required>
        Longitude of the site
      </ParamField>

      <ParamField body="measurement" type="string" required>
        The type of measurment. Should be a string of `WindSpeed`, `Temperature` or `CloudCover`.
      </ParamField>
    </ResponseField>
  </Tab>

  <Tab title="Electricity Demand">
    <ResponseField name="ElectricityDemandSite" type="EnergyAsset">
      <ParamField body="name" type="string" default="None">
        The name of the site
      </ParamField>

      <ParamField body="latitude" type="float" required>
        Latitude of the site
      </ParamField>

      <ParamField body="longitude" type="float" required>
        Longitude of the site
      </ParamField>

      <ParamField body="nwps" type="array" required>
        Array of one or more NWPS to train on.

        Available NWPS:

        * DWD\_ICON-EU
        * NCEP\_GFS
      </ParamField>

      <ParamField body="variables" type="array" required>
        Array of variables to be used in the forecast.

        Available variables:

        * Temperature
        * SolarDownwardRadiation
        * WindSpeed
        * WindDirection
        * CloudCover
      </ParamField>

      <ParamField body="calendar" type="array" required>
        Array of calendar features that should be included in model training.

        Available features:

        * holidays: If the model should take public holidays into account
        * hourOfDay: If the model should take into account which hour of the day it is
        * dayOfWeek: If the model should take into account which day of the week it is
        * weekOfYear: If the model should take into account which week of the year it is
      </ParamField>
    </ResponseField>
  </Tab>
</Tabs>


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.