Add units to height of windmills

This commit is contained in:
pietervdvn 2021-07-13 18:34:20 +02:00
parent a001c7e525
commit 54a084d81c

View file

@ -62,7 +62,8 @@
"en": "What is the power output of this wind turbine? (e.g. 2.3 MW)" "en": "What is the power output of this wind turbine? (e.g. 2.3 MW)"
}, },
"freeform": { "freeform": {
"key": "generator:output:electricity" "key": "generator:output:electricity",
"type": "pfloat"
} }
}, },
{ {
@ -85,7 +86,7 @@
}, },
"freeform": { "freeform": {
"key": "height", "key": "height",
"type": "float" "type": "pfloat"
} }
}, },
{ {
@ -128,6 +129,23 @@
} }
], ],
"units": [ "units": [
{
"appliesToKey": [
"height","rotor:diameter"
],
"applicableUnits": [
{
"canonicalDenomination": "m",
"alternativeDenomination": [
"meter"
],
"human": {
"en": " meter",
"nl": " meter"
}
}
]
},
{ {
"appliesToKey": [ "appliesToKey": [
"generator:output:electricity" "generator:output:electricity"