15#ifndef OPENSWMM_ENGINE_INFLOW_DATA_HPP
16#define OPENSWMM_ENGINE_INFLOW_DATA_HPP
39 void add(
int ni,
const std::string& cons,
const std::string& ts,
40 const std::string& type,
double mf,
double sf,
double base,
41 const std::string& pat) {
59 std::vector<std::string>
pat1;
60 std::vector<std::string>
pat2;
61 std::vector<std::string>
pat3;
62 std::vector<std::string>
pat4;
64 void add(
int ni,
const std::string& cons,
double avg,
65 const std::string& p1,
const std::string& p2,
66 const std::string& p3,
const std::string& p4) {
69 pat1.push_back(p1);
pat2.push_back(p2);
70 pat3.push_back(p3);
pat4.push_back(p4);
85 void add(
int ni,
const std::string& uh,
double area) {
96 int count()
const {
return static_cast<int>(
names.size()); }
102 void add(
const std::string& name,
int type,
const std::vector<double>& facs) {
Definition Controls.cpp:24
Definition InflowData.hpp:53
std::vector< std::string > constituent
"FLOW" or pollutant name
Definition InflowData.hpp:57
void add(int ni, const std::string &cons, double avg, const std::string &p1, const std::string &p2, const std::string &p3, const std::string &p4)
Definition InflowData.hpp:64
std::vector< int > node_idx
Target node.
Definition InflowData.hpp:56
std::vector< std::string > pat1
Monthly pattern name.
Definition InflowData.hpp:59
std::vector< std::string > pat2
Daily pattern name.
Definition InflowData.hpp:60
std::vector< double > avg_value
Average value.
Definition InflowData.hpp:58
std::vector< std::string > pat4
Weekend pattern name.
Definition InflowData.hpp:62
int count() const
Definition InflowData.hpp:54
std::vector< std::string > pat3
Hourly pattern name.
Definition InflowData.hpp:61
Definition InflowData.hpp:27
std::vector< std::string > pattern_name
Baseline pattern name.
Definition InflowData.hpp:37
std::vector< std::string > constituent
"FLOW" or pollutant name
Definition InflowData.hpp:31
std::vector< int > node_idx
Target node index.
Definition InflowData.hpp:30
std::vector< double > baseline
Baseline value.
Definition InflowData.hpp:36
int count() const
Definition InflowData.hpp:28
std::vector< std::string > inflow_type
"FLOW","CONCEN","MASS"
Definition InflowData.hpp:33
std::vector< double > s_factor
Scaling factor.
Definition InflowData.hpp:35
std::vector< double > m_factor
Multiplier factor.
Definition InflowData.hpp:34
std::vector< std::string > ts_name
Timeseries name ("" if none)
Definition InflowData.hpp:32
void add(int ni, const std::string &cons, const std::string &ts, const std::string &type, double mf, double sf, double base, const std::string &pat)
Definition InflowData.hpp:39
Definition InflowData.hpp:95
std::vector< std::vector< double > > factors
Up to 24 multiplier values.
Definition InflowData.hpp:100
void add(const std::string &name, int type, const std::vector< double > &facs)
Definition InflowData.hpp:102
std::vector< std::string > names
Pattern name.
Definition InflowData.hpp:98
int count() const
Definition InflowData.hpp:96
std::vector< int > types
0=MONTHLY,1=DAILY,2=HOURLY,3=WEEKEND
Definition InflowData.hpp:99
Definition InflowData.hpp:78
std::vector< std::string > uh_name
Unit hydrograph name.
Definition InflowData.hpp:82
std::vector< double > sewer_area
Tributary sewer area.
Definition InflowData.hpp:83
void add(int ni, const std::string &uh, double area)
Definition InflowData.hpp:85
std::vector< int > node_idx
Target node.
Definition InflowData.hpp:81
int count() const
Definition InflowData.hpp:79