[ ohymos | Source | Keywords | Summary | Ancestors | All Members | Descendants ]
Back to the top of TramStorageRiver
[モデル名] 羃関数型貯留モデル
[機能] 羃関数型貯留モデル
基礎式
[受信端子の仕様] 複数個の受信端子から流入量 I_1, I_2, ... I_mを受けま
す。流入量 (m^3/sec) の受信端子は複数個で、Receive<double> 型、
オブジェクト名 rpdis、オブジェクト番号 0, 1, ..., m-1 です。受信端子の
データ接続型は、パラメタで受信端子ごとに設定できます。
[送信端子の仕様] 複数個の送信端子から流出量 O_1, O_2, ... O_n を送出し
ます。送信端子は Send<douuble> 型、オブジェクト名 spdis、オブジェ
クト番号0,1,2,...,n-1 で、流量(m^3/sec)を折れ線の形式で出力します。
[Init のための追加情報]
Init のための追加情報では、つぎの値を並べます。
[パラメタ]
配(水平斜面長(m)/高低差(m))、方位(真北から時計回り、例:真東は90°)、
水平投影面積(m^2) 斜面要素のパラメタ:貯水量の係数
alpha(m^(1-mM)sec)、貯水量の指数 m(-)、降雨データ接続型(0:折れ
線、1:ステップ、2:パルス)、降雨データの単位をm/secにするための倍
率、上流端流入データの単位をm^3/secにするための倍率、貯水量の基
準値(m)、微小値(-)、モニター使用フラグ(1:使用)
[状態量] 貯水量 s(m)
[補足]
O_i = \alhpa_i s^{m_i}
ds/dt = I_1 + I_2 + ... + I_m - O_1 - O_2 - ... - O_n
を TRAM 法によって計算します。ただし、s (m^3) は、貯留要素の貯留量、
I_1, I_2, ..., I_m は流入強度 (m^3/sec)、O_1, O_2, ..., O_n は、流出強
度 (m^3/sec) です。流出強度 O_i は、貯留量 s の羃関数 \alhpa_i s^{m_i}
で表されるものとします。
mNumRps mNumSps mAtr, (mAlpha[i], mM[i], i=0, ..., mNumSps-1),
mCqup[i], i=0, ..., mNumRps-1, mSlevel, mEps, mFlag
mNumRps は受信端子の個数。mNumSps は送信端子の個数。mAtr は、エッジの属性。
mAlpha[i], mM[i] は、\alpha_i, m_i。mCqup[i] は、n は、Init のための追加情報で与えます。
プログラムでは、m は変数 mNumRps に、n は、変数 mNumSps に記憶します。
mAtr
エッジの属性. これが必要だろうか。
mAlpha[i], mM[i], i = 0, ..., mNumRps-1
\alpha, m
mSlevel, mEps
貯留量の標準レベル、微少量の相対値
Back to the top of TramStorageRiver
int Num(void) ;
ああああああああああああああああああああああああああああああ
ああああああああああ.
int Num(void) ;
Function is currently defined inline.
Back to the top of TramStorageRiver
流量(m^3/sec)を折れ線データで出力
Send<double>* mpSpRiver;
Send<double>* mpSpRiver;
Back to the top of TramStorageRiver
void Register_send_ports(void);
; 送信端子の登録
void Register_send_ports(void);
Back to the top of TramStorageRiver
Receive<double>* mpRpRiver;
; 受信端子
Receive<double>* mpRpRiver; //; 流量(m^3/sec)を折れ線データで入
Back to the top of TramStorageRiver
ofstream monitor_storage, monitor_deltaT;
ofstream monitor_storage, monitor_deltaT;
Back to the top of TramStorageRiver
void Set_parameter(FILE* fp);
Back to the top of TramStorageRiver
void Set_initial_state(FILE* fp);
void Set_initial_state(FILE* fp);
Back to the top of TramStorageRiver
Boolean Initial_output(void);
Back to the top of TramStorageRiver
time_t Calculate_time_step(void) ;
time_t Calculate_time_step(void) //; Work0の場合 ;
Function is currently defined inline.
Back to the top of TramStorageRiver
Boolean Can_you_calculate(void) ;
Boolean Can_you_calculate(void) ;
Function is currently defined inline.
Back to the top of TramStorageRiver
Boolean Calculate(void);
Back to the top of TramStorageRiver
Boolean Work(void);
Back to the top of TramStorageRiver
void Save_terminal_state(FILE* fp);
void Save_terminal_state(FILE* fp);
Back to the top of TramStorageRiver
Back to the top of TramStorageRiver
Back to the top of TramStorageRiver
Back to the top of TramStorageRiver
Report problems to jkotula@stratasys.com