TramStorageSlope


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

Quick Index

DESCRIPTION

Class Summary

class TramStorageSlope : public Element
{
public:
int Num(void) ;
double Length(void) ;
double Theta(void) ;
double Area(void) ;
double Atr(void) ;
Boolean LowestSlope(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);
TramStorageSlope* NewElement(void);
TramStorageSlope(char* o_name, int o_num);
TramStorageSlope(void);
~TramStorageSlope(void);
Boolean Init(char* o_name, int o_num, FILE* fp);
Boolean Init(char* o_name, int o_num);
protected:
Send<double> mSpSlope;
void Register_send_ports(void);
Receive<double>* mpRpSlope;
Receive<double> mRpClm;
void Register_receive_ports(void);
ofstream monitor_storage, monitor_deltaT;
}; // TramStorageSlope

Back to the top of TramStorageSlope


DESCRIPTION

□ 仕様

[クラス名] TramStorageSlope

[モデル名] 非線形貯留関数モデル

[機能] 非線形貯留関数モデル 基礎式 q_i = \alpha s_i$^m$ frac{d s_i}{dt} = r \Sigma^{M_i}_{j=i}Q_i/A_i - \alpha s_i$^m$ Q_i = q_i A_i を TRAM 法によって計算します。

[受信端子の仕様] 降水量の受信端子は一つで、Receive 型、 オブジェクト名 rpprec、オブジェクト番号 0 です。また、斜面上流端 流入量の受信端子は隣接する上流側斜面要素個あり、Receive 型、オブジェクト名 rpdis、オブジェクト番号 0,1,2,...,n で、流量 (m^3/sec)が折れ線の形式で得られます。

[送信端子の仕様] 送信端子は一つで、Send 型、オブジェク ト名 spdis、オブジェクト番号 0 であり、流量(m^3/sec)を折れ線の形 式で出力します。

[パラメタ] 斜面要素の地理的特徴を示すパラメタ:水平斜面長(m)、勾 配(水平斜面長(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 TramStorageSlope


int Num(void) ;

  int Num(void)                 
;

Function is currently defined inline.


Back to the top of TramStorageSlope


double Length(void) ;

  double Length(void)                    
;

Function is currently defined inline.


Back to the top of TramStorageSlope


double Theta(void) ;

  double Theta(void)                   
;

Function is currently defined inline.


Back to the top of TramStorageSlope


double Area(void) ;

  double Area(void)                  
;

Function is currently defined inline.


Back to the top of TramStorageSlope


double Atr(void) ;

  double Atr(void)                 
;

Function is currently defined inline.


Back to the top of TramStorageSlope


Boolean LowestSlope(void) ;

  Boolean LowestSlope(void)                         
;

Function is currently defined inline.


Back to the top of TramStorageSlope


Send<double> mSpSlope;

; 送信端子

  Send<double> mSpSlope;      //; 流量(m^3/sec)を折れ線データで出力

Back to the top of TramStorageSlope


void Register_send_ports(void);

; 送信端子の登録

  void Register_send_ports(void);

Back to the top of TramStorageSlope


Receive<double>* mpRpSlope;

; 受信端子

  Receive<double>* mpRpSlope; //; 流量(m^3/sec)を折れ線データで入力

Back to the top of TramStorageSlope


Receive<double> mRpClm;

  Receive<double> mRpClm;     //; 降雨量の受信端子

Back to the top of TramStorageSlope


void Register_receive_ports(void);

; 受信端子の登録

  void Register_receive_ports(void);

Back to the top of TramStorageSlope


ofstream monitor_storage, monitor_deltaT;

  ofstream monitor_storage, monitor_deltaT;

Back to the top of TramStorageSlope


void Set_parameter(FILE* fp);

  void Set_parameter(FILE* fp);

Back to the top of TramStorageSlope


void Set_initial_state(FILE* fp);

  void Set_initial_state(FILE* fp);

Back to the top of TramStorageSlope


Boolean Initial_output(void);

  Boolean Initial_output(void);

Back to the top of TramStorageSlope


time_t Calculate_time_step(void) ;

  time_t Calculate_time_step(void)                       //; Work0の場合
;

Function is currently defined inline.


Back to the top of TramStorageSlope


Boolean Can_you_calculate(void) ;

; 計算開始時から time step 後までのデータがあれば YES

  Boolean Can_you_calculate(void)                                
;

Function is currently defined inline.


Back to the top of TramStorageSlope


Boolean Calculate(void);

  Boolean Calculate(void);

Back to the top of TramStorageSlope


Boolean Work(void);

  Boolean Work(void);

Back to the top of TramStorageSlope


void Save_terminal_state(FILE* fp);

  void Save_terminal_state(FILE* fp);

Back to the top of TramStorageSlope


TramStorageSlope* NewElement(void);

Returns a pointer to a new TramStorageSlope

  TramStorageSlope* NewElement(void);

Back to the top of TramStorageSlope


TramStorageSlope(char* o_name, int o_num);

; コンストラクタ

  TramStorageSlope(char* o_name, int o_num);

Back to the top of TramStorageSlope


TramStorageSlope(void);

  TramStorageSlope(void);

Back to the top of TramStorageSlope


~TramStorageSlope(void);

; デストラクタ

  ~TramStorageSlope(void);

Back to the top of TramStorageSlope


Boolean Init(char* o_name, int o_num, FILE* fp);

構造定義ファイル用 init 関数。"Init のための追加情報" 部分には、受 信端子の個数を書きます。

  Boolean Init(char* o_name, int o_num, FILE* fp);

Back to the top of TramStorageSlope


Boolean Init(char* o_name, int o_num);

  Boolean Init(char* o_name, int o_num);

Back to the top of TramStorageSlope


All Members

public:
int Num(void) ;
double Length(void) ;
double Theta(void) ;
double Area(void) ;
double Atr(void) ;
Boolean LowestSlope(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);
TramStorageSlope* NewElement(void);
Boolean Init(char* o_name, int o_num, FILE* fp);
Boolean Init(char* o_name, int o_num);
protected:
Send<double> mSpSlope;
void Register_send_ports(void);
Receive<double>* mpRpSlope;
Receive<double> mRpClm;
void Register_receive_ports(void);
ofstream monitor_storage, monitor_deltaT;

Back to the top of TramStorageSlope


Ancestors

Inheritance chain for TramStorageSlope:

Back to the top of TramStorageSlope


Descendants

Class is not inherited by any others.

Back to the top of TramStorageSlope


Generated from source by the Cocoon utilities on Sun Sep 17 20:23:56 2000 .

Report problems to jkotula@stratasys.com