Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/zhenxiangba/zhenxiangba.com/public_html/phproxy-improved-master/index.php on line 456
JPH0677193B2 - Color change method of pipeline system diagram - Google Patents
[go: Go Back, main page]

JPH0677193B2 - Color change method of pipeline system diagram - Google Patents

Color change method of pipeline system diagram

Info

Publication number
JPH0677193B2
JPH0677193B2 JP17953687A JP17953687A JPH0677193B2 JP H0677193 B2 JPH0677193 B2 JP H0677193B2 JP 17953687 A JP17953687 A JP 17953687A JP 17953687 A JP17953687 A JP 17953687A JP H0677193 B2 JPH0677193 B2 JP H0677193B2
Authority
JP
Japan
Prior art keywords
valve
color
line
valves
counter
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Lifetime
Application number
JP17953687A
Other languages
Japanese (ja)
Other versions
JPS6426099A (en
Inventor
明男 山宮
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Fujitsu Ltd
Original Assignee
Fujitsu Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Fujitsu Ltd filed Critical Fujitsu Ltd
Priority to JP17953687A priority Critical patent/JPH0677193B2/en
Publication of JPS6426099A publication Critical patent/JPS6426099A/en
Publication of JPH0677193B2 publication Critical patent/JPH0677193B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Landscapes

  • Pipeline Systems (AREA)
  • Control Of Indicators Other Than Cathode Ray Tubes (AREA)

Description

【発明の詳細な説明】 〔概要〕 計算機により制御され表示部に表示されるパイプライン
系統図の、パイプラインの流入側の弁と流出側の弁の開
閉により、パイプラインに流体が流れる状態になった時
は色を変化し、流れる状態から流れない状態に変化した
時は色を元に戻すように色を変化させるパイプライン系
統図の色変え方式に関し、 ラインの色変えに用いるテーブルは容易に作成出来又早
く色変えの判定が出来る色変え方式の提供を目的とし、 計算機に、流入側の弁に対しては、流出側の弁毎に、流
入側の弁と流出側の弁との間の、流入側の弁と流出側の
弁の両方が開になったことにより流れの変化する単位ラ
インの全部を示し、流出側の弁に対しては流入側の弁毎
に、流出側の弁と流入側の弁の間の、流入側の弁と流出
側の弁の両方が開になったことにより流れの変化する単
位ラインの全部を示す設備テーブルを持ち、又全部の単
位ライン毎にカウンタを持つライン情報テーブルを持
ち、又流入側の弁又は流出側の弁を開閉した時、該当弁
の設備テーブルの流入側の弁及び流出側の弁共開となっ
た時は、該ライン情報テーブルの、その間の全部の単位
ライのカウンタに1を加算し、閉となった時は、その間
の全部の単位ラインのカンウンタより1を減算し、カウ
ンタが0から1になった時は該カウンタの単位ラインの
色を変え、1から0になった時は該カンウンタの単位ラ
インの色を元に戻す色変え手段を備えた構成とする。
DETAILED DESCRIPTION OF THE INVENTION [Outline] In a pipeline system diagram controlled by a computer and displayed on a display unit, by opening and closing a valve on an inflow side and a valve on an outflow side of a pipeline, a state in which a fluid flows in the pipeline is set. The color change method of the pipeline system diagram changes the color when it changes, and changes the color to return to the original when it changes from the flowing state to the non-flowing state.The table used to change the line color is easy. For the purpose of providing a color change method that can be created on the basis of the above, and for which a color change method can be determined quickly, a computer is provided with an inlet side valve and an outlet side valve for each inlet side valve. Shows the entire unit line where the flow changes due to the opening of both the inflow-side valve and the outflow-side valve, and for each outflow-side valve, every inflow-side valve Both inflow and outflow valves between the valve and the inflow valve Has a facility table that shows all the unit lines whose flow changes due to opening, and has a line information table that has a counter for every unit line, and also opens and closes the inflow side valve or the outflow side valve. When the valve on the inflow side and the valve on the outflow side of the equipment table of the corresponding valve are both opened, 1 is added to all the unit lie counters in the line information table between them, and the valve is closed. When the counter changes from 0 to 1, the color of the unit line of the counter is changed when the counter changes from 0 to 1, and when it changes from 1 to 0, the unit line of the counter changes. The color changing means for restoring the original color is used.

〔産業上の利用分野〕[Industrial application field]

本発明は、計算機により制御され表示部に表示されるパ
イプライン系統図の、パイプラインの流入側の弁と流出
側の弁の開閉により、パイプラインに流体が流れる状態
になった時は色を変化し、流れる状態から流れない状態
に変化した時は色を元に戻すように色を変化させるパイ
プライン系統図の色変え方式の改良に関する。
The present invention controls the color of a pipeline system diagram that is controlled by a computer and displayed on a display unit by opening and closing a valve on the inflow side and a valve on the outflow side of the pipeline to change the color when the fluid flows into the pipeline. The present invention relates to an improvement of a color changing method of a pipeline system diagram in which a color is changed so that the color is returned to the original color when the color changes from a flowing state to a non-flowing state.

計算機により制御される表示部を持つ1例の表示装置を
示すと、第6図に示す如きものであり、プロセッサ1,RO
M2,RAM3からなる計算機10と表示部4を持ち、ROM2に所
要のプログラム及びテーブルを持ち、プロセッサ1の制
御により表示部4に表示されるパイプライン系統図の単
位ラインの色変えを行う。
An example of a display device having a display unit controlled by a computer is as shown in FIG.
It has a computer 10 composed of M2 and RAM3 and a display unit 4, has a required program and table in ROM2, and changes the color of the unit line of the pipeline system diagram displayed on the display unit 4 under the control of the processor 1.

又1例のパイプライン系統図を示すと、第7図の如くで
あり、A,Bは流入側の弁を示し、C,Dは流出側の弁を示
し、a,b,c,d,eは弁の開閉により流れの変化する単位ラ
イン(以下ラインと称す)を示す。
In addition, the pipeline system diagram of one example is as shown in FIG. 7, where A and B are valves on the inflow side, C and D are valves on the outflow side, and a, b, c, d, e indicates a unit line (hereinafter referred to as a line) in which the flow changes due to opening and closing of the valve.

この場合、弁AとCが開ならば、流体の流れる状態にな
るラインa,c,dを色変えし、弁AとDが開ならば、流体
の流れる状態になるラインa,c,eを色変えし、弁BとC
が開ならば、流体の流れる状態になるラインb,c,dを色
変えし、弁BとDが開ならば、流体の流れる状態になる
ラインb,c,eを色変えする。
In this case, if the valves A and C are open, the lines a, c, d in which the fluid flows are changed in color, and if the valves A and D are open, the lines a, c, e in which the fluid flows are changed. Change the color of valves B and C
When is open, the lines b, c, d in which the fluid flows are changed in color, and when the valves B and D are open, the lines b, c, e in which the fluid is changed are changed in color.

勿論、流入側の弁AとBのみが開でも又流出側の弁Cと
Dのみが開でも流体の流れる状態にならないのでライン
の色変えはしない。
Of course, even if only the valves A and B on the inflow side are open, and even if only the valves C and D on the outflow side are open, the fluid does not flow, so the color of the line is not changed.

又例えば、弁AとBとCが開で、ラインa,b,c,dが色変
えされている時、弁A閉となると、ラインaには流体が
流れる状態ではなくなるので色を元に戻す。
Also, for example, when valves A, B, and C are open and lines a, b, c, and d are changed in color, when valve A is closed, fluid does not flow through line a. return.

上記のようなラインの色変えは実時間的に早いことが望
まれている。
It is desired that the color change of the line as described above is quick in real time.

以下は第7図のパイプライ系統図を例にとり説明する。The following description will be made by taking the pipeline system diagram of FIG. 7 as an example.

〔従来の技術〕[Conventional technology]

以下従来例を図を用いて説明する。 A conventional example will be described below with reference to the drawings.

第8図は第7図のライン色変え条件を示す図、第9図は
従来例の弁の変化で色変え判定を行うべきラインを示す
ラインテーブル、第10図は従来例のラインの色変え条件
テーブル、第11図は従来例の色変えプログラムのフロー
チャートである。
FIG. 8 is a diagram showing the line color changing conditions of FIG. 7, FIG. 9 is a line table showing the lines for which color change judgment should be performed by the change of the valve of the conventional example, and FIG. 10 is the color change of the line of the conventional example. The condition table, FIG. 11 is a flowchart of a conventional color changing program.

従来パイプライン系統図のラインの色変えを行うには、
第9図に示す、各弁毎に、弁の変化で色変え判定を行う
べきラインを示すラインテーブルと、第10図に示す、各
ライン毎のラインの色変え条件テーブルを、第6図に示
すROM2に格納し、プロセッサ1の制御により行ってい
る。
To change the line color of the conventional pipeline system diagram,
FIG. 6 shows a line table showing the line for which color change judgment is to be performed by the valve change for each valve shown in FIG. 9 and the line color change condition table for each line shown in FIG. It is stored in the ROM 2 shown and is controlled by the processor 1.

第9図に示すラインテーブルは、弁が開閉した時流体が
流れる状態に変化する可能性のあるラインを示すテーブ
ルであり、弁を開閉した時このテーブルのラインについ
て色変えをするかの判定を行えばよいようにする為に設
けたものである。
The line table shown in FIG. 9 is a table showing lines that may change to a state in which fluid flows when the valve is opened and closed. When the valve is opened and closed, it is possible to determine whether the color of the line of this table is changed. It is provided so that it can be performed.

即ち、弁Aについてはラインa,c,d,eを示し、弁Bにつ
いてはラインb,c,d,eを示し、弁Cについてはラインa,
b,c,dを示し、弁Dについてはラインa,b,c,eを示してい
る。
That is, lines a, c, d, e are shown for valve A, lines b, c, d, e are shown for valve B, and lines a, c, d, e are shown for valve C.
b, c, d are shown, and for valve D, lines a, b, c, e are shown.

第10図の各ライン毎のラインの色変え条件テーブルは、
第9図のラインテーブルにより、色変えの判定を行うラ
インが定まると、そのラインについて色変えすべきかど
うかを判定する為のテーブルで、これを作成するには、
まず第8図に示すラインの色変え条件を求め、これを元
にして、下段にこのラインを色変え判定するのに関係す
る弁の数及び弁の名称を書き、上段には、このラインの
色変え判定に関係する弁が全部開なら色変えする条件の
数と、色変え判定に関係する1で示した弁が全部開なら
色変えする条件となる場合を、全部の場合につき、下段
の弁の順に1,0で示すようにする。
The line color change condition table for each line in FIG.
When the line for which color change is determined is determined by the line table of FIG. 9, it is a table for determining whether or not the color should be changed for that line.
First, the color change condition of the line shown in FIG. 8 is obtained, and based on this, the number of valves and valve names related to the color change determination of this line are written in the lower stage, and the upper line shows the number of valves. For all cases, the number of conditions for changing the color if the valves related to color change determination are all open and the conditions for changing the color if the valve indicated by 1 related to color change determination is all open. The valve order is 1,0.

例えば、第10図に示すラインaのラインの色変え条件テ
ーブルについて説明すると、第7図の最上段より、色変
え判定するのに関係する弁はA,C,Dで弁数は3であり、
色変え判定に関係する弁が全部開なら色変えする条件と
しては、弁Aと弁Cが開の場合(条件1)と、弁Aと弁
Dが開の場合(条件2)と2つの場合があるので、下段
には判定弁数を3とし、弁の名称をA,C,Dとし、上段の
条件数は2とし、条件1の場合は1,1,0とし、条件2の
場合は1,0,1としている。
For example, the color change condition table of the line a shown in FIG. 10 will be described. From the top of FIG. 7, the valves related to the color change determination are A, C, D and the number of valves is 3. ,
If the valves related to the color change determination are all open, there are two conditions for changing the color: when valve A and valve C are open (condition 1) and when valve A and valve D are open (condition 2). Therefore, the number of judgment valves is 3 in the lower stage, the names of the valves are A, C, D, and the number of conditions in the upper stage is 2. In the case of condition 1, 1, 1, 0, and in the case of condition 2, It is set to 1,0,1.

ラインcのライの色変え条件テーブルについて説明する
と、第7図の3段目より、色変え判定するのに関係する
弁はA,B,C,Dで弁数は4であり、色変え判定に関係する
弁が全部開なら色変えする条件としては、弁Aと弁Cが
開の場合(条件1)と、弁Aと弁Dが開の場合(条件
2)と、弁Bと弁Cが開の場合(条件3)と、弁Bと弁
Dが開の場合(条件4)と、4つの場合があるので、下
段には判定弁数を4とし、弁の名称をA,B,C,Dとし、上
段の条件数は4とし、条件1の場合は1,0,1,0とし、条
件2の場合は1,0,0,1とし、条件3の場合は0,1,1,0と
し、条件4の場合は0,1,0,1としている。
Explaining the lie color change condition table of the line c, from the third stage of FIG. 7, the valves related to the color change determination are A, B, C, D and the number of valves is 4, and the color change determination is The conditions for changing the color when all the valves related to are open are: when the valves A and C are open (condition 1), when the valves A and D are open (condition 2), and when the valves B and C are open. There are four cases, one is open (condition 3) and the other is when valve B and valve D are open (condition 4). Therefore, the number of judgment valves is 4 and the names of the valves are A, B, and C and D, the number of conditions in the upper row is 4, condition 1 is 1,0,1,0, condition 2 is 1,0,0,1 and condition 3 is 0,1, 1,0, and in the case of condition 4, 0,1,0,1.

次に、例えば、弁A,B,C,Dが閉で、弁Aが開となり、次
に弁Cが開となった場合を例にとりラインの色変えにつ
いて説明する。
Next, for example, the case where the valves A, B, C, D are closed, the valve A is opened, and then the valve C is opened will be described.

弁Aが開になると、第9図にて色変えを判定すべきライ
ンはa,c,d,eとなるが、ラインaの場合を代表例として
説明する。
When the valve A is opened, the lines for which color change should be determined in FIG. 9 are a, c, d, and e, but the case of the line a will be described as a typical example.

ラインaの色変えを判定するのは、第10図のラインaの
色変え条件テーブルを参照して、第11図のプログラムに
従って行うので、第11図のプログラムの順に説明する。
The color change of the line a is determined according to the program of FIG. 11 with reference to the color change condition table of the line a of FIG. 10. Therefore, the program of FIG. 11 will be described in order.

第11図でiは条件1,2,3,・・の数字を示し、mは条件数
を示している。
In FIG. 11, i represents the numbers of conditions 1, 2, 3, ... And m represents the number of conditions.

ステップ1にてiを1にし、ステップ2に進む。条件1
の判定弁A,CではAは開,Cは閉であるので、ステップ4
に進み、iを2とし、ステップ5に進み、iは条件数2
より大きくないので、ステップ2に帰り、条件2の判定
弁A,Dでは、Aは開で、Dは閉であるのて、ステップ4
に進みiを3とし、ステップ5に進み、iは2より大き
いので、ステップ6に進みラインの色変えをせずストッ
プする。
In step 1, i is set to 1, and the process proceeds to step 2. Condition 1
In the judgment valves A and C of A, A is open and C is closed.
, The i is set to 2, and the process proceeds to step 5, where i is the condition number 2
Since it is not larger, return to step 2, and in the judgment valves A and D of condition 2, A is open and D is closed, so step 4
I is set to 3, and i is set to 3, and i is larger than 2, so that the process proceeds to step 6 and stops without changing the color of the line.

次に、弁Cが開となると、第9図にて、色変えを判定す
べきラインは、a,b,c,dとなるが、ラインaの場合を代
表例として説明する。
Next, when the valve C is opened, the lines for which color change should be judged are a, b, c, d in FIG. 9, but the case of the line a will be described as a representative example.

ラインaの色変えを判定するのには、第10図のラインa
の色変え条件テーブルを参照して、第11図のプログラム
に従って行うので、第11図のプログラムの順に説明す
る。
To determine the color change of line a, line a in FIG.
The color changing condition table is referred to and the program is performed in accordance with the program shown in FIG. 11. Therefore, description will be given in order of the program shown in FIG.

ステップ1にてiを1にし、ステップ2に進む。条件1
の判定弁A,CではAは開,Cも開であるので、ステップ3
に進み、ラインの色変えを行ってストップする。
In step 1, i is set to 1, and the process proceeds to step 2. Condition 1
In judgment valves A and C of A, A is open and C is also open, so step 3
Go to and change the color of the line and stop.

以上の如くして色変えを行う。The color is changed as described above.

〔発明が解決しようとする問題点〕[Problems to be solved by the invention]

しかしながら、従来の色変え方法では、ラインの色変え
条件テーブルを作成するのに、第8図に示す如きライン
の色変え条件を求め、それから作成せねばならない。
However, in the conventional color changing method, in order to create the line color changing condition table, the line color changing condition as shown in FIG. 8 must be obtained and then created.

この場合、第8図に示す如きラインの色変え条件を求め
るには、ライン毎に、色変えする為には各弁の状態がど
のようになっていなければならないかを求めねばなら
ず、特に弁の数が多い場合は非常に手間がかかる問題点
がある。
In this case, in order to obtain the color change condition of the line as shown in FIG. 8, it is necessary to obtain the condition of each valve in order to change the color for each line. If there are many valves, there is a problem that it takes a lot of time.

又弁の開閉があると、第9図に示すラインテーブルよ
り、まずこれに関係するラインを求め、次に、第10図に
示す、この全てのライン毎の、ラインの色変え条件テー
ブルを参照して、第11図のプログラムにより色変えを判
定せねばならず、色変えを判定するのに時間がかかる問
題点がある。
When the valve is opened or closed, the lines related to this are first obtained from the line table shown in FIG. 9, and then the line color change condition table for all lines shown in FIG. 10 is referred to. Then, it is necessary to judge the color change by the program of FIG. 11, and there is a problem that it takes time to judge the color change.

本発明は、ラインの色変えに用いるテーブルは容易に作
成出来又早く色変えの判定が出来るパイプライン系統図
の色変え方式の提供を目的とする。
SUMMARY OF THE INVENTION It is an object of the present invention to provide a color changing system for a pipeline system diagram in which a table used for changing the color of a line can be easily created and a color change can be determined quickly.

〔問題点を解決するための手段〕[Means for solving problems]

第1図は本発明の原理ブロック図である。 FIG. 1 is a block diagram of the principle of the present invention.

計算機10により制御され表示部4に表示されるパイプラ
イン系統図の、パイプラインの流入側の弁と流出側の弁
の開閉により、パイプラインに流体が流れる状態になっ
た時は色を変化し、流れる状態から流れない状態に変化
した時は色を元に戻すように色を変化させるパイプライ
ン系統図の色変え方式において、 該計算機10に、流入側の弁に対しては、流出側の弁毎
に、流入側の弁と流出側の弁との間の、流入側の弁と流
出側の弁の両方が開となったことにより流れの変化する
単位ラインの全部を示し、流出側の弁に対しては流入側
の弁毎に、流出側の弁と流入側の弁との間の、流入側の
弁と流出側の弁の両方が開になったことにより流れの変
化する単位ラインの全部を示す設備テーブル(A)を備
え、又全部の単位ライン毎にカウンタを持つライン情報
テーブル(B)を備える。
In the pipeline system diagram which is controlled by the computer 10 and displayed on the display unit 4, the color changes when the fluid enters the pipeline by opening and closing the valves on the inflow side and the outflow side of the pipeline. , In the color change method of the pipeline system diagram, in which the color is changed so as to restore the color when the flow state changes to the non-flow state, the computer 10 For each valve, the entire unit line in which the flow changes between the valve on the inflow side and the valve on the outflow side due to the opening of both the inflow side valve and the outflow side valve is shown. For valves, for each inflow side valve, a unit line between the outflow side valve and the inflow side valve, where the flow changes because both the inflow side valve and the outflow side valve are open. Is equipped with an equipment table (A) showing all of the above, and also has a counter for every unit line Comprising a line information table (B).

又弁を開閉した時、該当弁の設備テーブルの流入側の弁
及び流出側の弁共開となった時は、該ライン情報テーブ
ル(B)の、その間の全部の単位ラインのカウンタに1
を加算し、閉となった時は、その間の全部の単位ライの
カウンタより1を減算し、カウンタが0から1になった
時は該カウンタの単位ラインの色を変え、1から0にな
った時は該カウンタの単位ラインの色を元に戻す色変え
手段(C)を備える。
Further, when the valve is opened and closed and the valve on the inflow side and the valve on the outflow side of the equipment table of the valve are both opened, the counters of all unit lines in the line information table (B) are set to 1
Is added, and when it is closed, 1 is subtracted from all the counters of the unit lie between them, and when the counter is changed from 0 to 1, the color of the unit line of the counter is changed to 1 to 0. In this case, a color changing means (C) for returning the color of the unit line of the counter to the original color is provided.

〔作用〕[Action]

本発明によれば、テーブルとしては、流入側,又は流出
側の弁に対し、パイプライン系統図より、設備として
の、単に色変え判定条件となる弁を求め、これ等の弁間
各々の全部のラインを求め、これをテーブルとした、各
弁毎の設備テーブル(A)と、全部のラインに対し、ラ
イン毎にカウンタを持つライ情報テーブル(B)を持て
ばよく、これ等の作成は上記説明の如く簡単で手間がか
からず、又ラインの色変え判定としては、弁が開閉され
ると、その弁の設備テーブルと、ライン情報テーブル
(B)を用い、流入側の弁,流出側の弁の状態により、
その間のラインのカウンタの値を変え、カウンタが0か
ら1となった場合は色を変え、1から0になった場合は
色を元に戻す色変え手段(C)にて行えばよいので、色
変えの判定を早く出来る。
According to the present invention, as the table, for the valves on the inflow side or the outflow side, a valve that is simply a color change determination condition as equipment is determined from the pipeline system diagram, and all of the valves between these valves are determined. It is only necessary to obtain the line for each valve and use this as a table for the equipment table (A) for each valve and the lie information table (B) for each line that has a counter for each line. As described above, it is simple and hassle-free, and the color change determination of the line is as follows. When the valve is opened and closed, the equipment table of the valve and the line information table (B) are used. Depending on the state of the side valve,
The value of the counter of the line in the meantime is changed, and when the counter is changed from 0 to 1, the color is changed, and when the counter is changed from 1 to 0, the color changing means (C) for returning the color can be used. You can quickly judge the color change.

〔実施例〕〔Example〕

以下本発明の1実施例に付き図に従って説明する。 An embodiment of the present invention will be described below with reference to the accompanying drawings.

第2図は本発明の実施例の各弁の設備テーブルを示す
図、第3図は本発明の実施例のライン情報テーブルを示
す図、第4図は本発明の実施例の色変えプログラムのフ
ローチャート、第5図は本発明の実施例の弁開閉による
カウンタの値の変化と色変えを示す図である。
FIG. 2 is a diagram showing a facility table of each valve of the embodiment of the present invention, FIG. 3 is a diagram showing a line information table of the embodiment of the present invention, and FIG. 4 is a color changing program of the embodiment of the present invention. FIG. 5 is a flow chart showing the change of the counter value and the change of color by opening and closing the valve according to the embodiment of the present invention.

第2図に示す設備テーブルを作成するのには、流入側の
弁Aの場合で説明すると、色変え判定条件となる弁は流
出側の弁C,Dの2つであり、弁Cとの間のラインはa,c,d
の3つであり、弁Dとの間のラインはa,c,eの3つであ
る。
In order to create the equipment table shown in FIG. 2, the case of the valve A on the inflow side will be described. There are two valves C and D on the outflow side that are the color change determination conditions. The lines between are a, c, d
, And the lines with the valve D are a, c, and e.

従って、弁Aの設備テーブルとしては、判定弁の数は2
とし、次に判定弁C、次にこの間のライン数3及び3つ
のラインa,c,d、次に判定弁D、次にこの間のライ数3
及び3つのラインa,c,eを示したものとする。
Therefore, in the equipment table of valve A, the number of judgment valves is 2
Then, the judgment valve C, then the number of lines between 3 and 3 lines a, c, d, then the judgment valve D, then the number of lie between these 3
And three lines a, c and e are shown.

このようにして、第2図に示す如く、弁A,B,C,Dに対し
て設備テーブルを作る。
In this way, as shown in FIG. 2, an equipment table is created for the valves A, B, C, D.

ライン情報テーブルとしては、ラインはa,b,c,d,eの5
個であるので、これ等のラインに対応したカウンタを持
つ第3図に示す如きライン情報テーブルを作る。
As the line information table, the line is 5 of a, b, c, d, e.
Since they are individual, a line information table as shown in FIG. 3 having counters corresponding to these lines is created.

そこで、弁が開又は閉に変化すると、その変化した弁の
設備テーブルを用い、第4図に示す色変えのプログラム
によりラインの色変えを行う。
Therefore, when the valve changes to open or closed, the color of the line is changed by the color changing program shown in FIG. 4 using the changed valve equipment table.

この色変えにつき、第5図(1)〜(5)に示す、初期
状態,弁Aが開に変化,弁Cが開に変化,弁Bが開に変
化,弁Aが閉に変化した場合につき説明する。
Due to this color change, in the initial state shown in FIGS. 5 (1) to (5), the valve A changes to open, the valve C changes to open, the valve B changes to open, and the valve A changes to closed. Will be explained.

(1)に示す初期状態では、弁A〜Dは全部閉であるの
で、第5図(1)に示す如く、各ラインのカウンタは全
部0で色変えは行わない。
In the initial state shown in (1), since the valves A to D are all closed, as shown in FIG. 5 (1), the counters of each line are all 0 and no color change is performed.

又(2)に示す弁Aが開になった時は、第2図の弁Aの
設備テーブルを参照し、第4図のプログラムにて色変え
を行う。
Further, when the valve A shown in (2) is opened, the equipment table of the valve A shown in FIG. 2 is referred to and the color is changed by the program shown in FIG.

まずステップ1にて開になったので、ステップ2に進
み、判定弁の番号のiを1とし、ステップ3に進み最初
の判定弁Cが開になっていないので、ステップ4に進
み、iをi+1の2とし、ステップ5に進み、2は判定
弁の数の2より大きくないので、ステップ3に帰り、2
番目の判定弁Dも開になっていないのでステップ4に進
み、iをi+1の3とし、ステップ5に進み、3は判定
弁の数の2より大きいのでこれでストップする。
First, since the valve is opened in step 1, the process proceeds to step 2, the judgment valve number i is set to 1, and the process proceeds to step 3 where the first judgment valve C is not open. Since i + 1 is 2, the process proceeds to step 5, and since 2 is not larger than 2 which is the number of judgment valves, the process returns to step 3 and 2
Since the second judgment valve D is also not open, the routine proceeds to step 4, i is set to i + 1 of 3, and the routine proceeds to step 5, where 3 is larger than the number of judgment valves 2, so stop at this.

即ち、第5図の(2)に示す如く、カウンタは全部0で
色変えは行わない。
That is, as shown in (2) of FIG. 5, all the counters are 0 and the color is not changed.

次に(3)に示す如く弁Cが開になると、第2図の弁C
の設備テーブルを参照し、第4図のプログラムにて色変
えを行う。
Next, when the valve C is opened as shown in (3), the valve C in FIG.
Referring to the equipment table of, the color is changed by the program of FIG.

まずステップ1にて開になったので、ステップ2に進
み、判定弁の番号のiを1とし、ステップ3に進み最初
の判定弁Aは開であるので、ステップ6に進み、この間
のラインa,c,dのカウンタに1に加算する。
First, since the valve is opened in step 1, the process proceeds to step 2, the i of the judgment valve number is set to 1, and the process proceeds to step 3 where the first judgment valve A is open. Add 1, to the counters of c, d.

次に、ステップ7に進み、カウンタが1になったものが
あれば、ステップ8にて、1になったカウンタのライン
a,c,dの色変えを行う。次にステップ4に進み、iをi
+1の2とし、ステップ5に進み、2は判定弁の数の2
より大きくないので、ステップ3に帰り、2番目の判定
弁Bは閉であるので、ステップ4に進み、iをi+1の
3とし、ステップ5に進み、3は判定弁の数の2より大
きのでこれでストップする。
Next, the process proceeds to step 7, and if there is a counter that has become 1, the line of the counter that has become 1 in step 8
Change the color of a, c, d. Next, in step 4, i is set to i
+1 is set to 2, and the process proceeds to step 5, where 2 is 2 which is the number of judgment valves.
Since it is not larger, the procedure returns to step 3, and the second judgment valve B is closed. Therefore, the processing advances to step 4, i is set to i + 1 = 3, and the processing advances to step 5, where 3 is larger than 2 which is the number of judgment valves. Stop with this.

即ち、第5図(3)に示す如く、ラインa,c,dのカウン
タは1となったので、このラインa,c,dの色変えを行
う。
That is, as shown in FIG. 5 (3), the counters of the lines a, c, d have become 1, so that the colors of the lines a, c, d are changed.

次に、(4)に示す如く、弁Bが開となると、第2図の
弁Bの設備テーブルを参照し、第4図のプログラムにて
色変えを行う。
Next, as shown in (4), when the valve B is opened, the equipment table of the valve B in FIG. 2 is referred to, and the color is changed by the program in FIG.

まずステップ1にて開になったので、ステップ2に進
み、判定弁の番号のiを1とし、ステップ3に進み最初
の判定弁Cは開であるので、ステップ6に進み、この間
のラインb,c,dのカウンタを1を加算する。
First, since it was opened in step 1, the process proceeds to step 2, the i of the judgment valve number is set to 1, and the process proceeds to step 3 where the first judgment valve C is open, so the process proceeds to step 6 and the line b The counters of c, d are incremented by 1.

次に、ステップ7に進み、カウンタが1になったものが
あれば、ステップ8にて、1になったカウンタのライン
bの色変えを行う。次にステップ4に進み、iをi+1
の2とし、ステップ5に進み、2は判定弁の数の2より
大きくないので、ステップ3に帰り、2番目の判定弁D
は閉であるので、ステップ4に進み、iをi+1の3と
し、ステップ5に進み、3は判定弁の数の2より大きの
でこれでストップする。
Next, the process proceeds to step 7, and if there is a counter having a value of 1, the color of the line b of the counter having a value of 1 is changed in step 8. Next, the process proceeds to step 4 and i is i + 1
No. 2 and the process proceeds to step 5, and since 2 is not larger than 2 which is the number of judgment valves, the process returns to step 3 and the second judgment valve D
Is closed, the process advances to step 4, i is set to i + 1 of 3, and the process advances to step 5 where 3 is larger than the number of judgment valves, 2 and the process is stopped.

即ち、第5図(4)に示す如く、ラインbのカウンタが
1となったので、このラインbの色変えを行う。
That is, as shown in FIG. 5 (4), since the counter of line b has become 1, the color of line b is changed.

次に、(5)に示す如く、弁Aが閉となると、第2図の
弁Aの設備テーブルを参照し、第4図のプログラムにて
色変えを行う。
Next, as shown in (5), when the valve A is closed, the facility table of the valve A in FIG. 2 is referred to, and the color is changed by the program in FIG.

まずステップ1にて開に変化していないので、ステップ
9に進み、閉に変化したので、ステップ10に進み、判定
弁の番号のiを1とし、ステップ11に進み最初の判定弁
Cは開であるので、ステップ14に進み、この間のライン
a,c,dのカウンタの値より1を減ずる。
First, since it has not changed to open in step 1, it proceeds to step 9, and since it has changed to closed, it proceeds to step 10, sets i of the judgment valve number to 1, and proceeds to step 11 to open the first judgment valve C. So go to step 14, line between
Decrement 1 from the counter values of a, c, and d.

次に、ステップ15に進み、カウンタが0になっあものが
あれば、ステップ16にて、0になったカウンタのライン
aの色を元に戻す。次にステップ12に進み、iをi+1
の2とし、ステップ13に進み、2は判定弁の数の2より
大きくないので、ステップ11に帰り、2番目の判定弁D
は閉であるので、ステップ12に進み、iをi+1の3と
し、ステップ13に進み、3は判定弁の数の2より大きい
のでこれでストップする。
Next, the process proceeds to step 15, and if there is any counter that has become 0, at step 16 the color of the line a of the counter that has become 0 is restored. Next, in step 12, i is i + 1
No. 2 and the process proceeds to step 13, and since 2 is not larger than 2 which is the number of judgment valves, the process returns to step 11 and the second judgment valve D
Is closed, the process proceeds to step 12, i is set to i + 1 of 3, and the process proceeds to step 13 where 3 is larger than the number of judgment valves, 2 so the process is stopped.

即ち、第5図に示す如く、ラインaのカウンタが0とな
ったので、このラインaの色を元に戻す。
That is, as shown in FIG. 5, since the counter of line a has become 0, the color of line a is restored.

〔発明の効果〕〔The invention's effect〕

以上詳細に説明せる如く本発明によれば、ライの色変え
に用いるテーブルは、パイプライン系統図の設備のみを
見れば容易に作成出来るので、テーブルの作成は容易
で、又ラインの色変えを行うのは、開閉された弁の設備
テーブルのみを参照し、ライン情報テーブルのカウンタ
を用いれば出来るので、色変えを早く出来る効果があ
る。
As described in detail above, according to the present invention, the table used for changing the color of the lie can be easily created only by looking at the equipment of the pipeline system diagram, so the table can be created easily and the color of the line can be changed. Since it can be performed by referring only to the equipment table of the opened / closed valve and using the counter of the line information table, there is an effect that the color change can be speeded up.

【図面の簡単な説明】[Brief description of drawings]

第1図は本発明の原理ブロック図、 第2図は本発明の実施例の各弁の設備テーブルを示す
図、 第3図は本発明の実施例のライン情報テーブルを示す
図、 第4図は本発明の実施例の色変えプログラムのフローチ
ャート、 第5図は本発明の実施例の弁開閉によるカウンタの値の
変化と色変えを示す図、 第6図は1例の表示装置のブロック図、 第7図は1例のパイプライン系統図、 第8図は第7図のライ色変え条件を示す図、 第9図は従来例の弁の変化で色変え判定を行うラインを
示すラインテーブル、 第10図は従来例のラインの色変え条件テーブル、 第11図は従来例の色変えプログラムのフローチャートで
ある。 図において、 1はプロセッサ、 2はROM、 3はRAM、 4は表示部、 10は計算機、 A,B,C,Dは弁、 a,b,c,d,eは単位ライン、 (A)は各弁毎の設備テーブル、 (B)はライン情報テーブル、 (C)は色変え手段を示す。
FIG. 1 is a block diagram of the principle of the present invention, FIG. 2 is a diagram showing an equipment table of each valve of the embodiment of the present invention, FIG. 3 is a diagram showing a line information table of the embodiment of the present invention, and FIG. FIG. 5 is a flow chart of a color changing program of the embodiment of the present invention, FIG. 5 is a diagram showing a change in the value of the counter and a color change by opening and closing the valve of the embodiment of the present invention, and FIG. 6 is a block diagram of an example display device. , FIG. 7 is a pipeline system diagram of one example, FIG. 8 is a diagram showing lie color changing conditions of FIG. 7, and FIG. 9 is a line table showing lines for performing color change determination by changing the valve of the conventional example. FIG. 10 is a line color change condition table of the conventional example, and FIG. 11 is a flowchart of a color change program of the conventional example. In the figure, 1 is a processor, 2 is a ROM, 3 is a RAM, 4 is a display unit, 10 is a computer, A, B, C, D are valves, a, b, c, d, e are unit lines, (A) Shows a facility table for each valve, (B) shows a line information table, and (C) shows a color changing means.

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】計算機(10)により制御され表示部(4)
に表示されるパイプライン系統図の、パイプラインの流
入側の弁と流出側の弁の開閉により、パイプラインに流
体が流れる状態になった時は色を変化し、流れる状態か
ら流れない状態に変化した時は色を元に戻すように色を
変化させるに際し、 該計算機(10)に、流入側の弁に対しては、流出側の弁
毎に、流入側の弁と流出側の弁との間の、流入側の弁と
流出側の弁の両方が開になったことにより流れの変化す
る単位ラインの全部を示し、流出側の弁に対しては流入
側の弁毎に、流出側の弁と流入側の弁との間の、流入側
の弁と流出側の弁の両方が開になったことにより流れの
変化する単位ラインの全部を示す設備テーブル
〔(A)〕を持ち、又全部の単位ライン毎にカウンタを
持つライン情報テーブル〔(B)〕を持ち、又流入側の
弁又は流出側の弁を開閉した時、該当弁の設備テーブル
の流入側の弁及び流出側の弁共開となった時は、該ライ
ン情報テーブル〔(B)〕の、その間の全部の単位ライ
ンのカウンタに1を加算し、閉となった時は、その間の
全部の単位ラインのカウンタより1を減算し、カウンタ
が0から1になった時は該カウンタの単位ラインの色を
変え、1から0になった時は該カウンタの単位ラインの
色を元に戻す色変え手段〔(C)〕を備えたことを特徴
とするパイプライン系統図の色変え方式。
1. A display unit (4) controlled by a computer (10).
In the pipeline system diagram displayed in, the color changes when the fluid enters the pipeline due to the opening and closing of the valve on the inflow side and the valve on the outflow side of the pipeline. When changing the color so that when it changes, the color is changed back to the original value.When changing the color to the computer (10), for each valve on the inflow side, there is a valve on the outflow side and a valve on the outflow side. Shows the whole unit line where the flow changes due to the opening of both the inflow side valve and the outflow side valve, and for the outflow side valve, for each inflow side valve, the outflow side The equipment table [(A)] showing all of the unit lines in which the flow changes due to the opening of both the inflow side valve and the outflow side valve between the valve Also, it has a line information table [(B)] that has a counter for every unit line, When the valve on the outlet side is opened and closed, and when the valve on the inflow side and the valve on the outflow side of the equipment table of the corresponding valve are both opened, all the unit lines between them in the line information table [(B)] When the counter is incremented by 1, and when it is closed, 1 is subtracted from the counters of all unit lines in between, and when the counter is changed from 0 to 1, the color of the unit line of the counter is changed A color changing system of a pipeline system diagram, characterized in that it is provided with a color changing means [(C)] for returning the color of the unit line of the counter to 0 when it becomes 0.
JP17953687A 1987-07-17 1987-07-17 Color change method of pipeline system diagram Expired - Lifetime JPH0677193B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP17953687A JPH0677193B2 (en) 1987-07-17 1987-07-17 Color change method of pipeline system diagram

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP17953687A JPH0677193B2 (en) 1987-07-17 1987-07-17 Color change method of pipeline system diagram

Publications (2)

Publication Number Publication Date
JPS6426099A JPS6426099A (en) 1989-01-27
JPH0677193B2 true JPH0677193B2 (en) 1994-09-28

Family

ID=16067472

Family Applications (1)

Application Number Title Priority Date Filing Date
JP17953687A Expired - Lifetime JPH0677193B2 (en) 1987-07-17 1987-07-17 Color change method of pipeline system diagram

Country Status (1)

Country Link
JP (1) JPH0677193B2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CA2017974C (en) * 1989-08-07 1998-06-16 Richard Alan Becker Dynamic graphical analysis of network data

Also Published As

Publication number Publication date
JPS6426099A (en) 1989-01-27

Similar Documents

Publication Publication Date Title
US5136690A (en) Dynamic graphical analysis of network data
Prabhu Foundations of queueing theory
US5623590A (en) Dynamic graphics arrangement for displaying spatial-time-series data
Andersson Analysing distribution channel dynamics: loose and tight coupling in distribution networks
CN105611190B (en) Video wall echo system and echo method
US7127303B2 (en) System for automating, monitoring and controlling technical processes and acquiring measurements thereof
US4522534A (en) Control method for open channel
WO1989007300A1 (en) Computer aided flood control management system
JP2001508898A (en) Method for initializing the simulation of the behavior of a technical installation and a simulation system for the technical installation
JPH0677193B2 (en) Color change method of pipeline system diagram
Bahmani-Oskooee et al. Inflationary effects of changes in effective exchange rates: LDCs experience
Kirwan et al. Emigrants' remittances, non‐traded goods and economic welfare in the source country
JP2884209B2 (en) In-pipe status display method and device
JP2006244072A (en) Plant state simulation method and system
JPH09114517A (en) Monitoring and control equipment
JP2001243488A (en) Medium storing graphic element selection method and CAD processing program
JPH06348307A (en) Method of evaluation for linguistic control
Johansen Parametric Certainty Equivalence procedures in decision-making under uncertainty
JPH08159863A (en) Vibration waveform identification method and identification device
Alexander et al. Advanced Techniques in the Mathematical Modeling of Water‐Distribution Systems
JPH03289596A (en) Piping thinning management evaluation system
JPH03145597A (en) Method for determining discharge flow rate of rotary pump
JP2731041B2 (en) Hydraulic analyzer
Wu An investigation of causality between money supply and retail food prices in Canada
JPH03209100A (en) Systematic condition display device