Appearance
Enum - PrimarySource
Key: enum.primarySource
Identifies the energy medium or fuel type flowing through a gauge. Used as the secondary dimension in calorific value and emission factor lookups alongside GaugeMedium (previously alongside a HeatingPower medium enum, which was retired). Carried over from EM2 where these values were integer constants on the HeatingPower entity. Stored as an integer in the database.
The integer values correspond to the EM2 database constants (GaugeType::SOURCE_*). In EM3, primarySource is stored as the integer value directly (smallint), matching EM2 for migration compatibility. The integer is not an internal ID — it is the canonical application-layer value.
Translation note: the source Confluence page gives most descriptions only as Czech fuel/source names. The English translations below are supplied during migration and should be double-checked against the source page.
Values
| Integer value | Constant name | Description |
|---|---|---|
| 1 | general | General / unspecified energy source. |
| 2 | biomass | Biomass (general) — cs: Biomasa (obecná). |
| 3 | biogas | Biogas — cs: Bioplyn. |
| 4 | landfillBiogas | Landfill biogas — cs: Bioplyn skládkový. |
| 5 | solar | Solar — cs: Solár. |
| 6 | otherRenewables | Other renewable energy sources — cs: Jiné OZE. |
| 7 | otherNonRenewables | Other non-renewable energy sources — cs: Jiné neOZE. |
| 8 | biomassPellets | Biomass — pellets — cs: Biomasa — pelety. |
| 9 | biomassStraw | Biomass — straw — cs: Biomasa — sláma. |
| 10 | biomassWoodChips | Biomass — wood chips — cs: Biomasa — štěpka. |
| 11 | blackCoal | Black (hard) coal — cs: Černé uhlí. |
| 12 | brownCoal | Brown coal (lignite) — cs: Hnědé uhlí. |
| 13 | coke | Coke — cs: Koks. |
| 14 | lfo | Light fuel oil (LFO) — cs: LTO (lehký topný olej). |
| 15 | hfo | Heavy fuel oil (HFO) — cs: TTO (těžký topný olej). |
| 16 | diesel | Motor diesel fuel (stationary/heating use) — cs: Motorová nafta. |
| 17 | naturalGas | Natural gas — cs: Zemní plyn. |
| 18 | other | Other (unspecified) — cs: Jiné (nespecifikováno). |
| 19 | biomassBriquettes | Biomass — briquettes — cs: Biomasa — brikety. |
| 20 | biomassWood | Biomass — wood — cs: Biomasa — dřevo. |
| 21 | electricity | Electricity — cs: Elektřina. |
| 22 | gasoline | Petrol / gasoline — cs: Benzín. |
| 23 | oil | Diesel (vehicle fuel) — cs: Nafta (pohonné hmoty). |
| 24 | petroleumGas | LPG — cs: LPG. |
| 25 | cngLng | CNG / LNG — cs: CNG / LNG. |
| 26 | bioOil | Biodiesel — cs: Bionafta. |
| 27 | coldWater | Cold water — cs: Studená voda. |
| 28 | hotWater | Hot water — cs: Teplá voda. |
References
heatingPower.primarySource(and other calorific/emission-factor entities'.primarySource)calorificValue.primarySource,defaultCalorificValue.primarySource