zhaw deka-Rechner v0.1.0
Scroll down for code samples, example requests and responses. Select a language for code samples from the tabs above or the mobile navigation menu.
Base URLs:
Default
Calculate All Modules
Code samples
# You can also use wget
curl -X POST https://deka.ela.ge/v1/all.json \
-H 'Content-Type: application/json' \
-H 'Accept: application/json'
const inputBody = '{
"mobility": {
"car": {
"petrol": 0,
"biogas": 0,
"diesel": 0,
"electric": 0,
"hydrogen": 0,
"naturalGas": 0,
"syntheticFuel": 0,
"syntheticGas": 0
},
"deliveryTruck": {
"petrol": 0,
"biogas": 0,
"diesel": 0,
"electric": 0,
"hydrogen": 0,
"naturalGas": 0,
"syntheticFuel": 0,
"syntheticGas": 0
},
"truck": {
"petrol": 0,
"biogas": 0,
"diesel": 0,
"electric": 0,
"hydrogen": 0,
"naturalGas": 0,
"syntheticFuel": 0,
"syntheticGas": 0
},
"bus": {
"petrol": 0,
"biogas": 0,
"diesel": 0,
"electric": 0,
"hydrogen": 0,
"naturalGas": 0,
"syntheticFuel": 0,
"syntheticGas": 0
},
"coach": {
"petrol": 0,
"biogas": 0,
"diesel": 0,
"electric": 0,
"hydrogen": 0,
"naturalGas": 0,
"syntheticFuel": 0,
"syntheticGas": 0
},
"motorcycle": {
"petrol": 0,
"biogas": 0,
"diesel": 0,
"electric": 0,
"hydrogen": 0,
"naturalGas": 0,
"syntheticFuel": 0,
"syntheticGas": 0
}
},
"heat": {
"shares": {
"buildingHeat": {
"biogas": 0,
"electric": 0,
"heatPump": 0,
"solarThermal": 0,
"syntheticGas": 0,
"syntheticOil": 0,
"woodAbroad": 0,
"woodInland": 0,
"fuelOilLight": 0,
"naturalGas": 0
},
"hotWater": {
"biogas": 0,
"electric": 0,
"heatPump": 0,
"solarThermal": 0,
"syntheticGas": 0,
"syntheticOil": 0,
"woodAbroad": 0,
"woodInland": 0,
"fuelOilLight": 0,
"naturalGas": 0
},
"industry": {
"biogas": 0,
"coal": 0,
"electric": 0,
"fuelOilLight": 0,
"heatPump": 0,
"fuelOilHeavy": 0,
"industryWaste": 0,
"naturalGas": 0,
"syntheticGas": 0,
"syntheticOil": 0,
"woodAbroad": 0,
"woodInland": 0
}
},
"annualRenovationRate": 0.01
},
"electricity": {
"riverHydropower": {
"smallPowerPlants": 0
},
"pv": {
"roofs": 0,
"facades": 0,
"streets": 0,
"parkingLots": 0,
"motorwayShoulders": 0,
"openSpacesAlpine": 0,
"agricultural": 0
},
"wind": {
"windPower": 0
},
"biomass": {
"biogas": 0,
"wood": 0
},
"naturalGas": {
"gasPower": 0,
"monthlyCapacityImportReduction": 0,
"maxAnnualImportReduction": 0
},
"nuclear": {
"nuclearPower": 40
},
"storagePowerPlants": {
"expansionOfCapacity": 0,
"simpleLake": 0,
"pumpedStorage": 0
},
"powerToGas": {
"additionalCapacityGasStorage": 0
},
"efficiency": {
"efficiencyGains": 0
}
},
"settings": {
"targetYear": 2030
}
}';
const headers = {
'Content-Type':'application/json',
'Accept':'application/json'
};
fetch('https://deka.ela.ge/v1/all.json',
{
method: 'POST',
body: inputBody,
headers: headers
})
.then(function(res) {
return res.json();
}).then(function(body) {
console.log(body);
});
import requests
headers = {
'Content-Type': 'application/json',
'Accept': 'application/json'
}
r = requests.post('https://deka.ela.ge/v1/all.json', headers = headers)
print(r.json())
POST /all.json
Calculate all modules in one request
Body parameter
{
"mobility": {
"car": {
"petrol": 0,
"biogas": 0,
"diesel": 0,
"electric": 0,
"hydrogen": 0,
"naturalGas": 0,
"syntheticFuel": 0,
"syntheticGas": 0
},
"deliveryTruck": {
"petrol": 0,
"biogas": 0,
"diesel": 0,
"electric": 0,
"hydrogen": 0,
"naturalGas": 0,
"syntheticFuel": 0,
"syntheticGas": 0
},
"truck": {
"petrol": 0,
"biogas": 0,
"diesel": 0,
"electric": 0,
"hydrogen": 0,
"naturalGas": 0,
"syntheticFuel": 0,
"syntheticGas": 0
},
"bus": {
"petrol": 0,
"biogas": 0,
"diesel": 0,
"electric": 0,
"hydrogen": 0,
"naturalGas": 0,
"syntheticFuel": 0,
"syntheticGas": 0
},
"coach": {
"petrol": 0,
"biogas": 0,
"diesel": 0,
"electric": 0,
"hydrogen": 0,
"naturalGas": 0,
"syntheticFuel": 0,
"syntheticGas": 0
},
"motorcycle": {
"petrol": 0,
"biogas": 0,
"diesel": 0,
"electric": 0,
"hydrogen": 0,
"naturalGas": 0,
"syntheticFuel": 0,
"syntheticGas": 0
}
},
"heat": {
"shares": {
"buildingHeat": {
"biogas": 0,
"electric": 0,
"heatPump": 0,
"solarThermal": 0,
"syntheticGas": 0,
"syntheticOil": 0,
"woodAbroad": 0,
"woodInland": 0,
"fuelOilLight": 0,
"naturalGas": 0
},
"hotWater": {
"biogas": 0,
"electric": 0,
"heatPump": 0,
"solarThermal": 0,
"syntheticGas": 0,
"syntheticOil": 0,
"woodAbroad": 0,
"woodInland": 0,
"fuelOilLight": 0,
"naturalGas": 0
},
"industry": {
"biogas": 0,
"coal": 0,
"electric": 0,
"fuelOilLight": 0,
"heatPump": 0,
"fuelOilHeavy": 0,
"industryWaste": 0,
"naturalGas": 0,
"syntheticGas": 0,
"syntheticOil": 0,
"woodAbroad": 0,
"woodInland": 0
}
},
"annualRenovationRate": 0.01
},
"electricity": {
"riverHydropower": {
"smallPowerPlants": 0
},
"pv": {
"roofs": 0,
"facades": 0,
"streets": 0,
"parkingLots": 0,
"motorwayShoulders": 0,
"openSpacesAlpine": 0,
"agricultural": 0
},
"wind": {
"windPower": 0
},
"biomass": {
"biogas": 0,
"wood": 0
},
"naturalGas": {
"gasPower": 0,
"monthlyCapacityImportReduction": 0,
"maxAnnualImportReduction": 0
},
"nuclear": {
"nuclearPower": 40
},
"storagePowerPlants": {
"expansionOfCapacity": 0,
"simpleLake": 0,
"pumpedStorage": 0
},
"powerToGas": {
"additionalCapacityGasStorage": 0
},
"efficiency": {
"efficiencyGains": 0
}
},
"settings": {
"targetYear": 2030
}
}
Parameters
| Name | Type | Description |
|---|---|---|
| body | CalculationRequest | Calculation Request |
Example responses
200 Response
{
"mobility": {
"motorizedIndividualTraffic": [
{
"date": "2006-01-02",
"co2eEmissions": 0,
"electricity": 0
}
],
"freightTraffic": [
{
"date": "2006-01-02",
"co2eEmissions": 0,
"electricity": 0
}
],
"publicTransport": [
{
"date": "2006-01-02",
"co2eEmissions": 0,
"electricity": 0
}
],
"other": [
{
"date": "2006-01-02",
"co2eEmissions": 0,
"electricity": 0
}
]
},
"heat": {
"buildingHeat": [
{
"date": "2006-01-02",
"co2eEmissions": 0,
"electricity": 0
}
],
"hotWater": [
{
"date": "2006-01-02",
"co2eEmissions": 0,
"electricity": 0
}
],
"industry": [
{
"date": "2006-01-02",
"co2eEmissions": 0,
"electricity": 0
}
]
},
"electricity": {
"riverHydropower": [
{
"date": "2006-01-02",
"co2eEmissions": 0,
"electricity": 0
}
],
"pv": [
{
"date": "2006-01-02",
"co2eEmissions": 0,
"electricity": 0
}
],
"wind": [
{
"date": "2006-01-02",
"co2eEmissions": 0,
"electricity": 0
}
],
"biomass": [
{
"date": "2006-01-02",
"co2eEmissions": 0,
"electricity": 0
}
],
"naturalGas": [
{
"date": "2006-01-02",
"co2eEmissions": 0,
"electricity": 0
}
],
"nuclear": [
{
"date": "2006-01-02",
"co2eEmissions": 0,
"electricity": 0
}
],
"powerToGas": [
{
"date": "2006-01-02",
"co2eEmissions": 0,
"electricity": 0,
"fillLevel": 0,
"maxCapacity": 0
}
],
"storagePowerPlants": [
{
"date": "2006-01-02",
"co2eEmissions": 0,
"electricity": 0,
"pumpedStorage": {
"fillLevel": 0,
"maxCapacity": 0
},
"simpleLake": {
"fillLevel": 0,
"maxCapacity": 0
}
}
],
"importExport": [
{
"date": "2006-01-02",
"imports": {
"includingSeasonal": 0,
"excludingSeasonal": 0
},
"exports": {
"includingSeasonal": 0,
"excludingSeasonal": 0
}
}
],
"efficiency": [
{
"date": "2006-01-02",
"savings": 0,
"electricityDemandAfterEfficiency": 0
}
]
},
"total": {
"co2eEmissions": 0,
"electricityDemand": 0,
"electricityProduction": 0,
"temperature": 0
}
}
Responses
| Status | Meaning | Description | Schema |
|---|---|---|---|
| 200 | OK | Calculation Response | CalculationResponse |
Schemas
Percentage
0
Properties
| Name | Type | Description |
|---|---|---|
| anonymous | number | min: 0 max: 1 |
Date
"2006-01-02"
Properties
| Name | Type | Description |
|---|---|---|
| anonymous | string |
Settings
{
"targetYear": 2030
}
Properties
| Name | Type | Description |
|---|---|---|
| targetYear | number | min: 2030 max: 2050 |
TimeSeriesTimeStep
{
"date": "2006-01-02",
"co2eEmissions": 0,
"electricity": 0
}
Properties
| Name | Type | Description |
|---|---|---|
| date | Date | |
| co2eEmissions | number | |
| electricity | number |
TimeSeries
[
{
"date": "2006-01-02",
"co2eEmissions": 0,
"electricity": 0
}
]
Properties
| Name | Type | Description |
|---|---|---|
| anonymous | [TimeSeriesTimeStep] |
ElectricityRequest
{
"riverHydropower": {
"smallPowerPlants": 0
},
"pv": {
"roofs": 0,
"facades": 0,
"streets": 0,
"parkingLots": 0,
"motorwayShoulders": 0,
"openSpacesAlpine": 0,
"agricultural": 0
},
"wind": {
"windPower": 0
},
"biomass": {
"biogas": 0,
"wood": 0
},
"naturalGas": {
"gasPower": 0,
"monthlyCapacityImportReduction": 0,
"maxAnnualImportReduction": 0
},
"nuclear": {
"nuclearPower": 40
},
"storagePowerPlants": {
"expansionOfCapacity": 0,
"simpleLake": 0,
"pumpedStorage": 0
},
"powerToGas": {
"additionalCapacityGasStorage": 0
},
"efficiency": {
"efficiencyGains": 0
}
}
Properties
| Name | Type | Description |
|---|---|---|
| riverHydropower | object | |
| smallPowerPlants | number | min: 0 max: 1.26 |
| pv | object | |
| roofs | number | min: 0 max: 23.3 |
| facades | number | min: 0 max: 8.2 |
| streets | number | min: 0 max: 2.5 |
| parkingLots | number | min: 0 max: 3.9 |
| motorwayShoulders | number | min: 0 max: 3.9 |
| openSpacesAlpine | number | min: 0 max: 15 |
| agricultural | number | min: 0 |
| wind | object | |
| windPower | number | min: 0 max: 29 |
| biomass | object | |
| biogas | number | min: 0 max: 2.7 |
| wood | number | min: 0 max: 6.3 |
| naturalGas | object | |
| gasPower | number | min: 0 max: 18.75 |
| monthlyCapacityImportReduction | number | min: 0 max: 1.86 |
| maxAnnualImportReduction | number | min: 0 max: 18.75 |
| nuclear | object | |
| nuclearPower | number | min: 40 max: 60 |
| storagePowerPlants | object | |
| expansionOfCapacity | number | min: 0 max: 2 |
| simpleLake | number | min: 0 max: 1 |
| pumpedStorage | number | min: 0 max: 1 |
| powerToGas | object | |
| additionalCapacityGasStorage | number | min: 0 max: 10 |
| efficiency | object | |
| efficiencyGains | number | min: 0 max: 18 |
ElectricityResponse
{
"riverHydropower": [
{
"date": "2006-01-02",
"co2eEmissions": 0,
"electricity": 0
}
],
"pv": [
{
"date": "2006-01-02",
"co2eEmissions": 0,
"electricity": 0
}
],
"wind": [
{
"date": "2006-01-02",
"co2eEmissions": 0,
"electricity": 0
}
],
"biomass": [
{
"date": "2006-01-02",
"co2eEmissions": 0,
"electricity": 0
}
],
"naturalGas": [
{
"date": "2006-01-02",
"co2eEmissions": 0,
"electricity": 0
}
],
"nuclear": [
{
"date": "2006-01-02",
"co2eEmissions": 0,
"electricity": 0
}
],
"powerToGas": [
{
"date": "2006-01-02",
"co2eEmissions": 0,
"electricity": 0,
"fillLevel": 0,
"maxCapacity": 0
}
],
"storagePowerPlants": [
{
"date": "2006-01-02",
"co2eEmissions": 0,
"electricity": 0,
"pumpedStorage": {
"fillLevel": 0,
"maxCapacity": 0
},
"simpleLake": {
"fillLevel": 0,
"maxCapacity": 0
}
}
],
"importExport": [
{
"date": "2006-01-02",
"imports": {
"includingSeasonal": 0,
"excludingSeasonal": 0
},
"exports": {
"includingSeasonal": 0,
"excludingSeasonal": 0
}
}
],
"efficiency": [
{
"date": "2006-01-02",
"savings": 0,
"electricityDemandAfterEfficiency": 0
}
]
}
Properties
| Name | Type | Description |
|---|---|---|
| riverHydropower | TimeSeries | |
| pv | TimeSeries | |
| wind | TimeSeries | |
| biomass | TimeSeries | |
| naturalGas | TimeSeries | |
| nuclear | TimeSeries | |
| powerToGas | [allOf] |
allOf
| Name | Type | Description |
|---|---|---|
| anonymous | TimeSeriesTimeStep |
and
| Name | Type | Description |
|---|---|---|
| anonymous | object | |
| fillLevel | number | |
| maxCapacity | number |
continued
| Name | Type | Description |
|---|---|---|
| storagePowerPlants | [allOf] |
allOf
| Name | Type | Description |
|---|---|---|
| anonymous | TimeSeriesTimeStep |
and
| Name | Type | Description |
|---|---|---|
| anonymous | object | |
| pumpedStorage | object | |
| fillLevel | number | |
| maxCapacity | number | |
| simpleLake | object | |
| fillLevel | number | |
| maxCapacity | number |
continued
| Name | Type | Description |
|---|---|---|
| importExport | [object] | |
| date | Date | |
| imports | object | |
| includingSeasonal | number | |
| excludingSeasonal | number | |
| exports | object | |
| includingSeasonal | number | |
| excludingSeasonal | number | |
| efficiency | [object] | |
| date | Date | |
| savings | number | |
| electricityDemandAfterEfficiency | number |
Buildings
{
"biogas": 0,
"electric": 0,
"heatPump": 0,
"solarThermal": 0,
"syntheticGas": 0,
"syntheticOil": 0,
"woodAbroad": 0,
"woodInland": 0,
"fuelOilLight": 0,
"naturalGas": 0
}
Properties
| Name | Type | Description |
|---|---|---|
| biogas | Percentage | |
| electric | Percentage | |
| heatPump | Percentage | |
| solarThermal | Percentage | |
| syntheticGas | Percentage | |
| syntheticOil | Percentage | |
| woodAbroad | Percentage | |
| woodInland | Percentage | |
| fuelOilLight | Percentage | |
| naturalGas | Percentage |
Industry
{
"biogas": 0,
"coal": 0,
"electric": 0,
"fuelOilLight": 0,
"heatPump": 0,
"fuelOilHeavy": 0,
"industryWaste": 0,
"naturalGas": 0,
"syntheticGas": 0,
"syntheticOil": 0,
"woodAbroad": 0,
"woodInland": 0
}
Properties
| Name | Type | Description |
|---|---|---|
| biogas | Percentage | |
| coal | Percentage | |
| electric | Percentage | |
| fuelOilLight | Percentage | |
| heatPump | Percentage | |
| fuelOilHeavy | Percentage | |
| industryWaste | Percentage | |
| naturalGas | Percentage | |
| syntheticGas | Percentage | |
| syntheticOil | Percentage | |
| woodAbroad | Percentage | |
| woodInland | Percentage |
HeatRequest
{
"shares": {
"buildingHeat": {
"biogas": 0,
"electric": 0,
"heatPump": 0,
"solarThermal": 0,
"syntheticGas": 0,
"syntheticOil": 0,
"woodAbroad": 0,
"woodInland": 0,
"fuelOilLight": 0,
"naturalGas": 0
},
"hotWater": {
"biogas": 0,
"electric": 0,
"heatPump": 0,
"solarThermal": 0,
"syntheticGas": 0,
"syntheticOil": 0,
"woodAbroad": 0,
"woodInland": 0,
"fuelOilLight": 0,
"naturalGas": 0
},
"industry": {
"biogas": 0,
"coal": 0,
"electric": 0,
"fuelOilLight": 0,
"heatPump": 0,
"fuelOilHeavy": 0,
"industryWaste": 0,
"naturalGas": 0,
"syntheticGas": 0,
"syntheticOil": 0,
"woodAbroad": 0,
"woodInland": 0
}
},
"annualRenovationRate": 0.01
}
Properties
| Name | Type | Description |
|---|---|---|
| shares | object | |
| buildingHeat | Buildings | |
| hotWater | Buildings | |
| industry | Industry | |
| annualRenovationRate | number | min: 0.01 max: 0.03 |
HeatResponse
{
"buildingHeat": [
{
"date": "2006-01-02",
"co2eEmissions": 0,
"electricity": 0
}
],
"hotWater": [
{
"date": "2006-01-02",
"co2eEmissions": 0,
"electricity": 0
}
],
"industry": [
{
"date": "2006-01-02",
"co2eEmissions": 0,
"electricity": 0
}
]
}
Properties
| Name | Type | Description |
|---|---|---|
| buildingHeat | TimeSeries | |
| hotWater | TimeSeries | |
| industry | TimeSeries |
MobilityEnergySources
{
"petrol": 0,
"biogas": 0,
"diesel": 0,
"electric": 0,
"hydrogen": 0,
"naturalGas": 0,
"syntheticFuel": 0,
"syntheticGas": 0
}
Properties
| Name | Type | Description |
|---|---|---|
| petrol | Percentage | |
| biogas | Percentage | |
| diesel | Percentage | |
| electric | Percentage | |
| hydrogen | Percentage | |
| naturalGas | Percentage | |
| syntheticFuel | Percentage | |
| syntheticGas | Percentage |
MobilityRequest
{
"car": {
"petrol": 0,
"biogas": 0,
"diesel": 0,
"electric": 0,
"hydrogen": 0,
"naturalGas": 0,
"syntheticFuel": 0,
"syntheticGas": 0
},
"deliveryTruck": {
"petrol": 0,
"biogas": 0,
"diesel": 0,
"electric": 0,
"hydrogen": 0,
"naturalGas": 0,
"syntheticFuel": 0,
"syntheticGas": 0
},
"truck": {
"petrol": 0,
"biogas": 0,
"diesel": 0,
"electric": 0,
"hydrogen": 0,
"naturalGas": 0,
"syntheticFuel": 0,
"syntheticGas": 0
},
"bus": {
"petrol": 0,
"biogas": 0,
"diesel": 0,
"electric": 0,
"hydrogen": 0,
"naturalGas": 0,
"syntheticFuel": 0,
"syntheticGas": 0
},
"coach": {
"petrol": 0,
"biogas": 0,
"diesel": 0,
"electric": 0,
"hydrogen": 0,
"naturalGas": 0,
"syntheticFuel": 0,
"syntheticGas": 0
},
"motorcycle": {
"petrol": 0,
"biogas": 0,
"diesel": 0,
"electric": 0,
"hydrogen": 0,
"naturalGas": 0,
"syntheticFuel": 0,
"syntheticGas": 0
}
}
Properties
| Name | Type | Description |
|---|---|---|
| car | MobilityEnergySources | |
| deliveryTruck | MobilityEnergySources | |
| truck | MobilityEnergySources | |
| bus | MobilityEnergySources | |
| coach | MobilityEnergySources | |
| motorcycle | MobilityEnergySources |
MobilityResponse
{
"motorizedIndividualTraffic": [
{
"date": "2006-01-02",
"co2eEmissions": 0,
"electricity": 0
}
],
"freightTraffic": [
{
"date": "2006-01-02",
"co2eEmissions": 0,
"electricity": 0
}
],
"publicTransport": [
{
"date": "2006-01-02",
"co2eEmissions": 0,
"electricity": 0
}
],
"other": [
{
"date": "2006-01-02",
"co2eEmissions": 0,
"electricity": 0
}
]
}
Properties
| Name | Type | Description |
|---|---|---|
| motorizedIndividualTraffic | TimeSeries | |
| freightTraffic | TimeSeries | |
| publicTransport | TimeSeries | |
| other | TimeSeries |
TotalResponse
{
"co2eEmissions": 0,
"electricityDemand": 0,
"electricityProduction": 0,
"temperature": 0
}
Properties
| Name | Type | Description |
|---|---|---|
| co2eEmissions | number | |
| electricityDemand | number | |
| electricityProduction | number | |
| temperature | number |
CalculationRequest
{
"mobility": {
"car": {
"petrol": 0,
"biogas": 0,
"diesel": 0,
"electric": 0,
"hydrogen": 0,
"naturalGas": 0,
"syntheticFuel": 0,
"syntheticGas": 0
},
"deliveryTruck": {
"petrol": 0,
"biogas": 0,
"diesel": 0,
"electric": 0,
"hydrogen": 0,
"naturalGas": 0,
"syntheticFuel": 0,
"syntheticGas": 0
},
"truck": {
"petrol": 0,
"biogas": 0,
"diesel": 0,
"electric": 0,
"hydrogen": 0,
"naturalGas": 0,
"syntheticFuel": 0,
"syntheticGas": 0
},
"bus": {
"petrol": 0,
"biogas": 0,
"diesel": 0,
"electric": 0,
"hydrogen": 0,
"naturalGas": 0,
"syntheticFuel": 0,
"syntheticGas": 0
},
"coach": {
"petrol": 0,
"biogas": 0,
"diesel": 0,
"electric": 0,
"hydrogen": 0,
"naturalGas": 0,
"syntheticFuel": 0,
"syntheticGas": 0
},
"motorcycle": {
"petrol": 0,
"biogas": 0,
"diesel": 0,
"electric": 0,
"hydrogen": 0,
"naturalGas": 0,
"syntheticFuel": 0,
"syntheticGas": 0
}
},
"heat": {
"shares": {
"buildingHeat": {
"biogas": 0,
"electric": 0,
"heatPump": 0,
"solarThermal": 0,
"syntheticGas": 0,
"syntheticOil": 0,
"woodAbroad": 0,
"woodInland": 0,
"fuelOilLight": 0,
"naturalGas": 0
},
"hotWater": {
"biogas": 0,
"electric": 0,
"heatPump": 0,
"solarThermal": 0,
"syntheticGas": 0,
"syntheticOil": 0,
"woodAbroad": 0,
"woodInland": 0,
"fuelOilLight": 0,
"naturalGas": 0
},
"industry": {
"biogas": 0,
"coal": 0,
"electric": 0,
"fuelOilLight": 0,
"heatPump": 0,
"fuelOilHeavy": 0,
"industryWaste": 0,
"naturalGas": 0,
"syntheticGas": 0,
"syntheticOil": 0,
"woodAbroad": 0,
"woodInland": 0
}
},
"annualRenovationRate": 0.01
},
"electricity": {
"riverHydropower": {
"smallPowerPlants": 0
},
"pv": {
"roofs": 0,
"facades": 0,
"streets": 0,
"parkingLots": 0,
"motorwayShoulders": 0,
"openSpacesAlpine": 0,
"agricultural": 0
},
"wind": {
"windPower": 0
},
"biomass": {
"biogas": 0,
"wood": 0
},
"naturalGas": {
"gasPower": 0,
"monthlyCapacityImportReduction": 0,
"maxAnnualImportReduction": 0
},
"nuclear": {
"nuclearPower": 40
},
"storagePowerPlants": {
"expansionOfCapacity": 0,
"simpleLake": 0,
"pumpedStorage": 0
},
"powerToGas": {
"additionalCapacityGasStorage": 0
},
"efficiency": {
"efficiencyGains": 0
}
},
"settings": {
"targetYear": 2030
}
}
Properties
| Name | Type | Description |
|---|---|---|
| mobility | MobilityRequest | |
| heat | HeatRequest | |
| electricity | ElectricityRequest | |
| settings | Settings |
CalculationResponse
{
"mobility": {
"motorizedIndividualTraffic": [
{
"date": "2006-01-02",
"co2eEmissions": 0,
"electricity": 0
}
],
"freightTraffic": [
{
"date": "2006-01-02",
"co2eEmissions": 0,
"electricity": 0
}
],
"publicTransport": [
{
"date": "2006-01-02",
"co2eEmissions": 0,
"electricity": 0
}
],
"other": [
{
"date": "2006-01-02",
"co2eEmissions": 0,
"electricity": 0
}
]
},
"heat": {
"buildingHeat": [
{
"date": "2006-01-02",
"co2eEmissions": 0,
"electricity": 0
}
],
"hotWater": [
{
"date": "2006-01-02",
"co2eEmissions": 0,
"electricity": 0
}
],
"industry": [
{
"date": "2006-01-02",
"co2eEmissions": 0,
"electricity": 0
}
]
},
"electricity": {
"riverHydropower": [
{
"date": "2006-01-02",
"co2eEmissions": 0,
"electricity": 0
}
],
"pv": [
{
"date": "2006-01-02",
"co2eEmissions": 0,
"electricity": 0
}
],
"wind": [
{
"date": "2006-01-02",
"co2eEmissions": 0,
"electricity": 0
}
],
"biomass": [
{
"date": "2006-01-02",
"co2eEmissions": 0,
"electricity": 0
}
],
"naturalGas": [
{
"date": "2006-01-02",
"co2eEmissions": 0,
"electricity": 0
}
],
"nuclear": [
{
"date": "2006-01-02",
"co2eEmissions": 0,
"electricity": 0
}
],
"powerToGas": [
{
"date": "2006-01-02",
"co2eEmissions": 0,
"electricity": 0,
"fillLevel": 0,
"maxCapacity": 0
}
],
"storagePowerPlants": [
{
"date": "2006-01-02",
"co2eEmissions": 0,
"electricity": 0,
"pumpedStorage": {
"fillLevel": 0,
"maxCapacity": 0
},
"simpleLake": {
"fillLevel": 0,
"maxCapacity": 0
}
}
],
"importExport": [
{
"date": "2006-01-02",
"imports": {
"includingSeasonal": 0,
"excludingSeasonal": 0
},
"exports": {
"includingSeasonal": 0,
"excludingSeasonal": 0
}
}
],
"efficiency": [
{
"date": "2006-01-02",
"savings": 0,
"electricityDemandAfterEfficiency": 0
}
]
},
"total": {
"co2eEmissions": 0,
"electricityDemand": 0,
"electricityProduction": 0,
"temperature": 0
}
}
Properties
| Name | Type | Description |
|---|---|---|
| mobility | MobilityResponse | |
| heat | HeatResponse | |
| electricity | ElectricityResponse | |
| total | TotalResponse |