| | 5 | > The value of plant:source should be empty or include all generator sources of the plant. |
| | 6 | |
| | 7 | Exactly, yes |
| | 8 | |
| | 9 | > The intermediate generators need to be exclude all the way or at least handled completely on their own. |
| | 10 | |
| | 11 | Data model is built as a chain between intermediate and output generators. Intermediate generators feed output generators. |
| | 12 | This chart is a bit theoretical but illustrates it well: https://wiki.openstreetmap.org/wiki/File:Conventional_power_plant.png |
| | 13 | |
| | 14 | This works fine for highly detailed nuclear power plants for instance: actual nuclear reactor is an intermediate generator outputs hot water. Hot water is used in other intermediate steam generators and then the steam is finally used in the output electricity generator. |
| | 15 | A nuclear power plant should got `plant:source=nuclear` and `plant:output:electricity=yes` but steam generator in the middle remains invisible at the plant scale. |
| | 16 | |
| | 17 | You've got an example here: https://www.openstreetmap.org/way/41764784 |
| | 18 | Intermediate nuclear reactor outputs hot water: https://www.openstreetmap.org/node/6591917291 |
| | 19 | Intermediate steam generator: https://www.openstreetmap.org/node/6591917288 |
| | 20 | Output electricity generator: https://www.openstreetmap.org/node/6591917286 |
| | 21 | |
| | 22 | We see here that we're not able to get if intermediate steam generator is an input one or not (we should have a third value `generator:plant=input` for that). Then, the only check you can do currently is to check: |
| | 23 | * If there are one or more intermediate generator, `plant:source` should be included in `generator:source` set. |
| | 24 | * If there are only output generators (default situation), `plant:source` should equals `generator:source` set. |
| | 25 | |
| | 26 | It's a bit complex I know, I hope JOSM could handle such details. |