From 21e91585d2ba7dce269e51f61ed7bf1b70829c23 Mon Sep 17 00:00:00 2001 From: Quincy Morgan <2046746+quincylvania@users.noreply.github.com> Date: Wed, 23 Dec 2020 10:22:05 -0500 Subject: [PATCH] Add Solar Panel Canopy and Rooftop Solar Panel presets (close #101) --- .../method/photovoltaic/building/roof.json | 38 +++++++++++++++++++ .../method/photovoltaic/location/roof.json | 37 ++++++++++++++++++ interim/source_strings.yaml | 10 +++++ 3 files changed, 85 insertions(+) create mode 100644 data/presets/power/generator/method/photovoltaic/building/roof.json create mode 100644 data/presets/power/generator/method/photovoltaic/location/roof.json diff --git a/data/presets/power/generator/method/photovoltaic/building/roof.json b/data/presets/power/generator/method/photovoltaic/building/roof.json new file mode 100644 index 00000000..9001aa75 --- /dev/null +++ b/data/presets/power/generator/method/photovoltaic/building/roof.json @@ -0,0 +1,38 @@ +{ + "icon": "fas-solar-panel", + "fields": [ + "{power/generator/method/photovoltaic}" + ], + "moreFields": [ + "{power/generator}" + ], + "geometry": [ + "area", + "point", + "vertex" + ], + "tags": { + "power": "generator", + "generator:method": "photovoltaic", + "building": "roof" + }, + "addTags": { + "power": "generator", + "generator:source": "solar", + "generator:method": "photovoltaic", + "generator:type": "solar_photovoltaic_panel", + "generator:output:electricity": "*", + "building": "roof" + }, + "reference": { + "key": "generator:method", + "value": "photovoltaic" + }, + "terms": [ + "photovoltaic canopy", + "solar awning", + "solar carport", + "solar canopy" + ], + "name": "Solar Panel Canopy" +} diff --git a/data/presets/power/generator/method/photovoltaic/location/roof.json b/data/presets/power/generator/method/photovoltaic/location/roof.json new file mode 100644 index 00000000..470d23dc --- /dev/null +++ b/data/presets/power/generator/method/photovoltaic/location/roof.json @@ -0,0 +1,37 @@ +{ + "icon": "fas-solar-panel", + "fields": [ + "{power/generator/method/photovoltaic}" + ], + "moreFields": [ + "{power/generator}" + ], + "geometry": [ + "area", + "point", + "vertex" + ], + "tags": { + "power": "generator", + "generator:method": "photovoltaic", + "location": "roof" + }, + "addTags": { + "power": "generator", + "generator:source": "solar", + "generator:method": "photovoltaic", + "generator:type": "solar_photovoltaic_panel", + "generator:output:electricity": "*", + "location": "roof" + }, + "reference": { + "key": "generator:method", + "value": "photovoltaic" + }, + "terms": [ + "home solar", + "rooftop photovoltaic module", + "PV module" + ], + "name": "Rooftop Solar Panel" +} diff --git a/interim/source_strings.yaml b/interim/source_strings.yaml index 090dd710..e575bf43 100644 --- a/interim/source_strings.yaml +++ b/interim/source_strings.yaml @@ -7610,6 +7610,16 @@ en: name: Solar Panel # 'terms: photovoltaic module,pv module,sunlight' terms: '' + power/generator/method/photovoltaic/building/roof: + # 'power=generator + generator:method=photovoltaic + building=roof\n\nTranslate the primary name. Optionally, add equivalent synonyms on newlines in order of preference (press the Return key).' + name: Solar Panel Canopy + # 'terms: photovoltaic canopy,solar awning,solar carport,solar canopy' + terms: '' + power/generator/method/photovoltaic/location/roof: + # 'power=generator + generator:method=photovoltaic + location=roof\n\nTranslate the primary name. Optionally, add equivalent synonyms on newlines in order of preference (press the Return key).' + name: Rooftop Solar Panel + # 'terms: home solar,rooftop photovoltaic module,pv module' + terms: '' power/generator/source/hydro: # 'power=generator + generator:source=hydro\n\nTranslate the primary name. Optionally, add equivalent synonyms on newlines in order of preference (press the Return key).' name: Water Turbine