TramStorageRiver

Nonlinear storage element model

[ ohymos | Source | Keywords | Summary | Ancestors | All Members | Descendants ]

Quick Index

DESCRIPTION

Class Summary

class TramStorageRiver : public Element
{
public:
int Num(void) ;
void Set_parameter(FILE* fp);
void Set_initial_state(FILE* fp);
Boolean Initial_output(void);
time_t Calculate_time_step(void) ;
Boolean Can_you_calculate(void) ;
Boolean Calculate(void);
Boolean Work(void);
void Save_terminal_state(FILE* fp);
protected:
Send<double>* mpSpRiver;
void Register_send_ports(void);
Receive<double>* mpRpRiver;
ofstream monitor_storage, monitor_deltaT;
}; // TramStorageRiver

Back to the top of TramStorageRiver


DESCRIPTION

[クラス名] TramStorageRiver

[モデル名] 羃関数型貯留モデル

[機能] 羃関数型貯留モデル

基礎式

      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} で表されるものとします。

[受信端子の仕様] 複数個の受信端子から流入量 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 のための追加情報では、つぎの値を並べます。

  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
      貯留量の標準レベル、微少量の相対値
  

配(水平斜面長(m)/高低差(m))、方位(真北から時計回り、例:真東は90°)、 水平投影面積(m^2) 斜面要素のパラメタ:貯水量の係数 alpha(m^(1-mM)sec)、貯水量の指数 m(-)、降雨データ接続型(0:折れ 線、1:ステップ、2:パルス)、降雨データの単位をm/secにするための倍 率、上流端流入データの単位をm^3/secにするための倍率、貯水量の基 準値(m)、微小値(-)、モニター使用フラグ(1:使用)

[状態量] 貯水量 s(m)

[補足]

Back to the top of TramStorageRiver


int Num(void) ;

ああああああああああああああああああああああああああああああ ああああああああああ.

  int Num(void)                 
;

Function is currently defined inline.


Back to the top of TramStorageRiver


Send<double>* mpSpRiver;

送信端子

流量(m^3/sec)を折れ線データで出力

  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);

  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);

  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);

  Boolean Calculate(void);

Back to the top of TramStorageRiver


Boolean Work(void);

  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


All Members

public:
int Num(void) ;
void Set_parameter(FILE* fp);
void Set_initial_state(FILE* fp);
Boolean Initial_output(void);
time_t Calculate_time_step(void) ;
Boolean Can_you_calculate(void) ;
Boolean Calculate(void);
Boolean Work(void);
void Save_terminal_state(FILE* fp);
protected:
Send<double>* mpSpRiver;
void Register_send_ports(void);
Receive<double>* mpRpRiver;
ofstream monitor_storage, monitor_deltaT;

Back to the top of TramStorageRiver


Ancestors

Inheritance chain for TramStorageRiver:

Back to the top of TramStorageRiver


Descendants

Class is not inherited by any others.

Back to the top of TramStorageRiver


Generated from source by the Cocoon utilities on Sat Sep 16 11:40:48 2000 .

Report problems to jkotula@stratasys.com