-
Notifications
You must be signed in to change notification settings - Fork 5
✨Implement all Enums (🤖🥣scraping from bo4e.de) #218
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from all commits
Commits
Show all changes
18 commits
Select commit
Hold shift + click to select a range
a7ac01f
draft for a script
hf-kklein cf69e92
add the scraped data
hf-kklein 4581831
Revert "add the scraped data"
hf-kklein fe5b321
update scrping script
hf-kklein f20992d
scraped files + manual fix of messwertstatuszusatz
hf-kklein 7a6cd3d
merge conflicting files
hf-kklein 5546439
various steps to please the linter
hf-kklein f2318e9
remove scraper code from repo
hf-kklein f8fda34
Update src/bo4e/enum/__init__.py
hf-kklein a6890fe
Merge branch 'master' into auto_generate_enums
hf-kklein b1721db
Update src/bo4e/enum/aufabschlagstyp.py
hf-kklein 14595ca
Update src/bo4e/enum/aufabschlagsziel.py
hf-kklein 9502da0
Fix autogenerated docstring: "Zustandszahl" instead of ZZAHL
hf-kklein ed63fad
Update src/bo4e/enum/messwertstatus.py
hf-kklein 6926cfc
Update src/bo4e/enum/tarifkalkulationsmethode.py
hf-kklein 01d745a
Update src/bo4e/enum/voraussetzungen.py
hf-kklein 0f489af
Update src/bo4e/enum/waehrungscode.py
hf-kklein 33ecadc
do docstrings consistently in Title case
hf-kklein File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,18 @@ | ||
| # pylint: disable=missing-module-docstring | ||
| from bo4e.enum.strenum import StrEnum | ||
|
|
||
|
|
||
| class Angebotsstatus(StrEnum): | ||
| """ | ||
| Gibt den Status eines Angebotes an. | ||
| """ | ||
|
|
||
| KONZEPTION = "KONZEPTION" #: Konzeption | ||
| UNVERBINDLICH = "UNVERBINDLICH" #: unverbindlich | ||
| VERBINDLICH = "VERBINDLICH" #: verbindlich | ||
| BEAUFTRAGT = "BEAUFTRAGT" #: beauftragt | ||
| UNGUELTIG = "UNGUELTIG" #: ungültig | ||
| ABGELEHNT = "ABGELEHNT" #: abgelehnt | ||
| NACHGEFASST = "NACHGEFASST" #: nachgefasst | ||
| AUSSTEHEND = "AUSSTEHEND" #: ausstehend | ||
| ERLEDIGT = "ERLEDIGT" #: erledigt |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,11 @@ | ||
| # pylint: disable=missing-module-docstring | ||
| from bo4e.enum.strenum import StrEnum | ||
|
|
||
|
|
||
| class AufAbschlagstyp(StrEnum): | ||
| """ | ||
| Festlegung, ob der Auf- oder Abschlag mit relativen oder absoluten Werten erfolgt. | ||
| """ | ||
|
|
||
| RELATIV = "RELATIV" #: prozentualer Auf-/Abschlag | ||
| ABSOLUT = "ABSOLUT" #: Absoluter Auf-/Abschlag |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,15 @@ | ||
| # pylint: disable=missing-module-docstring | ||
| from bo4e.enum.strenum import StrEnum | ||
|
|
||
|
|
||
| class AufAbschlagsziel(StrEnum): | ||
| """ | ||
| Der Preis, auf den sich ein Auf- oder Abschlag bezieht. | ||
| """ | ||
|
|
||
| ARBEITSPREIS_EINTARIF = "ARBEITSPREIS_EINTARIF" #: Auf-/Abschlag auf den Arbeitspreis Eintarif | ||
| ARBEITSPREIS_HT = "ARBEITSPREIS_HT" #: Auf-/Abschlag auf den Arbeitspreis HT | ||
| ARBEITSPREIS_NT = "ARBEITSPREIS_NT" #: Auf-/Abschlag auf den Arbeitspreis NT | ||
| ARBEITSPREIS_HT_NT = "ARBEITSPREIS_HT_NT" #: Auf-/Abschlag auf den Arbeitspreis HT und NT | ||
| GRUNDPREIS = "GRUNDPREIS" #: Auf-/Abschlag auf den Grundpreis | ||
| GESAMTPREIS = "GESAMTPREIS" #: Auf-/Abschlag auf den Gesamtpreis |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,19 @@ | ||
| # pylint: disable=missing-module-docstring | ||
| from bo4e.enum.strenum import StrEnum | ||
|
|
||
|
|
||
| class Ausschreibungsportal(StrEnum): | ||
| """ | ||
| Aufzählung der unterstützten Ausschreibungsportale. | ||
| """ | ||
|
|
||
| ENPORTAL = "ENPORTAL" #: enPORTAL | ||
| ENERGIE_AGENTUR = "ENERGIE_AGENTUR" #: EnergieAgentur.NRW | ||
| BMWI = "BMWI" #: BMWI-Ausschreibungen | ||
| ENERGIE_HANDELSPLATZ = "ENERGIE_HANDELSPLATZ" #: energie-handelsplatz.de | ||
| BUND = "BUND" #: BUND.DE | ||
| VERA_ONLINE = "VERA_ONLINE" #: vera_online.de | ||
| ISPEX = "ISPEX" #: ispex.de | ||
| ENERGIEMARKTPLATZ = "ENERGIEMARKTPLATZ" #: energiemarktplatz.de | ||
| EVERGABE = "EVERGABE" #: evergabe.de | ||
| DTAD = "DTAD" #: dtad.de |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,13 @@ | ||
| # pylint: disable=missing-module-docstring | ||
| from bo4e.enum.strenum import StrEnum | ||
|
|
||
|
|
||
| class Ausschreibungsstatus(StrEnum): | ||
| """ | ||
| Bezeichnungen für die Ausschreibungsphasen | ||
| """ | ||
|
|
||
| PHASE1 = "PHASE1" #: Phase1: Teilnahmewettbewerb | ||
| PHASE2 = "PHASE2" #: Phase2: Angebotsphase | ||
| PHASE3 = "PHASE3" #: Phase3: Verhandlungsphase | ||
| PHASE4 = "PHASE4" #: Phase4: Zuschlagserteilung | ||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,12 @@ | ||
| # pylint: disable=missing-module-docstring | ||
| from bo4e.enum.strenum import StrEnum | ||
|
|
||
|
|
||
| class Ausschreibungstyp(StrEnum): | ||
| """ | ||
| Aufzählung für die Typisierung von Ausschreibungen. | ||
| """ | ||
|
|
||
| PRIVATRECHTLICH = "PRIVATRECHTLICH" #: privat-rechtlich | ||
| OEFFENTLICHRECHTLICH = "OEFFENTLICHRECHTLICH" #: öffentlich-rechtlich | ||
| EUROPAWEIT = "EUROPAWEIT" #: europaweit |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,59 @@ | ||
| # pylint: disable=missing-module-docstring | ||
| from bo4e.enum.strenum import StrEnum | ||
|
|
||
|
|
||
| class BDEWArtikelnummer(StrEnum): | ||
| """ | ||
| BDEW Artikelnummern | ||
| """ | ||
|
|
||
| LEISTUNG = "LEISTUNG" #: Leistung | ||
| LEISTUNG_PAUSCHAL = "LEISTUNG_PAUSCHAL" #: Leistung pauschal | ||
| GRUNDPREIS = "GRUNDPREIS" #: Grundpreis | ||
| REGELENERGIE_ARBEIT = "REGELENERGIE_ARBEIT" #: Regelenergie Arbeit | ||
| REGELENERGIE_LEISTUNG = "REGELENERGIE_LEISTUNG" #: Regelenergie Leistung | ||
| NOTSTROMLIEFERUNG_ARBEIT = "NOTSTROMLIEFERUNG_ARBEIT" #: Notstromlieferung Arbeit | ||
| NOTSTROMLIEFERUNG_LEISTUNG = "NOTSTROMLIEFERUNG_LEISTUNG" #: Notstromlieferung Leistung | ||
| RESERVENETZKAPAZITAET = "RESERVENETZKAPAZITAET" #: Reservenetzkapazität | ||
| RESERVELEISTUNG = "RESERVELEISTUNG" #: Reserveleistung | ||
| ZUSAETZLICHE_ABLESUNG = "ZUSAETZLICHE_ABLESUNG" #: Zusätzliche Ablesung | ||
| PRUEFGEBUEHREN_AUSSERPLANMAESSIG = "PRUEFGEBUEHREN_AUSSERPLANMAESSIG" #: Prüfgebühren (außerplanmäßig) | ||
| WIRKARBEIT = "WIRKARBEIT" #: Wirkarbeit | ||
| SINGULAER_GENUTZTE_BETRIEBSMITTEL = ( | ||
| "SINGULAER_GENUTZTE_BETRIEBSMITTEL" #: singulär genutzte Betriebsmittel (z. B. Trafomiete, Leitungen) | ||
| ) | ||
| ABGABE_KWKG = "ABGABE_KWKG" #: Abgabe KWKG | ||
| ABSCHLAG = "ABSCHLAG" #: Abschlag | ||
| KONZESSIONSABGABE = "KONZESSIONSABGABE" #: Konzessionsabgabe | ||
| ENTGELT_FERNAUSLESUNG = "ENTGELT_FERNAUSLESUNG" #: Entgelt für Fernauslesung | ||
| UNTERMESSUNG = "UNTERMESSUNG" #: Untermessung | ||
| BLINDMEHRARBEIT = "BLINDMEHRARBEIT" #: Blindmehrarbeit | ||
| ENTGELT_ABRECHNUNG = "ENTGELT_ABRECHNUNG" #: Entgelt für Abrechnung | ||
| SPERRKOSTEN = "SPERRKOSTEN" #: Sperrkosten | ||
| ENTSPERRKOSTEN = "ENTSPERRKOSTEN" #: Entsperrkosten | ||
| MAHNKOSTEN = "MAHNKOSTEN" #: Mahnkosten | ||
| MEHR_MINDERMENGEN = "MEHR_MINDERMENGEN" #: Mehr- und Mindermenge | ||
| INKASSOKOSTEN = "INKASSOKOSTEN" #: Inkassokosten | ||
| BLINDMEHRLEISTUNG = "BLINDMEHRLEISTUNG" #: Blindmehrleistung | ||
| ENTGELT_MESSUNG_ABLESUNG = "ENTGELT_MESSUNG_ABLESUNG" #: Entgelt für Messung und Ablesung | ||
| ENTGELT_EINBAU_BETRIEB_WARTUNG_MESSTECHNIK = ( | ||
| "ENTGELT_EINBAU_BETRIEB_WARTUNG_MESSTECHNIK" #: Entgelt für Einbau, Betrieb und Wartung der Messtechnik | ||
| ) | ||
| AUSGLEICHSENERGIE = "AUSGLEICHSENERGIE" #: Ausgleichsenergie | ||
| ZAEHLEINRICHTUNG = "ZAEHLEINRICHTUNG" #: Zähleinrichtung | ||
| WANDLER_MENGENUMWERTER = "WANDLER_MENGENUMWERTER" #: Wandler/Mengenumwerter | ||
| KOMMUNIKATIONSEINRICHTUNG = "KOMMUNIKATIONSEINRICHTUNG" #: Kommunikationseinrichtung | ||
| TECHNISCHE_STEUEREINRICHTUNG = "TECHNISCHE_STEUEREINRICHTUNG" #: Technische Steuereinrichtung | ||
| PARAGRAF_19_STROM_NEV_UMLAGE = "PARAGRAF_19_STROM_NEV_UMLAGE" #: § 19 StromNEV Umlage | ||
| BEFESTIGUNGSEINRICHTUNG = "BEFESTIGUNGSEINRICHTUNG" #: Befestigungseinrichtung (z. B. Zählertafel) | ||
| OFFSHORE_HAFTUNGSUMLAGE = "OFFSHORE_HAFTUNGSUMLAGE" #: Offshore-Haftungsumlage | ||
| FIXE_ARBEITSENTGELTKOMPONENTE = "FIXE_ARBEITSENTGELTKOMPONENTE" #: Fixe Arbeitsentgeltkomponente | ||
| FIXE_LEISTUNGSENTGELTKOMPONENTE = "FIXE_LEISTUNGSENTGELTKOMPONENTE" #: Fixe Leistungsentgeltkomponente | ||
| UMLAGE_ABSCHALTBARE_LASTEN = "UMLAGE_ABSCHALTBARE_LASTEN" #: Umlage abschaltbare Lasten | ||
| MEHRMENGE = "MEHRMENGE" #: Mehrmenge | ||
| MINDERMENGE = "MINDERMENGE" #: Mindermenge | ||
| ENERGIESTEUER = "ENERGIESTEUER" #: Energiesteuer | ||
| SMARTMETER_GATEWAY = "SMARTMETER_GATEWAY" #: Smartmeter-Gateway | ||
| STEUERBOX = "STEUERBOX" #: Steuerbox | ||
| MSB_INKL_MESSUNG = "MSB_INKL_MESSUNG" #: Messtellenbetrieb inklusive Messung | ||
| AUSGLEICHSENERGIE_UNTERDECKUNG = "AUSGLEICHSENERGIE_UNTERDECKUNG" #: AusgleichsenergieUnterdeckung |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,21 @@ | ||
| # pylint: disable=missing-module-docstring | ||
| from bo4e.enum.strenum import StrEnum | ||
|
|
||
|
|
||
| class Bemessungsgroesse(StrEnum): | ||
| """ | ||
| Zur Abbildung von Messgrössen und zur Verwendung in energiewirtschaftlichen Berechnungen. | ||
| """ | ||
|
|
||
| WIRKARBEIT_EL = "WIRKARBEIT_EL" #: elektrische Wirkarbeit | ||
| LEISTUNG_EL = "LEISTUNG_EL" #: elektrische Leistung | ||
| BLINDARBEIT_KAP = "BLINDARBEIT_KAP" #: Blindarbeit kapazitiv | ||
| BLINDARBEIT_IND = "BLINDARBEIT_IND" #: Blindarbeit induktiv | ||
| BLINDLEISTUNG_KAP = "BLINDLEISTUNG_KAP" #: Blindleistung kapazitiv | ||
| BLINDLEISTUNG_IND = "BLINDLEISTUNG_IND" #: Blindleistung induktiv | ||
| WIRKARBEIT_TH = "WIRKARBEIT_TH" #: thermische Wirkarbeit | ||
| LEISTUNG_TH = "LEISTUNG_TH" #: thermische Leistung | ||
| VOLUMEN = "VOLUMEN" #: Volumen | ||
| VOLUMENSTROM = "VOLUMENSTROM" #: Volumenstrom (Volumen/Zeit) | ||
| BENUTZUNGSDAUER = "BENUTZUNGSDAUER" #: Benutzungsdauer (Arbeit/Leistung) | ||
| ANZAHL = "ANZAHL" #: Darstellung einer Stückzahl |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,23 @@ | ||
| # pylint: disable=missing-module-docstring | ||
| from bo4e.enum.strenum import StrEnum | ||
|
|
||
|
|
||
| class Erzeugungsart(StrEnum): | ||
| """ | ||
| Auflistung der Erzeugungsarten von Energie. | ||
| """ | ||
|
|
||
| FOSSIL = "FOSSIL" #: Fossile Brennstoffe | ||
| KWK = "KWK" #: Kraft-Waerme-Koppelung | ||
| WIND = "WIND" #: Windkraft | ||
| SOLAR = "SOLAR" #: Solarenergie | ||
| KERNKRAFT = "KERNKRAFT" #: Kernkraft | ||
| WASSER = "WASSER" #: Wasserkraft | ||
| GEOTHERMIE = "GEOTHERMIE" #: Geothermie | ||
| BIOMASSE = "BIOMASSE" #: Biomasse | ||
| KOHLE = "KOHLE" #: Kohle | ||
| GAS = "GAS" #: Erdgas | ||
| SONSTIGE = "SONSTIGE" #: Sonstige | ||
| SONSTIGE_EEG = "SONSTIGE_EEG" #: Sonstige nach EEG | ||
| BIOGAS = "BIOGAS" #: Biogas | ||
| KLIMANEUTRALES_GAS = "KLIMANEUTRALES_GAS" #: Klimaneutrales Erdgas |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,47 @@ | ||
| # pylint: disable=missing-module-docstring | ||
| from bo4e.enum.strenum import StrEnum | ||
|
|
||
|
|
||
| class Geraetemerkmal(StrEnum): | ||
| """ | ||
| Auflistung möglicher abzurechnender Gerätetypen. | ||
| """ | ||
|
|
||
| EINTARIF = "EINTARIF" #: Eintarifzähler | ||
| ZWEITARIF = "ZWEITARIF" #: Zweitarifzähler | ||
| MEHRTARIF = "MEHRTARIF" #: Mehrtarifzähler | ||
| GAS_G2_5 = "GAS_G2_5" #: Gaszähler Größe G2.5 | ||
| GAS_G4 = "GAS_G4" #: Gaszähler Größe G4 | ||
| GAS_G6 = "GAS_G6" #: Gaszähler Größe G6 | ||
| GAS_G10 = "GAS_G10" #: Gaszähler Größe G10 | ||
| GAS_G16 = "GAS_G16" #: Gaszähler Größe G16 | ||
| GAS_G25 = "GAS_G25" #: Gaszähler Größe G25 | ||
| GAS_G40 = "GAS_G40" #: Gaszähler Größe G40 | ||
| GAS_G65 = "GAS_G65" #: Gaszähler Größe G65 | ||
| GAS_G100 = "GAS_G100" #: Gaszähler Größe G100 | ||
| GAS_G160 = "GAS_G160" #: Gaszähler Größe G160 | ||
| GAS_G250 = "GAS_G250" #: Gaszähler Größe G250 | ||
| GAS_G400 = "GAS_G400" #: Gaszähler Größe G400 | ||
| GAS_G650 = "GAS_G650" #: Gaszähler Größe G650 | ||
| GAS_G1000 = "GAS_G1000" #: Gaszähler Größe G1000 | ||
| GAS_G1600 = "GAS_G1600" #: Gaszähler Größe G1600 | ||
| GAS_G2500 = "GAS_G2500" #: Gaszähler Größe G2500 | ||
| IMPULSGEBER_G4_G100 = "IMPULSGEBER_G4_G100" #: Impulsgeber für Zähler G4 - G100 | ||
| IMPULSGEBER_G100 = "IMPULSGEBER_G100" #: Impulsgeber für Zähler größer G100 | ||
| TELEFONANSCHLUSS = "TELEFONANSCHLUSS" #: Telefonanschluss | ||
| MODEM_GSM = "MODEM_GSM" #: Modem-GSM | ||
| MODEM_GPRS = "MODEM_GPRS" #: Modem-GPRS | ||
| MODEM_FUNK = "MODEM_FUNK" #: Modem-Funk | ||
| MODEM_GSM_O_LG = "MODEM_GSM_O_LG" #: vom Messstellenbetreiber beigestelltes GSM-Modem ohne Lastgangmessung | ||
| MODEM_GSM_M_LG = "MODEM_GSM_M_LG" #: vom Messstellenbetreiber beigestelltes GSM-Modem mit Lastgangmessung | ||
| MODEM_FESTNETZ = "MODEM_FESTNETZ" #: vom Messstellenbetreiber beigestelltes Festnetz-Modem | ||
| MODEM_GPRS_M_LG = "MODEM_GPRS_M_LG" #: vom Messstellenbetreiber bereitgestelltes GPRS-Modem Lastgangmessung | ||
| PLC_KOM = "PLC_KOM" #: PLC-Kom.-Einrichtung (Powerline Communication) | ||
| ETHERNET_KOM = "ETHERNET_KOM" #: Ethernet-Kom.-Einricht. LAN/WLAN | ||
| DSL_KOM = "DSL_KOM" #: DSL-Kommunikationseinrichtung | ||
| LTE_KOM = "LTE_KOM" #: LTE-Kommunikationseinrichtung | ||
| KOMPAKT_MU = "KOMPAKT_MU" #: Kompaktmengenumwerter | ||
| SYSTEM_MU = "SYSTEM_MU" #: Systemmengenumwerter | ||
| TEMPERATUR_MU = "TEMPERATUR_MU" #: Temperaturmengenumwerter | ||
| ZUSTANDS_MU = "ZUSTANDS_MU" #: Zustandsmengenumwerter | ||
| UNBESTIMMT = "UNBESTIMMT" #: Unbestimmtes Merkmal |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,14 @@ | ||
| # pylint: disable=missing-module-docstring | ||
| from bo4e.enum.strenum import StrEnum | ||
|
|
||
|
|
||
| class Gueltigkeitstyp(StrEnum): | ||
| """ | ||
| Übersicht der verschiedenen Gültigkeiten zur Umsetzung von Positiv- bzw. Negativlisten. | ||
| """ | ||
|
|
||
| NUR_IN = "NUR_IN" #: Ein so eingeschränktes Merkmal gilt nur mit den angebenen Werten | ||
| NICHT_IN = "NICHT_IN" #: Ein so eingeschränktes Merkmal gilt nicht mit den angebenen Werten | ||
| NUR_IN_KOMBINATION_MIT = ( | ||
| "NUR_IN_KOMBINATION_MIT" #: Die Kriterien mit diesem Gültigkeitstyp werden miteinander kombiniert | ||
| ) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,25 @@ | ||
| # pylint: disable=missing-module-docstring, line-too-long | ||
| from bo4e.enum.strenum import StrEnum | ||
|
|
||
|
|
||
| class Kalkulationsmethode(StrEnum): | ||
| """ | ||
| Auflistung der verschiedenen Berechnungsmethoden für ein Preisblatt. | ||
| """ | ||
|
|
||
| STUFEN = "STUFEN" #: Stufenmodell, d.h. die Gesamtmenge wird in eine Stufe eingeordnet und für die gesamte Menge gilt der so ermittelte Preis | ||
| ZONEN = "ZONEN" #: Zonenmodell, d.h. die Gesamtmenge wird auf die Zonen aufgeteilt und für die Teilmengen gilt der jeweilige Preis der Zone. | ||
| VORZONEN_GP = "VORZONEN_GP" #: Vorzonengrundpreis | ||
| SIGMOID = "SIGMOID" #: Sigmoidfunktion | ||
| BLINDARBEIT_GT_50_PROZENT = "BLINDARBEIT_GT_50_PROZENT" #: Blindarbeit oberhalb 50% der Wirkarbeit | ||
| BLINDARBEIT_GT_40_PROZENT = "BLINDARBEIT_GT_40_PROZENT" #: Blindarbeit oberhalb 40% der Wirkarbeit | ||
| BLINDARBEIT_MIT_FREIMENGE = "BLINDARBEIT_MIT_FREIMENGE" #: Blindarbeit. Freimenge ist durch cos phi oder prozentualem Anteil der Wirkarbeit angegeben. | ||
| AP_GP_ZONEN = "AP_GP_ZONEN" #: Arbeits- und Grundpreis gezont | ||
| LP_INSTALL_LEISTUNG = "LP_INSTALL_LEISTUNG" #: Leistungsentgelt auf Grundlage der installierten Leistung | ||
| AP_TRANSPORT_ODER_VERTEILNETZ = "AP_TRANSPORT_ODER_VERTEILNETZ" #: AP auf Grundlage Transport- oder Verteilnetz | ||
| AP_TRANSPORT_ODER_VERTEILNETZ_ORTSVERTEILNETZ_SIGMOID = "AP_TRANSPORT_ODER_VERTEILNETZ_ORTSVERTEILNETZ_SIGMOID" #: AP auf Grundlage Transport- oder Verteilnetz, Ortsverteilnetz über Sigmoid | ||
| LP_JAHRESVERBRAUCH = "LP_JAHRESVERBRAUCH" #: Leistungsentgelt auf Grundlage des Jahresverbrauchs | ||
| LP_TRANSPORT_ODER_VERTEILNETZ = "LP_TRANSPORT_ODER_VERTEILNETZ" #: LP auf Grundlage Transport- oder Verteilnetz | ||
| LP_TRANSPORT_ODER_VERTEILNETZ_ORTSVERTEILNETZ_SIGMOID = "LP_TRANSPORT_ODER_VERTEILNETZ_ORTSVERTEILNETZ_SIGMOID" #: LP auf Grundlage Transport- oder Verteilnetz, Ortsverteilnetz über Sigmoid | ||
| FUNKTIONEN = "FUNKTIONEN" #: Funktionsbezogene Leistungsermittlung bei Verbräuchen oberhalb der SLP Grenze. (ähnlich Sigmoid) | ||
| VERBRAUCH_UEBER_SLP_GRENZE_FUNKTIONSBEZOGEN_WEITERE_BERECHNUNG_ALS_LGK = "VERBRAUCH_UEBER_SLP_GRENZE_FUNKTIONSBEZOGEN_WEITERE_BERECHNUNG_ALS_LGK" #: Bei einem Verbrauch über der SLP-Grenze (letzte Staffelgrenze überschritten) erfolgt die Berechnung funktionsbezogen (s.o.) als LGK. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,15 @@ | ||
| # pylint: disable=missing-module-docstring | ||
| from bo4e.enum.strenum import StrEnum | ||
|
|
||
|
|
||
| class Kostenklasse(StrEnum): | ||
| """ | ||
| Kostenklassen bilden die oberste Ebene der verschiedenen Kosten. | ||
| In der Regel werden die Gesamtkosten einer Kostenklasse in einer App berechnet. | ||
| """ | ||
|
|
||
| FREMDKOSTEN = "FREMDKOSTEN" #: Fremdkosten | ||
| BESCHAFFUNG = "BESCHAFFUNG" #: Beschaffung | ||
| SELBSTKOSTEN = "SELBSTKOSTEN" #: Selbstkosten | ||
| MARGEN = "MARGEN" #: Margen | ||
| ENERGIEVERSORGUNGSKOSTEN = "ENERGIEVERSORGUNGSKOSTEN" #: Energieversorgungskosten |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,44 @@ | ||
| # pylint: disable=missing-module-docstring | ||
| from bo4e.enum.strenum import StrEnum | ||
|
|
||
|
|
||
| class Kundengruppe(StrEnum): | ||
| """ | ||
| Kundengruppe für eine Marktlokation (orientiert sich an den Standard-Lastprofilen). | ||
| """ | ||
|
|
||
| RLM = "RLM" #: Kunde mit registrierender Leistungsmessung (kein SLP) | ||
| RLM_KOMMUNAL = "RLM_KOMMUNAL" #: Kommunale Abnahmestelle leistungsgemessen | ||
| SLP_KOMMUNAL = "SLP_KOMMUNAL" #: Kommunale Abnahmestelle nicht leistungsgemessen | ||
| SLP_S_G0 = "SLP_S_G0" #: Gewerbe allgemein | ||
| SLP_S_G1 = "SLP_S_G1" #: Werktags | ||
| SLP_S_G2 = "SLP_S_G2" #: Verbrauch in Abendstunden | ||
| SLP_S_G3 = "SLP_S_G3" #: Gewerbe durchlaufend | ||
| SLP_S_G4 = "SLP_S_G4" #: Laden, Friseur | ||
| SLP_S_G5 = "SLP_S_G5" #: Bäckerei mit Backstube | ||
| SLP_S_G6 = "SLP_S_G6" #: Wochenendbetrieb | ||
| SLP_S_G7 = "SLP_S_G7" #: Mobilfunksendestation | ||
| SLP_S_L0 = "SLP_S_L0" #: Landwirtschaft allgemein | ||
| SLP_S_L1 = "SLP_S_L1" #: Landwirtschaft mit Milchwirtschaft/Nebenerwerbs-Tierzucht | ||
| SLP_S_L2 = "SLP_S_L2" #: Übrige Landwirtschaftsbetriebe | ||
| SLP_S_H0 = "SLP_S_H0" #: Haushalt allgemein | ||
| SLP_S_SB = "SLP_S_SB" #: Straßenbeleuchtung | ||
| SLP_S_HZ = "SLP_S_HZ" #: Nachtspeicherheizung | ||
| SLP_S_WP = "SLP_S_WP" #: Wärmepumpe | ||
| SLP_S_EM = "SLP_S_EM" #: Elektromobilität | ||
| SLP_S_HZ_GEM = "SLP_S_HZ_GEM" #: Nachtspeicherheizung gemeinsame Messung | ||
| SLP_G_GKO = "SLP_G_GKO" #: Gebietskörpersch., Kreditinst. u. Versich., Org. o. Erwerbszw. & öff. Einr. | ||
| SLP_G_STANDARD = "SLP_G_STANDARD" #: Standardkundengruppe für Gas | ||
| SLP_G_GHA = "SLP_G_GHA" #: Einzelhandel, Großhandel | ||
| SLP_G_GMK = "SLP_G_GMK" #: Metall, Kfz | ||
| SLP_G_GBD = "SLP_G_GBD" #: sonst. betr. Dienstleistungen | ||
| SLP_G_GGA = "SLP_G_GGA" #: Beherbergung | ||
| SLP_G_GBH = "SLP_G_GBH" #: Gaststätten | ||
| SLP_G_GBA = "SLP_G_GBA" #: Bäckereien | ||
| SLP_G_GWA = "SLP_G_GWA" #: Wäschereien | ||
| SLP_G_GGB = "SLP_G_GGB" #: Gartenbau | ||
| SLP_G_GPD = "SLP_G_GPD" #: Papier und Druck | ||
| SLP_G_GMF = "SLP_G_GMF" #: haushaltsähnliche Gewerbebetriebe | ||
| SLP_G_HEF = "SLP_G_HEF" #: Einfamilienhaushalt | ||
| SLP_G_HMF = "SLP_G_HMF" #: Mehrfamilienhaushalt | ||
| SLP_G_HKO = "SLP_G_HKO" #: Kochgas |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,29 @@ | ||
| # pylint: disable=missing-module-docstring | ||
| from bo4e.enum.strenum import StrEnum | ||
|
|
||
|
|
||
| class KundengruppeKA(StrEnum): | ||
| """ | ||
| Eine Aufzählung zur Einordnung für die Höhe der Konzessionsabgabe. | ||
| """ | ||
|
|
||
| S_SCHWACHLAST = "S_SCHWACHLAST" #: Strom | ||
| S_TARIF_25000 = "S_TARIF_25000" #: Strom | ||
| S_TARIF_100000 = "S_TARIF_100000" #: Strom | ||
| S_TARIF_500000 = "S_TARIF_500000" #: Strom | ||
| S_TARIF_G_500000 = "S_TARIF_G_500000" #: Strom | ||
| S_SONDERKUNDE = "S_SONDERKUNDE" #: Strom | ||
| G_KOWA_25000 = "G_KOWA_25000" #: Gas | ||
| G_KOWA_100000 = "G_KOWA_100000" #: Gas | ||
| G_KOWA_500000 = "G_KOWA_500000" #: Gas | ||
| G_KOWA_G_500000 = "G_KOWA_G_500000" #: Gas | ||
| G_TARIF_25000 = "G_TARIF_25000" #: Gas | ||
| G_TARIF_100000 = "G_TARIF_100000" #: Gas | ||
| G_TARIF_500000 = "G_TARIF_500000" #: Gas | ||
| G_TARIF_G_500000 = "G_TARIF_G_500000" #: Gas | ||
| G_SONDERKUNDE = "G_SONDERKUNDE" #: Gas | ||
| SONDER_KAS = "SONDER_KAS" #: beides | ||
| SONDER_SAS = "SONDER_SAS" #: beides | ||
| SONDER_TAS = "SONDER_TAS" #: beides | ||
| SONDER_TKS = "SONDER_TKS" #: Gas | ||
| SONDER_TSS = "SONDER_TSS" #: Strom |
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.