Package: kwb.BerlinWaterModel.public 0.2.0

Michael Rustler

kwb.BerlinWaterModel.public: R Package of Berlin Water Model

R Package of Berlin Water Model.

Authors:Michael Rustler [aut, cre], Daniel Wicke [aut], IMPETUS [fnd], Kompetenzzentrum Wasser Berlin gGmbH [cph]

kwb.BerlinWaterModel.public_0.2.0.tar.gz
kwb.BerlinWaterModel.public_0.2.0.zip(r-4.7)kwb.BerlinWaterModel.public_0.2.0.zip(r-4.6)kwb.BerlinWaterModel.public_0.2.0.zip(r-4.5)
kwb.BerlinWaterModel.public_0.2.0.tgz(r-4.6-any)kwb.BerlinWaterModel.public_0.2.0.tgz(r-4.5-any)
kwb.BerlinWaterModel.public_0.2.0.tar.gz(r-4.7-any)kwb.BerlinWaterModel.public_0.2.0.tar.gz(r-4.6-any)
kwb.BerlinWaterModel.public_0.2.0.tgz(r-4.6-emscripten)
manual.pdf |manual.html
card.svg |card.png
kwb.BerlinWaterModel.public/json (API)
NEWS

# Install 'kwb.BerlinWaterModel.public' in R:
install.packages('kwb.BerlinWaterModel.public', repos = c('https://kwb-r.r-universe.dev', 'https://cloud.r-project.org'))

Bug tracker:https://github.com/kwb-r/kwb.berlinwatermodel.public/issues

Datasets:
  • cso - Dataset: Combined Sewer Overflows (cso) for one rainfall event simulated with Infoworks in 2019
  • evapo_p - Dataset: Daily Potential Evaporation from DWD
  • inflows - Dataset: Inflows
  • rain - Dataset: Rain (rain) with DWD rainfall data
  • shares_timeseries - Dataset: Shares (0 - 1) of discharge to a specific downstream river section
  • ww - Dataset: Waterworks (WW) Abstractions per Gallery
  • wwtp - Dataset: WWTP (Wastewater Treatment Plant) Flows

On CRAN:

Conda:

urban-water-model

3.00 score 4 scripts 59 exports 73 dependencies

Last updated from:e0368ae31b. Checks:7 NOTE, 2 OK. Indexed: yes.

TargetResultTimeFilesSyslog
linux-devel-x86_64NOTE163
source / vignettesOK275
linux-release-x86_64NOTE159
macos-release-arm64NOTE129
macos-oldrel-arm64NOTE119
windows-develNOTE123
windows-releaseNOTE114
windows-oldrelNOTE137
wasm-releaseOK130

Exports:%>%add_rain_direct_and_evaporationadd_scenarioadd_substancesadd_tracersaggregate_flows_monthlyaggregate_qualities_monthlybfs_convert_equationcalc_conccalculate_flowcalculate_flow_sharecalculate_flow_statscalculate_flowpathcalculate_flowscalculate_flows_autocalculate_outflowscalculate_qualitiescalculate_qualities_backwardcalculate_qualities_backward_branchwisecalculate_qualities_forwardcalculate_qualitycheck_backflows_multiplecheck_if_function_and_calculate_flowcheck_network_errorscheck_outflow_multiple_dynamic_functionscheck_shares_timeseriescombine_and_clean_dfscompute_gallery_kpisconfig_readconvert_concentration_unitsfill_month_to_startfill_timeseriesfind_node_ordersget_bfsharesget_flowpath_tableget_gallery_kpis_metaget_gallery_kpis_per_galleryget_gallery_kpis_per_monthget_gallery_kpis_per_yearget_ids_from_namesget_link_namesget_names_from_idsget_nodesget_reverse_flows_per_sectionget_section_idnameslabel_signif_cleanlog10_minor_breaksmerge_two_level_listsparse_a_and_bparse_equationplot_flows_and_bfshares_per_sectionplot_network_complexplot_network_simpleprepare_inputprepare_networkprepare_qsimVis_inputset_tracer_starting_concset_tracer_starting_conc_statsshorten_ww_flow_id

Dependencies:base64encbitbit64bslibcachemclicliprcpp11crayondata.treedigestdplyrevaluatefarverfastmapfontawesomefsgenericsggplot2gluegridExtragtablehighrhmshtmltoolshtmlwidgetsigraphisobandjquerylibjsonliteknitrkwb.utilslabelinglatticelifecyclelubridatemagrittrMatrixmatrixStatsmemoisemimenetworkD3pillarpkgconfigprettyunitsprogresspurrrR6rappdirsRColorBrewerRcppreadrrlangrmarkdownS7sassscalesstringistringrtibbletidyrtidyselecttimechangetinytextzdbunitsutf8vctrsviridisLitevroomwithrxfunyaml

