From 395b45038e91f76ce2af900c1fa5b1023af9cdfe Mon Sep 17 00:00:00 2001 From: ln0455686 Date: Mon, 6 Nov 2023 11:49:20 +0100 Subject: [PATCH] Simwrapper: initial commit for simwrapper dashboard --- simwrapper/custom.css | 74 +++++++++++++ simwrapper/dashboard-emissions.yaml | 104 ++++++++++++++++++ simwrapper/dashboard-link-volumes.yaml | 89 +++++++++++++++ simwrapper/dashboard-noise.yaml | 89 +++++++++++++++ simwrapper/footer.md | 13 +++ simwrapper/simwrapper-config.yaml | 5 + simwrapper/topsheet-all-emissions.yaml | 62 +++++++++++ simwrapper/topsheet-all-link-volumes.yaml | 35 ++++++ simwrapper/topsheet-all-noise.yaml | 37 +++++++ simwrapper/topsheet-noDRT-emissions.yaml | 45 ++++++++ ...psheet-roadtypesAllowed-all-emissions.yaml | 45 ++++++++ ...t-roadtypesAllowed-motorway-emissions.yaml | 45 ++++++++ 12 files changed, 643 insertions(+) create mode 100644 simwrapper/custom.css create mode 100644 simwrapper/dashboard-emissions.yaml create mode 100644 simwrapper/dashboard-link-volumes.yaml create mode 100644 simwrapper/dashboard-noise.yaml create mode 100644 simwrapper/footer.md create mode 100644 simwrapper/simwrapper-config.yaml create mode 100644 simwrapper/topsheet-all-emissions.yaml create mode 100644 simwrapper/topsheet-all-link-volumes.yaml create mode 100644 simwrapper/topsheet-all-noise.yaml create mode 100644 simwrapper/topsheet-noDRT-emissions.yaml create mode 100644 simwrapper/topsheet-roadtypesAllowed-all-emissions.yaml create mode 100644 simwrapper/topsheet-roadtypesAllowed-motorway-emissions.yaml diff --git a/simwrapper/custom.css b/simwrapper/custom.css new file mode 100644 index 0000000..83292f5 --- /dev/null +++ b/simwrapper/custom.css @@ -0,0 +1,74 @@ +html { + font-size: 16px !important; + } + + h2 { + font-size: 2rem; + } + + #dashboard { + width: 80%; + margin: auto; + } + + .up-link { + display: none; + } + + .tabs ul li:last-child { + display: none; + } + + .tabs.is-centered ul { + justify-content: left !important; + padding-left: 170px; + } + + .row-scenarios .dash-card-frame { + margin-bottom: 0 !important; + } + + img.project-logo { + position: absolute; + height: 48px; + } + + .tabs a { + font-size: 1.4rem; + } + + .project-header { + margin: 0 !important; + padding-bottom: 0 !important; + } + + .project-footer { + padding: 0 !important; + margin-bottom: 0 !important; + } + + footer { + background-color: #262626; + } + + .logos img { + height: 45px; + } + + footer .logos { + display: flex; + justify-content: left; + gap: 15px; + align-items: center; + padding: 36px 0 24px; + border-bottom: 1px solid #4b4b4b; + margin-bottom: 24px; + } + + footer .menu { + display: flex; + align-items: flex-start; + justify-content: space-between; + padding-bottom: 36px; + color: #b2b2b2; + } \ No newline at end of file diff --git a/simwrapper/dashboard-emissions.yaml b/simwrapper/dashboard-emissions.yaml new file mode 100644 index 0000000..c879e17 --- /dev/null +++ b/simwrapper/dashboard-emissions.yaml @@ -0,0 +1,104 @@ +header: + tab: "Emissions" + title_en: "Spatial distribution of air pollutants" + title_de: "Räumliche Verteilung von Luftschadstoffen" + description: "Emissionen und Kosten ausgewählter Luftschadstoffe" + +layout: + costs: + - type: 'topsheet' + props: + configFile: "topsheet-all-emissions.yaml" + + roadtypesAllowed-all: + - type: "links" + title: "roadtypesAllowed-all" + description: "" + width: 2 + height: 8 + props: + network: 'scenarios/output/runs-2023-09-01/10pct/roadtypesAllowed-all/roadtypesAllowed-all.output_network.xml.gz' + projection: EPSG:31468 + showDifferences: true + sampleRate: 10 + datasets: + csvFile: 'scenarios/output/runs-2023-09-01/10pct/roadtypesAllowed-all/analysis/airPollution/roadtypesAllowed-all.emissionsPerLink.csv' + csvBase: 'scenarios/output/baseCaseContinued-10pct/analysis/airPollution/berlin-v5.5-10pct.emissionsPerLink.csv' + display: + color: + dataset: csvFile + columnName: "CO2_TOTAL" + colorRamp: + ramp: Viridis + steps: 9 + width: + dataset: csvFile + columnName: "CO2_TOTAL" + scaleFactor: 20000 + - title: "Emission cost" + description: "" + type: 'topsheet' + props: + configFile: "topsheet-roadtypesAllowed-all-emissions.yaml" + + roadtypesAllowed-motorway: + - type: "links" + title: "roadtypesAllowed-motorway" + description: "" + width: 2 + height: 8 + props: + network: 'scenarios/output/runs-2023-09-01/10pct/roadtypesAllowed-motorway/roadtypesAllowed-motorway.output_network.xml.gz' + projection: EPSG:31468 + showDifferences: true + sampleRate: 10 + datasets: + csvFile: 'scenarios/output/runs-2023-09-01/10pct/roadtypesAllowed-motorway/analysis/airPollution/roadtypesAllowed-motorway.emissionsPerLink.csv' + csvBase: 'scenarios/output/baseCaseContinued-10pct/analysis/airPollution/berlin-v5.5-10pct.emissionsPerLink.csv' + display: + color: + dataset: csvFile + columnName: "CO2_TOTAL" + colorRamp: + ramp: Viridis + steps: 9 + width: + dataset: csvFile + columnName: "CO2_TOTAL" + scaleFactor: 20000 + - title: "Emission cost" + description: "" + type: 'topsheet' + props: + configFile: "topsheet-roadtypesAllowed-motorway-emissions.yaml" + + noDRT: + - type: "links" + title: "noDRT" + description: "" + width: 2 + height: 8 + props: + network: 'scenarios/output/runs-2023-09-01/10pct/noDRT/noDRT.output_network.xml.gz' + projection: EPSG:31468 + showDifferences: true + sampleRate: 10 + datasets: + csvFile: 'scenarios/output/runs-2023-09-01/10pct/noDRT/analysis/airPollution/noDRT.emissionsPerLink.csv' + csvBase: 'scenarios/output/baseCaseContinued-10pct/analysis/airPollution/berlin-v5.5-10pct.emissionsPerLink.csv' + display: + color: + dataset: csvFile + columnName: "CO2_TOTAL" + colorRamp: + ramp: Viridis + steps: 9 + width: + dataset: csvFile + columnName: "CO2_TOTAL" + scaleFactor: 20000 + - title: "Emission cost" + description: "" + type: 'topsheet' + props: + configFile: "topsheet-noDRT-emissions.yaml" \ No newline at end of file diff --git a/simwrapper/dashboard-link-volumes.yaml b/simwrapper/dashboard-link-volumes.yaml new file mode 100644 index 0000000..c7af5d1 --- /dev/null +++ b/simwrapper/dashboard-link-volumes.yaml @@ -0,0 +1,89 @@ +header: + tab: "Link volumes" + title_en: "Spatial distribution of daily traffic volume" + title_de: "Räumliche Verteilung des Verkehrsaufkommens" + description: "" + +layout: + costs: + - type: 'topsheet' + props: + configFile: "topsheet-all-link-volumes.yaml" + + roadtypesAllowed-all: + - type: "links" + title: "roadtypesAllowed-all" + description: "" + width: 2 + height: 8 + props: + network: 'scenarios/output/runs-2023-09-01/10pct/roadtypesAllowed-all/roadtypesAllowed-all.output_network.xml.gz' + projection: EPSG:31468 + showDifferences: true + sampleRate: 10 + datasets: + csvFile: 'scenarios/output/runs-2023-09-01/10pct/roadtypesAllowed-all/roadtypesAllowed-all.output_events_dailyTrafficVolume_vehicles.tsv' + csvBase: 'scenarios/output/baseCaseContinued-10pct/berlin-v5.5-10pct.output_events_dailyTrafficVolume_vehicles.tsv' + display: + color: + dataset: csvFile + columnName: "agents" + colorRamp: + ramp: Viridis + steps: 9 + width: + dataset: csvFile + columnName: "agents" + scaleFactor: 100 + + roadtypesAllowed-motorway: + - type: "links" + title: "roadtypesAllowed-motorway" + description: "" + width: 2 + height: 8 + props: + network: 'scenarios/output/runs-2023-09-01/10pct/roadtypesAllowed-motorway/roadtypesAllowed-motorway.output_network.xml.gz' + projection: EPSG:31468 + showDifferences: true + sampleRate: 10 + datasets: + csvFile: 'scenarios/output/runs-2023-09-01/10pct/roadtypesAllowed-motorway/roadtypesAllowed-motorway.output_events_dailyTrafficVolume_vehicles.tsv' + csvBase: 'scenarios/output/baseCaseContinued-10pct/berlin-v5.5-10pct.output_events_dailyTrafficVolume_vehicles.tsv' + display: + color: + dataset: csvFile + columnName: "agents" + colorRamp: + ramp: Viridis + steps: 9 + width: + dataset: csvFile + columnName: "agents" + scaleFactor: 100 + + noDRT: + - type: "links" + title: "noDRT" + description: "" + width: 2 + height: 8 + props: + network: 'scenarios/output/runs-2023-09-01/10pct/noDRT/noDRT.output_network.xml.gz' + projection: EPSG:31468 + showDifferences: true + sampleRate: 10 + datasets: + csvFile: 'scenarios/output/runs-2023-09-01/10pct/noDRT/noDRT.output_events_dailyTrafficVolume_vehicles.tsv' + csvBase: 'scenarios/output/baseCaseContinued-10pct/berlin-v5.5-10pct.output_events_dailyTrafficVolume_vehicles.tsv' + display: + color: + dataset: csvFile + columnName: "agents" + colorRamp: + ramp: Viridis + steps: 9 + width: + dataset: csvFile + columnName: "agents" + scaleFactor: 100 \ No newline at end of file diff --git a/simwrapper/dashboard-noise.yaml b/simwrapper/dashboard-noise.yaml new file mode 100644 index 0000000..2bed15f --- /dev/null +++ b/simwrapper/dashboard-noise.yaml @@ -0,0 +1,89 @@ +header: + tab: "Noise" + title_en: "Spatial distribution of noise emissions" + title_de: "Räumliche Verteilung von Lärmemissionen" + description: "Lärmemissionen und -kosten" + +layout: + costs: + - type: 'topsheet' + props: + configFile: "topsheet-all-noise.yaml" + + roadtypesAllowed-all: + - type: "links" + title: "roadtypesAllowed-all" + description: "" + width: 2 + height: 8 + props: + network: 'scenarios/output/runs-2023-09-01/10pct/roadtypesAllowed-all/roadtypesAllowed-all.output_network.xml.gz' + projection: EPSG:31468 + showDifferences: true + sampleRate: 10 + datasets: + csvFile: 'scenarios/output/runs-2023-09-01/10pct/roadtypesAllowed-all/analysis/noise/noise-analysis/damages_receiverPoint_merged_xyt.csv.gz' + csvBase: 'scenarios/output/baseCaseContinued-10pct/analysis/noise/noise-analysis/damages_receiverPoint_merged_xyt.csv.gz' + display: + color: + dataset: csvFile + columnName: "damages_receiverPoint" + colorRamp: + ramp: Viridis + steps: 9 + width: + dataset: csvFile + columnName: "damages_receiverPoint" + scaleFactor: 0.1 + + roadtypesAllowed-motorway: + - type: "links" + title: "roadtypesAllowed-motorway" + description: "" + width: 2 + height: 8 + props: + network: 'scenarios/output/runs-2023-09-01/10pct/roadtypesAllowed-motorway/roadtypesAllowed-motorway.output_network.xml.gz' + projection: EPSG:31468 + showDifferences: true + sampleRate: 10 + datasets: + csvFile: 'scenarios/output/runs-2023-09-01/10pct/roadtypesAllowed-motorway/analysis/noise/noise-analysis/damages_receiverPoint_merged_xyt.csv.gz' + csvBase: 'scenarios/output/baseCaseContinued-10pct/analysis/noise/noise-analysis/damages_receiverPoint_merged_xyt.csv.gz' + display: + color: + dataset: csvFile + columnName: "damages_receiverPoint" + colorRamp: + ramp: Viridis + steps: 9 + width: + dataset: csvFile + columnName: "damages_receiverPoint" + scaleFactor: 0.1 + + noDRT: + - type: "links" + title: "noDRT" + description: "" + width: 2 + height: 8 + props: + network: 'scenarios/output/runs-2023-09-01/10pct/noDRT/noDRT.output_network.xml.gz' + projection: EPSG:31468 + showDifferences: true + sampleRate: 10 + datasets: + csvFile: 'scenarios/output/runs-2023-09-01/10pct/noDRT/analysis/noise/noise-analysis/damages_receiverPoint_merged_xyt.csv.gz' + csvBase: 'scenarios/output/baseCaseContinued-10pct/analysis/noise/noise-analysis/damages_receiverPoint_merged_xyt.csv.gz' + display: + color: + dataset: csvFile + columnName: "damages_receiverPoint" + colorRamp: + ramp: Viridis + steps: 9 + width: + dataset: csvFile + columnName: "damages_receiverPoint" + scaleFactor: 0.1 \ No newline at end of file diff --git a/simwrapper/footer.md b/simwrapper/footer.md new file mode 100644 index 0000000..6288b41 --- /dev/null +++ b/simwrapper/footer.md @@ -0,0 +1,13 @@ + \ No newline at end of file diff --git a/simwrapper/simwrapper-config.yaml b/simwrapper/simwrapper-config.yaml new file mode 100644 index 0000000..1d97acf --- /dev/null +++ b/simwrapper/simwrapper-config.yaml @@ -0,0 +1,5 @@ +hideLeftBar: true +fullWidth: true +footer_en: footer.md +footer_de: footer.md +css: custom.css \ No newline at end of file diff --git a/simwrapper/topsheet-all-emissions.yaml b/simwrapper/topsheet-all-emissions.yaml new file mode 100644 index 0000000..2a42300 --- /dev/null +++ b/simwrapper/topsheet-all-emissions.yaml @@ -0,0 +1,62 @@ +# Topsheet Test +title: Emission Costs per day +title_en: Total emission costs per day +title_de: Emissionskosten pro Tag +description: '(...)' + +# Input files ------------------------- +files: + base: + file: "scenarios/output/baseCaseContinued-10pct/analysis/airPollution/berlin-v5.5-10pct.emissionsPerLink.csv" + roadtypesAllowed_all: + file: "scenarios/output/runs-2023-09-01/10pct/roadtypesAllowed-all/analysis/airPollution/roadtypesAllowed-all.emissionsPerLink.csv" + roadtypesAllowed_motorway: + file: "scenarios/output/runs-2023-09-01/10pct/roadtypesAllowed-motorway/analysis/airPollution/roadtypesAllowed-motorway.emissionsPerLink.csv" + noDRT: + file: "scenarios/output/runs-2023-09-01/10pct/noDRT/analysis/airPollution/noDRT.emissionsPerLink.csv" + +# These are text entry boxes in the UI +userEntries: + CO2_cost_rate: + title_en: CO2 cost rate [€/t] + title_de: CO2 Kosten [€/t] + value: 139.0 + NOx_cost_rate: + title_en: NOx cost rate [€/t] + title_de: NOx Kosten [€/t] + value: 15400.0 + PM2_5_cost_rate: + title_en: PM2.5 exhaust cost rate [€/t] + title_de: PM2.5 Auspuff Kosten [€/t] + value: 364100.0 + PM_n_exhaust_cost_rate: + title_en: PM non-exhaust cost rate [€/t] + title_de: PM Abrieb etc Kosten [€/t] + value: 33700.0 + SO2_cost_rate: + title_en: SO2 cost rate [€/t] + title_de: SO2 Kosten [€/t] + value: 13200.0 + NH3_cost_rate: + title_en: NH3 cost rate [€/t] + title_de: NH3 Kosten [€/t] + value: 26800.0 + +# Calculations ------------------------ +# these are evaluated top down! +calculations: + base_costs: '({base.CO2_TOTAL}*CO2_cost_rate + {base.NOx}*NOx_cost_rate + {base.PM2_5}*PM2_5_cost_rate + {base.PM_non_exhaust}*PM_n_exhaust_cost_rate + {base.SO2}*SO2_cost_rate + {base.NH3}*NH3_cost_rate) / (1000 * 1000)' + roadtypesAllowed_all_costs: '({roadtypesAllowed_all.CO2_TOTAL}*CO2_cost_rate + {roadtypesAllowed_all.NOx}*NOx_cost_rate + {roadtypesAllowed_all.PM2_5}*PM2_5_cost_rate + {roadtypesAllowed_all.PM_non_exhaust}*PM_n_exhaust_cost_rate + {roadtypesAllowed_all.SO2}*SO2_cost_rate + {roadtypesAllowed_all.NH3}*NH3_cost_rate) /(1000 * 1000)' + roadtypesAllowed_motorway_costs: '({roadtypesAllowed_motorway.CO2_TOTAL}*CO2_cost_rate + {roadtypesAllowed_motorway.NOx}*NOx_cost_rate + {roadtypesAllowed_motorway.PM2_5}*PM2_5_cost_rate + {roadtypesAllowed_motorway.PM_non_exhaust}*PM_n_exhaust_cost_rate + {roadtypesAllowed_motorway.SO2}*SO2_cost_rate + {roadtypesAllowed_motorway.NH3}*NH3_cost_rate) /(1000 * 1000)' + noDRT_costs: '({noDRT.CO2_TOTAL}*CO2_cost_rate + {noDRT.NOx}*NOx_cost_rate + {noDRT.PM2_5}*PM2_5_cost_rate + {noDRT.PM_non_exhaust}*PM_n_exhaust_cost_rate + {noDRT.SO2}*SO2_cost_rate + {noDRT.NH3}*NH3_cost_rate) /(1000 * 1000)' + +# Table rows +outputs: + - title: Base Case [€] + value: base_costs + - title: Roadtypes allowed - all [€] + value: roadtypesAllowed_all_costs + - title: Roadtypes allowed - motorway [€] + value: roadtypesAllowed_motorway_costs + - title: No DRT [€] + value: noDRT_costs \ No newline at end of file diff --git a/simwrapper/topsheet-all-link-volumes.yaml b/simwrapper/topsheet-all-link-volumes.yaml new file mode 100644 index 0000000..4ded8ce --- /dev/null +++ b/simwrapper/topsheet-all-link-volumes.yaml @@ -0,0 +1,35 @@ +# Topsheet Test +title: Relative change of daily traffic volume compared to the base case [in %] +title_en: Relative change of daily traffic volume compared to the base case [in %] +title_de: Relative Änderung des täglichen Verkehrsaufkommens gegenüber dem Basisfall [in %] +description: '' + +# Input files ------------------------- +files: + base: + file: "scenarios/output/baseCaseContinued-10pct/berlin-v5.5-10pct.output_events_dailyTrafficVolume_vehicles.tsv" + roadtypesAllowed_all: + file: "scenarios/output/runs-2023-09-01/10pct/roadtypesAllowed-all/roadtypesAllowed-all.output_events_dailyTrafficVolume_vehicles.tsv" + roadtypesAllowed_motorway: + file: "scenarios/output/runs-2023-09-01/10pct/roadtypesAllowed-motorway/roadtypesAllowed-motorway.output_events_dailyTrafficVolume_vehicles.tsv" + noDRT: + file: "scenarios/output/runs-2023-09-01/10pct/noDRT/noDRT.output_events_dailyTrafficVolume_vehicles.tsv" + +# These are text entry boxes in the UI + +# Calculations ------------------------ +# these are evaluated top down! +calculations: + base_DTV: "{base.agents} * 1" + roadtypesAllowed_all_DTV: "({roadtypesAllowed_all.agents} - {base.agents}) / {base.agents} * 100" + roadtypesAllowed_motorway_DTV: "({roadtypesAllowed_motorway.agents} - {base.agents}) / {base.agents} * 100" + noDRT_DTV: "({noDRT.agents} - {base.agents}) / {base.agents} * 100" + +# Table rows +outputs: + - title: Roadtypes allowed - all [%] + value: roadtypesAllowed_all_DTV + - title: Roadtypes allowed - motorway [%] + value: roadtypesAllowed_motorway_DTV + - title: No DRT [%] + value: noDRT_DTV \ No newline at end of file diff --git a/simwrapper/topsheet-all-noise.yaml b/simwrapper/topsheet-all-noise.yaml new file mode 100644 index 0000000..6fa4f89 --- /dev/null +++ b/simwrapper/topsheet-all-noise.yaml @@ -0,0 +1,37 @@ +# Topsheet Test +title: Noise Costs per day +title_en: Total noise costs per day +title_de: Lärmkosten pro Tag +description: '(...)' + +# Input files ------------------------- +files: + base: + file: "scenarios/output/baseCaseContinued-10pct/analysis/noise/noise-analysis/damages_receiverPoint_merged_xyt.csv.gz" + roadtypesAllowed_all: + file: "scenarios/output/runs-2023-09-01/10pct/roadtypesAllowed-all/analysis/noise/noise-analysis/damages_receiverPoint_merged_xyt.csv.gz" + roadtypesAllowed_motorway: + file: "scenarios/output/runs-2023-09-01/10pct/roadtypesAllowed-motorway/analysis/noise/noise-analysis/damages_receiverPoint_merged_xyt.csv.gz" + noDRT: + file: "scenarios/output/runs-2023-09-01/10pct/noDRT/analysis/noise/noise-analysis/damages_receiverPoint_merged_xyt.csv.gz" + +# These are text entry boxes in the UI + +# Calculations ------------------------ +# these are evaluated top down! +calculations: + base_costs: "{base.damages_receiverPoint} * 1" + roadtypesAllowed_all_costs: "{roadtypesAllowed_all.damages_receiverPoint} * 1" + roadtypesAllowed_motorway_costs: "{roadtypesAllowed_motorway.damages_receiverPoint} * 1" + noDRT_costs: "{noDRT.damages_receiverPoint} * 1" + +# Table rows +outputs: + - title: Base Case [€] + value: base_costs + - title: Roadtypes allowed - all [€] + value: roadtypesAllowed_all_costs + - title: Roadtypes allowed - motorway [€] + value: roadtypesAllowed_motorway_costs + - title: No DRT [€] + value: noDRT_costs \ No newline at end of file diff --git a/simwrapper/topsheet-noDRT-emissions.yaml b/simwrapper/topsheet-noDRT-emissions.yaml new file mode 100644 index 0000000..1972c51 --- /dev/null +++ b/simwrapper/topsheet-noDRT-emissions.yaml @@ -0,0 +1,45 @@ +# Topsheet Test +title: noDRT emissions +title_en: noDRT emissions +title_de: noDRT Emissionen +description: 'description' + +# Input files ------------------------- +files: + costTable: + file: "scenarios/output/runs-2023-09-01/10pct/noDRT/analysis/airPollution/noDRT.emissionsPerLink.csv" + +# These are text entry boxes in the UI + +# Calculations ------------------------ +# these are evaluated top down! +calculations: + total_CO2: '{costTable.CO2_TOTAL} / (1000 * 1000)' + total_NOx: '{costTable.NOx} / (1000 * 1000)' + total_PM2_5: '({costTable.PM2_5}) / (1000 * 1000)' + total_PM_n_exhaust: '({costTable.PM_non_exhaust}) / (1000 * 1000)' + total_SO2: '{costTable.SO2} / (1000 * 1000)' + total_NH3: '{costTable.NH3} / (1000 * 1000)' + + + +# Table rows +outputs: + - title_en: Total CO2 emissions [t] + title_de: Summe CO2 Emissionen [t] + value: total_CO2 + - title_en: Total PM exhaust emissions [t] + title_de: Summe PM Emissionen Auspuff [t] + value: total_PM2_5 + - title_en: Total PM non exhaust emissions [t] + title_de: Summe PM Emissionen Abrieb etc [t] + value: total_PM_n_exhaust + - title_en: Total NOX emissions [t] + title_de: Summe NOX Emissionen [t] + value: total_NOx + - title_en: Total SO2 emissions [t] + title_de: Summe SO2 Emissionen [t] + value: total_SO2 + - title_en: Total NH3 emissions [t] + title_de: Summe NH3 Emissionen [t] + value: total_NH3 \ No newline at end of file diff --git a/simwrapper/topsheet-roadtypesAllowed-all-emissions.yaml b/simwrapper/topsheet-roadtypesAllowed-all-emissions.yaml new file mode 100644 index 0000000..28b2ed4 --- /dev/null +++ b/simwrapper/topsheet-roadtypesAllowed-all-emissions.yaml @@ -0,0 +1,45 @@ +# Topsheet Test +title: roadtypesAllowed-all emissions +title_en: roadtypesAllowed-all emissions +title_de: roadtypesAllowed-all Emissionen +description: 'description' + +# Input files ------------------------- +files: + costTable: + file: "scenarios/output/runs-2023-09-01/10pct/roadtypesAllowed-all/analysis/airPollution/roadtypesAllowed-all.emissionsPerLink.csv" + +# These are text entry boxes in the UI + +# Calculations ------------------------ +# these are evaluated top down! +calculations: + total_CO2: '{costTable.CO2_TOTAL} / (1000 * 1000)' + total_NOx: '{costTable.NOx} / (1000 * 1000)' + total_PM2_5: '({costTable.PM2_5}) / (1000 * 1000)' + total_PM_n_exhaust: '({costTable.PM_non_exhaust}) / (1000 * 1000)' + total_SO2: '{costTable.SO2} / (1000 * 1000)' + total_NH3: '{costTable.NH3} / (1000 * 1000)' + + + +# Table rows +outputs: + - title_en: Total CO2 emissions [t] + title_de: Summe CO2 Emissionen [t] + value: total_CO2 + - title_en: Total PM exhaust emissions [t] + title_de: Summe PM Emissionen Auspuff [t] + value: total_PM2_5 + - title_en: Total PM non exhaust emissions [t] + title_de: Summe PM Emissionen Abrieb etc [t] + value: total_PM_n_exhaust + - title_en: Total NOX emissions [t] + title_de: Summe NOX Emissionen [t] + value: total_NOx + - title_en: Total SO2 emissions [t] + title_de: Summe SO2 Emissionen [t] + value: total_SO2 + - title_en: Total NH3 emissions [t] + title_de: Summe NH3 Emissionen [t] + value: total_NH3 \ No newline at end of file diff --git a/simwrapper/topsheet-roadtypesAllowed-motorway-emissions.yaml b/simwrapper/topsheet-roadtypesAllowed-motorway-emissions.yaml new file mode 100644 index 0000000..05e6424 --- /dev/null +++ b/simwrapper/topsheet-roadtypesAllowed-motorway-emissions.yaml @@ -0,0 +1,45 @@ +# Topsheet Test +title: roadtypesAllowed-motorway emissions +title_en: roadtypesAllowed-motorway emissions +title_de: roadtypesAllowed-motorway Emissionen +description: 'description' + +# Input files ------------------------- +files: + costTable: + file: "scenarios/output/runs-2023-09-01/10pct/roadtypesAllowed-motorway/analysis/airPollution/roadtypesAllowed-motorway.emissionsPerLink.csv" + +# These are text entry boxes in the UI + +# Calculations ------------------------ +# these are evaluated top down! +calculations: + total_CO2: '{costTable.CO2_TOTAL} / (1000 * 1000)' + total_NOx: '{costTable.NOx} / (1000 * 1000)' + total_PM2_5: '({costTable.PM2_5}) / (1000 * 1000)' + total_PM_n_exhaust: '({costTable.PM_non_exhaust}) / (1000 * 1000)' + total_SO2: '{costTable.SO2} / (1000 * 1000)' + total_NH3: '{costTable.NH3} / (1000 * 1000)' + + + +# Table rows +outputs: + - title_en: Total CO2 emissions [t] + title_de: Summe CO2 Emissionen [t] + value: total_CO2 + - title_en: Total PM exhaust emissions [t] + title_de: Summe PM Emissionen Auspuff [t] + value: total_PM2_5 + - title_en: Total PM non exhaust emissions [t] + title_de: Summe PM Emissionen Abrieb etc [t] + value: total_PM_n_exhaust + - title_en: Total NOX emissions [t] + title_de: Summe NOX Emissionen [t] + value: total_NOx + - title_en: Total SO2 emissions [t] + title_de: Summe SO2 Emissionen [t] + value: total_SO2 + - title_en: Total NH3 emissions [t] + title_de: Summe NH3 Emissionen [t] + value: total_NH3 \ No newline at end of file