Tutorial

Rendered fromtutorial.Rmdusingknitr::rmarkdownon May 19 2026.

Last update: 2026-03-20
Started: 2025-12-16

Readme and manuals

Help Manual

Help pageTopics
Add Direct Rain and Evaporation to flows_in_out config for sections with defined area_m2add_rain_direct_and_evaporation
Add scenarioadd_scenario
Add substancesadd_substances
Add tracersadd_tracers
Aggregate Flows Monthlyaggregate_flows_monthly
Aggregate Qualities Monthlyaggregate_qualities_monthly
Bank Filtration Share: convert equationbfs_convert_equation
Calculate Concentrationcalc_conc
Calculate Flowcalculate_flow
Calculate flow sharecalculate_flow_share
Calculate Flow Statistics Per Sectioncalculate_flow_stats
Calculate Flowpathcalculate_flowpath
Calculate Flowscalculate_flows
Calculate Flows Automaticallycalculate_flows_auto
Calculate Outflowscalculate_outflows
Calculate Qualitiescalculate_qualities
Calculate Qualities Backwardcalculate_qualities_backward
Calculate Qualities Backward Branchwisecalculate_qualities_backward_branchwise
Calculate Qualities Forwardcalculate_qualities_forward
Calculate Quality in Sectioncalculate_quality
Check backflows multiplecheck_backflows_multiple
Check if function and calculate flowcheck_if_function_and_calculate_flow
Check Network Errorscheck_network_errors
Check outflow multiple dynamic functionscheck_outflow_multiple_dynamic_functions
Check Shares of Multiple Outflow Time Seriescheck_shares_timeseries
Combine and clean dataframecombine_and_clean_dfs
Compute abstraction metrics per gallerycompute_gallery_kpis
Configuration: Readconfig_read
Convert concentration units to kg/m3convert_concentration_units
Dataset: Combined Sewer Overflows (cso) for one rainfall event simulated with Infoworks in 2019cso
Dataset: Daily Potential Evaporation from DWDevapo_p
Expand monthly end-of-month values to all days or hours of the same monthfill_month_to_start
Fill Timeseries based on User Defined Intervall (days, hours, minutes or seconds)fill_timeseries
Helper function: find node orderfind_node_orders
Get Bank Filtration shares Model inputget_bfshares
Get Flowpath Tableget_flowpath_table
Extract meta information from a galleries lookup tableget_gallery_kpis_meta
Extract aggregated KPIs per gallery from a lookup tableget_gallery_kpis_per_gallery
Extract monthly KPIs from a galleries lookup tableget_gallery_kpis_per_month
Extract yearly KPIs from a galleries lookup tableget_gallery_kpis_per_year
Helper function: get ids from namesget_ids_from_names
Helper function: get link namesget_link_names
Helper function: get names from idsget_names_from_ids
Helper function: get nodesget_nodes
Get Reverse Flows Per Sectionget_reverse_flows_per_section
Helper function: get section idnamesget_section_idnames
Dataset: Inflowsinflows
Format numeric values with significant digits and minimal trailing zeroslabel_signif_clean
Generate minor tick marks for a log10 axislog10_minor_breaks
Merge nested two-level lists while preserving structuremerge_two_level_lists
Helper function: parse a andparse_a_and_b
Helper function: parse equationparse_equation
Plot Flows and BF & MAR shares per sectionplot_flows_and_bfshares_per_section
Plot Network: complexplot_network_complex
Plot Network: simpleplot_network_simple
Prepare Model inputprepare_input
Prepare Network Dataprepare_network
Preparew QsimVis Inputprepare_qsimVis_input
Dataset: Rain (rain) with DWD rainfall datarain
Set Tracer Starting Concentrations To Final Modelling Resultsset_tracer_starting_conc
Set Tracer Starting Concentrations Statisticsset_tracer_starting_conc_stats
Dataset: Shares (0 - 1) of discharge to a specific downstream river sectionshares_timeseries
Helper: shorten WW flow idshorten_ww_flow_id
Dataset: Waterworks (WW) Abstractions per Galleryww
Dataset: WWTP (Wastewater Treatment Plant) Flowswwtp