JP2020144745A - System simulator and simulation method - Google Patents
System simulator and simulation method Download PDFInfo
- Publication number
- JP2020144745A JP2020144745A JP2019042332A JP2019042332A JP2020144745A JP 2020144745 A JP2020144745 A JP 2020144745A JP 2019042332 A JP2019042332 A JP 2019042332A JP 2019042332 A JP2019042332 A JP 2019042332A JP 2020144745 A JP2020144745 A JP 2020144745A
- Authority
- JP
- Japan
- Prior art keywords
- time
- smart meter
- system simulator
- minute value
- processing unit
- 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.)
- Granted
Links
- 238000000034 method Methods 0.000 title claims description 43
- 238000004088 simulation Methods 0.000 title claims description 15
- 230000003068 static effect Effects 0.000 claims description 27
- 230000005540 biological transmission Effects 0.000 claims description 13
- 230000014759 maintenance of location Effects 0.000 claims description 13
- 230000000717 retained effect Effects 0.000 claims description 2
- 238000012545 processing Methods 0.000 abstract description 55
- 238000013523 data management Methods 0.000 abstract description 2
- 238000012360 testing method Methods 0.000 description 25
- 238000010586 diagram Methods 0.000 description 18
- 238000003860 storage Methods 0.000 description 16
- 238000004891 communication Methods 0.000 description 15
- IQLZWWDXNXZGPK-UHFFFAOYSA-N methylsulfonyloxymethyl methanesulfonate Chemical compound CS(=O)(=O)OCOS(C)(=O)=O IQLZWWDXNXZGPK-UHFFFAOYSA-N 0.000 description 5
- 238000011161 development Methods 0.000 description 4
- 230000018109 developmental process Effects 0.000 description 4
- 230000005611 electricity Effects 0.000 description 4
- 238000012790 confirmation Methods 0.000 description 3
- 238000013500 data storage Methods 0.000 description 3
- 238000009826 distribution Methods 0.000 description 3
- 238000005516 engineering process Methods 0.000 description 3
- 238000005259 measurement Methods 0.000 description 3
- 238000010248 power generation Methods 0.000 description 3
- 238000012937 correction Methods 0.000 description 2
- 238000005401 electroluminescence Methods 0.000 description 2
- 238000005303 weighing Methods 0.000 description 2
- 238000013528 artificial neural network Methods 0.000 description 1
- 238000012508 change request Methods 0.000 description 1
- 238000001514 detection method Methods 0.000 description 1
- 230000007613 environmental effect Effects 0.000 description 1
- 230000010365 information processing Effects 0.000 description 1
- 238000009434 installation Methods 0.000 description 1
- 239000004973 liquid crystal related substance Substances 0.000 description 1
- 238000004519 manufacturing process Methods 0.000 description 1
- 239000000203 mixture Substances 0.000 description 1
- 238000011056 performance test Methods 0.000 description 1
- 230000000737 periodic effect Effects 0.000 description 1
- 238000002360 preparation method Methods 0.000 description 1
- 238000007639 printing Methods 0.000 description 1
- 239000004065 semiconductor Substances 0.000 description 1
- 239000007787 solid Substances 0.000 description 1
- 230000033772 system development Effects 0.000 description 1
Images
Abstract
Description
本発明は、スマートメータ(以下、SMと言う)の動作を模擬可能なシステムシミュレータおよびシミュレーション方法に関する。 The present invention relates to a system simulator and a simulation method capable of simulating the operation of a smart meter (hereinafter referred to as SM).
電力事業は、電力の生産(発電)、輸送(電力流通および配電)および需要家への販売(小売)という3分野から成り立つ。電力は消費されるため、需要家の使用状況に合わせて発電および配電を調整すること(系統運用)が必要である。 The electric power business consists of three fields: electric power production (power generation), transportation (electric power distribution and distribution), and sales to consumers (retail). Since electric power is consumed, it is necessary to adjust power generation and distribution according to the usage situation of consumers (system operation).
近年、双方向の通信機能を備えた電力量計であるSMが需要家に配備されつつある。SMでは、従来の計量システムでは分からない30分単位での電力使用量および自家発電からの逆潮流など細かいデータの把握が可能になる。 In recent years, SM, which is a watt-hour meter having a two-way communication function, is being deployed to consumers. With SM, it is possible to grasp detailed data such as power consumption in 30-minute units and reverse power flow from private power generation, which cannot be understood by conventional weighing systems.
SMについては、様々な機能および技術が考案されている。SMの基本的な機能となる定期的な検針値の収集に関する技術については、特許文献1を始めとして、その他の通信方式など様々な技術が公開されている。
Various functions and techniques have been devised for SM. Regarding the technology related to the periodic collection of meter reading values, which is a basic function of SM, various technologies such as
現在では、SMの普及により、30分値などのメーターデータ情報をヘッドエンドシステム(以下、HESと言う)が収集し、メーターデータ管理システム(以下、MDMSと言う)が管理するという自動検針が行われている。また、電力管内に配備されたSMに対して、MDMSやセンタ設備側から制御電文を送受信することで、電気の入切および契約に応じた設定を遠隔に行うなど業務の高度化を実現している。 Nowadays, with the spread of SM, automatic meter reading is performed in which a headend system (hereinafter referred to as HES) collects meter data information such as 30-minute values and a meter data management system (hereinafter referred to as MDMS) manages it. It has been. In addition, by sending and receiving control telegrams from the MDMS and center equipment side to the SM deployed in the power pipe, it is possible to realize the sophistication of business such as turning on / off electricity and setting according to the contract remotely. There is.
制御電文の送信方法については、特許文献2に開示された技術が挙げられる。特許文献2には、事業者側に設置されたセンタ設備にて、フィールドに設置された端末装置をその通信方式や設置エリアごとなどの単位で分類し、分類した端末装置ごとにセンタ設備から端末装置に対する制御電文送信不可時間帯を定期的に算出して保持することにより、制御電文の送信時間を的確に調整することができる技術が開示されている。
As a method for transmitting a control telegram, the technique disclosed in
また、電文シミュレーションシステムについては、特許文献3に開示された技術が挙げられる。特許文献3には、情報処理装置間における電文授受をシミュレートするシステムであって、入力電文に対する応答電文の作成を効率化できる技術が開示されている。
Further, as for the telegram simulation system, the technology disclosed in
電文の送受信先(接続先)システムを持つシステムの開発およびテストにおいて、一般的に、接続先システム自体も開発中であったり、開発およびテストでの利用が制限される場合があるため、接続先システムの動作を模擬するシミュレータを用いることがある。 In the development and testing of a system that has a telegram transmission / reception destination (connection destination) system, the connection destination system itself may be under development or its use in development and testing may be restricted. A simulator that simulates the operation of the system may be used.
電力事業の分野においては、データ送受信および要求に対し固定された応答を生成するシミュレータが存在する。一方、SMは、30分値データを提供する際、取得期間(開始/終了)の要求に応じてデータを取得可能なデータ保持方式と、データ格納エリアを示すレコード番号の要求に応じてデータを取得可能なデータ保持方式の2種類の方式が存在する。 In the field of electric power business, there are simulators that generate fixed responses to data transmission / reception and requests. On the other hand, when providing 30-minute value data, the SM has a data retention method capable of acquiring data in response to a request for an acquisition period (start / end) and data in response to a request for a record number indicating a data storage area. There are two types of data retention methods that can be acquired.
しかし、これら2種類のデータ保持方式を模擬し、SMごとに異なるデータを生成し、要求に対し、SMの現在値を使用して動的に応答を行うシミュレータは存在しなかった。そのため、システムの開発時やテスト時に投入する電文を手作業で作成するコストの増大および人為的ミスの発生を招いていた。 However, there has been no simulator that simulates these two types of data retention methods, generates different data for each SM, and dynamically responds to a request using the current value of SM. As a result, the cost of manually creating a telegram to be input during system development and testing has increased, and human error has occurred.
本発明は、上記事情に鑑みなされたものであり、その目的は、SMの動作をSMごとに模擬可能なシステムシミュレータおよびシミュレーション方法を提供することにある。 The present invention has been made in view of the above circumstances, and an object of the present invention is to provide a system simulator and a simulation method capable of simulating the operation of SM for each SM.
上記目的を達成するため、第1の観点に係るシステムシミュレータは、スマートメータのデータ保持形式に基づいて、前記スマートメータの動作を前記スマートメータごとに模擬する。 In order to achieve the above object, the system simulator according to the first aspect simulates the operation of the smart meter for each smart meter based on the data holding format of the smart meter.
本発明によれば、SMの動作をSMごとに模擬可能なシステムシミュレータを実現することができる。 According to the present invention, it is possible to realize a system simulator capable of simulating the operation of SM for each SM.
実施形態について、図面を参照して説明する。なお、以下に説明する実施形態は特許請求の範囲に係る発明を限定するものではなく、また、実施形態の中で説明されている諸要素およびその組み合わせの全てが発明の解決手段に必須であるとは限らない。 The embodiment will be described with reference to the drawings. It should be noted that the embodiments described below do not limit the invention according to the claims, and all of the elements and combinations thereof described in the embodiments are essential for the means for solving the invention. Not necessarily.
図1は、実施形態に係るシステムシミュレータの構成を示すブロック図である。なお、以下の実施形態では、SMおよびHESを含むスマートメータ通信システムを模擬するシミュレータを例にとって説明する。 FIG. 1 is a block diagram showing a configuration of a system simulator according to an embodiment. In the following embodiment, a simulator simulating a smart meter communication system including SM and HES will be described as an example.
図1において、システムシミュレータ101は、ネットワーク103を介して、テスト対象システム102と接続されている。テスト対象システム102は、MDMSであってもよいし、事業者側に設置されたセンタ設備であってもよい。センタ設備は、SMと直接通信し、データを収集する。センタ設備は、例えば、サーバである。
In FIG. 1, the
システムシミュレータ101は、SMのデータ保持形式に基づいて、SMの動作をSMごとに模擬し、SMの動作のシミュレーション結果をテスト対象システム102に送信する。このとき、システムシミュレータ101は、SMの2種類のデータ保持方式のそれぞれあるいは両方をSMごとに模擬することができる。また、システムシミュレータ101は、データ保持形式に基づいて更新された複数の日数分の30分値の履歴をSMごとに保持することができる。
The
システムシミュレータ101は、テスト対象システム102のシステム構成によって、システムシミュレータ101が生成する連係電文形式を変動させることができる。この連係電文形式は、例えば、CIM(Common Information Model)形式または計器電文形式である。
The
また、システムシミュレータ101は、データ保持形式に基づいて更新された複数の日数分の30分値の履歴をSMごとに保持することができる。このとき、システムシミュレータ101は、SMの動作のシミュレーション結果の過去の履歴をテスト対象システム102に送信することができる。
Further, the
システムシミュレータ101は、N(Nは正の整数)個の模擬スマートメータ1−1〜1−N、入力部112、出力部113および送受信部114を備える。模擬スマートメータ1−1〜1−Nは、実機SMごとに設けることができる。
The
各模擬スマートメータ1−1〜1−Nは、スマートメータの動作を個別に模擬する。入力部112は、システムシミュレータ101の起動時に前回終了時点でのシミュレーションデータを入力する。出力部113は、システムシミュレータ101の終了時に今回終了時点でのシミュレーションデータを出力する。送受信部114は、各模擬スマートメータ1−1〜1−Nで模擬されたSMごとのシミュレーション結果を定期的または取得要求に応じて、テスト対象システム102に送信する。
Each simulated smart meter 1-1 to 1-N individually simulates the operation of the smart meter. The input unit 112 inputs the simulation data at the time of the previous end when the
模擬スマートメータ1−1は、記憶部115および演算処理部116を備える。記憶部115は、静的情報テーブル117および動的情報テーブル118を記憶する。静的情報テーブル117は、SM単位の静的情報を記憶する。静的情報は、各SMの計器ID、計器種別、負荷パターン、30分値保持方式などの計器諸元情報を含む。動的情報テーブル118は、SM単位の動的情報を保持する。動的情報は、SMの動作を模擬して生成した30分値を含む。動的情報は、静的情報で定義される30分値保持方式に基づいて生成される。 The simulated smart meter 1-1 includes a storage unit 115 and an arithmetic processing unit 116. The storage unit 115 stores the static information table 117 and the dynamic information table 118. The static information table 117 stores static information in SM units. The static information includes instrument specification information such as the instrument ID of each SM, the instrument type, the load pattern, and the 30-minute value holding method. The dynamic information table 118 holds dynamic information in SM units. The dynamic information includes a 30-minute value generated by simulating the operation of SM. The dynamic information is generated based on the 30-minute value holding method defined by the static information.
演算処理部116は、静的情報と動的情報に関連する演算処理を行う。演算処理部116は、時刻制御処理部119、定例検針処理部120、応答制御処理部121および外乱処理部122を備える。
The arithmetic processing unit 116 performs arithmetic processing related to static information and dynamic information. The arithmetic processing unit 116 includes a time control processing unit 119, a regular meter
時刻制御処理部119は、各SMの正時刻(システムシミュレータ101のシステム時刻)との時刻ズレに基づいて、模擬スマートメータ1−1の検針タイミングを制御する。定例検針処理部120は、模擬スマートメータ1−1の検針タイミングの制御結果に基づいて、定例検針時刻(XX:30あるいはXX:00)のタイミングでの検針値の計量に関連する処理を実行する。応答制御処理部121は、随時行われるMDMSまたはセンタ設備からの制御要求の受信を検出し、制御要求に応じた応答のインタフェースを作成し、応答を返却する。外乱処理部122は、外乱を検知し、その外乱に伴うSMの動作を模擬する。模擬スマートメータ1−2〜1−Nも模擬スマートメータ1−1と同様に構成することができる。
The time control processing unit 119 controls the meter reading timing of the simulated smart meter 1-1 based on the time difference from the normal time of each SM (system time of the system simulator 101). The regular meter
図2は、図1の静的情報テーブルの構成例を示す図である。
図2において、静的情報テーブル117は、SMを一意に識別する計器ID201、通信ID202、計器種別203、契約種別204、月に一度実施される電気料金の計算時に使用する検針値の電気使用料金確定タイミングを設定する計量確定日205、契約者の生活パターンに合わせた電気利用パターンを示す負荷パターン206、SMの保持日数・レコード番号などの定義情報を示す30分値保持方式207、正時刻との時刻差分を示す時刻ズレ情報208、システムシミュレータ101が生成する電文形式を定義する連係電文形式209などの情報を保持する。なお、負荷パターン206は、電力使用量の変動に関するロードカーブを用いることができる。負荷パターン206は、SMごとに異なっていてもよい。
FIG. 2 is a diagram showing a configuration example of the static information table of FIG.
In FIG. 2, the static information table 117 shows the instrument ID 201, the communication ID 202, the instrument type 203, the
図2では、計器ID201を「計器01」、通信ID202を「通信01」、計器種別203を「種別01」、契約種別204を「通常契約」、計量確定日205を「18日」、負荷パターン206を「PA」、30分値保持方式207を「P1」、時刻ズレ情報208を「−00:01:00」、連係電文形式209を「CIM形式」と設定した例を示した。
In FIG. 2, the instrument ID 201 is “
図3(a)および図3(b)は、図2の静的情報テーブルに登録される負荷パターン例を示す図である。
図3(a)において、例えば、契約者Aに対しては、図3(a)の負荷パターンPAが図2の静的情報テーブル117に設定される。また、図3(b)に示すように、契約者Bに対しては、図3(b)の負荷パターンPBが静的情報テーブルに設定される。
3A and 3B are diagrams showing an example of a load pattern registered in the static information table of FIG.
In FIG. 3A, for example, for the contractor A, the load pattern PA of FIG. 3A is set in the static information table 117 of FIG. Further, as shown in FIG. 3B, the load pattern PB of FIG. 3B is set in the static information table for the contractor B.
ここで、模擬スマートメータ1−1は、契約者AのSMの動作を模擬し、模擬スマートメータ1−2は、契約者BのSMの動作を模擬するものとする。このとき、模擬スマートメータ1−1は、図3(a)の負荷パターンPAに基づいて、複数の日数分の30分値を模擬し、模擬スマートメータ1−2は、図3(b)の負荷パターンPBに基づいて、複数の日数分の30分値を模擬することができ、各契約者A、Bの電力使用量に応じてSMの動作を模擬することができる。 Here, it is assumed that the simulated smart meter 1-1 simulates the operation of the SM of the contractor A, and the simulated smart meter 1-2 simulates the operation of the SM of the contractor B. At this time, the simulated smart meter 1-1 simulates a 30-minute value for a plurality of days based on the load pattern PA of FIG. 3 (a), and the simulated smart meter 1-2 of FIG. 3 (b). Based on the load pattern PB, 30-minute values for a plurality of days can be simulated, and the operation of SM can be simulated according to the power consumption of each contractor A and B.
なお、図2の静的情報テーブル117の30分値保持方式207は、実機SMと同様の2つのデータ保持方式P1、P2を選択して定義することが可能である。
The 30-minute
図4は、データ保持方式P1に基づく動的情報テーブルの更新例を示す図である。
図4において、図2の静的情報テーブル117の30分値保持方式207としてデータ保持方式P1が設定されている場合、動的情報テーブル118として動的情報テーブル118Aを保持する。動的情報テーブル118Aは、複数日数分のレコード番号301、時限値302および30分値303を保持する。
FIG. 4 is a diagram showing an example of updating the dynamic information table based on the data holding method P1.
In FIG. 4, when the data holding method P1 is set as the 30-minute
そして、定例検針処理部120は、SM単位で検針タイミング時に動的情報テーブル118Aの30分値303を更新する。このとき、定例検針処理部120は、30分値303の単時限分を1レコードに記憶し、30分値303を生成する都度、レコード番号301をインクリメントし、新たなレコードを動的情報テーブル118Aに追加する。
Then, the regular meter
図4では、30分値保持日数を「45日」、1レコードあたりの時限数を「1」、最新レコード番号を「変動」、最古レコード番号を「変動」と設定した例を示した。すなわち、1時限ごとにレコード番号を加算し、その都度、最新レコード番号と最古レコード番号を更新する。 FIG. 4 shows an example in which the number of 30-minute value retention days is set to "45 days", the time limit per record is set to "1", the latest record number is set to "variable", and the oldest record number is set to "variable". That is, the record number is added for each period, and the latest record number and the oldest record number are updated each time.
例えば、検針直前の18年10月10日00:29の最新レコード番号が02160、最古レコード番号が00001であるとする。そして、定例検針処理部120は、検針直後の18年10月10日00:30において、新たレコードを動的情報テーブル118Aに追加し、最新レコード番号を02161、最古レコード番号を00002に更新するとともに、最新レコード番号が02161のレコードに時限値302および30分値303を記録する。
For example, assume that the latest record number is 02160 and the oldest record number is 000001 at 00:29 on October 10, 2018, immediately before meter reading. Then, the regular meter
図5は、データ保持方式P2に基づく動的情報テーブルの更新例を示す図である。 FIG. 5 is a diagram showing an example of updating the dynamic information table based on the data holding method P2.
図5において、図2の静的情報テーブル117の30分値保持方式207としてデータ保持方式P2が設定されている場合、動的情報テーブル118として動的情報テーブル118Bを保持する。動的情報テーブル118Bは、複数日数分のレコード番号401、時限値402、30分値エリア1E403、30分値エリア2E404、30分値エリア3E405および30分値エリア4E406を保持する。
In FIG. 5, when the data holding method P2 is set as the 30-minute
そして、定例検針処理部120は、SM単位で検針タイミング時に動的情報テーブル118Bの30分値エリア1E403、30分値エリア2E404、30分値エリア3E405および30分値エリア4E406を順次更新する。ここで、定例検針処理部120は、30分値の複数時限分を1レコードに記憶し、複数時限分の30分値を単位として複数レコード分をリング状で保持する。このとき、定例検針処理部120は、最古レコード番号と最新レコードを常に固定し、複数レコード分の30分値が全て埋まったときに最新レコードを生成し、最古レコードを消滅させる。
Then, the regular meter
図5では、30分値保持日数を「45日」、1レコードあたりの時限数を「4」、最新レコード番号を「固定(540)」、最古レコード番号を「固定(001)」と設定した例を示した。すなわち、1レコードの全4エリアに格納された4時限ごとにレコード番号を変換し、その都度、最新レコード番号と最古レコード番号を固定して保持する。 In FIG. 5, the number of 30-minute value retention days is set to "45 days", the time limit per record is set to "4", the latest record number is set to "fixed (540)", and the oldest record number is set to "fixed (001)". An example was shown. That is, the record number is converted every four time periods stored in all four areas of one record, and the latest record number and the oldest record number are fixed and held each time.
例えば、検針直前の18年10月10日00:29の最新レコード番号が540のレコードにおいて、30分値エリア1E403が2257、30分値エリア2E404が2258、30分値エリア3E405が2259、30分値エリア4E406が2260であるものとする。そして、定例検針処理部120は、検針直後の18年10月10日00:30において、検針直前のレコード番号が001の30分値を消滅させ、検針直前のレコード番号が540〜002の30分値をレコード番号が539〜001のレコードにシフトし、レコード番号が540のレコードの30分値エリア1E403を2261に設定する。このとき、レコード番号が540のレコードの30分値エリア2E404、30分値エリア3E405および30分値エリア4E406は空に設定する。
For example, in the record whose latest record number is 540 at 00:29 on October 10, 2018 immediately before meter reading, the 30-minute value area 1E403 is 2257, the 30-minute value area 2E404 is 2258, and the 30-minute value area 3E405 is 2259, 30 minutes. It is assumed that the value area 4E406 is 2260. Then, the regular meter
なお、図4および図5の30分値には、複数項目が格納される。30分値の項目の一例としては、需要家がそれぞれ使用する電力である順潮流の電力量および分散電源がそれぞれ発電する電力である逆潮流の電力量である。 A plurality of items are stored in the 30-minute values of FIGS. 4 and 5. As an example of the item of the 30-minute value, it is the electric energy of the forward power flow which is the electric power used by each consumer and the electric energy of the reverse power flow which is the electric power generated by the distributed power source.
また、実機SMでは、テスト対象システム102と時刻がずれる現象が存在する。そのため、MDMSまたはセンタ設備から時刻補正制御を実施することにより時刻ズレを制御しながら30分値を保持している。図2の静的情報テーブル117は、SM単位に正時刻との時刻ズレ情報208を保持し、図1のシステムシミュレータ101は、この時刻ズレ情報208に基づいて時刻ズレを制御した30分値を模擬することができる。
Further, in the actual SM, there is a phenomenon that the time deviates from the test target system 102. Therefore, the 30-minute value is maintained while controlling the time deviation by performing time correction control from MDMS or center equipment. The static information table 117 of FIG. 2 holds the
さらに、実機SMでは、現地作業によるデマンド復帰または時刻補正により30分値データ保持形式のデータ格納内容が変動する。このようなデータ格納内容の変動も模擬できるようにするため、図1の外乱処理部122は、このような外乱を検出し、模擬することができる。 Further, in the actual machine SM, the data storage content in the 30-minute data retention format changes due to demand return or time correction by on-site work. In order to be able to simulate such fluctuations in the data storage contents, the disturbance processing unit 122 of FIG. 1 can detect and simulate such disturbances.
図6は、データ保持方式P2に基づく外乱処理時の動的情報テーブルの更新例を示す図である。
図6において、外乱発生前は、最新レコード番号が540のレコードの30分値エリア1E403が2257、30分値エリア2E404が2258、30分値エリア3E405および30分値エリア4E406が空であるものとする。
FIG. 6 is a diagram showing an example of updating the dynamic information table at the time of disturbance processing based on the data holding method P2.
In FIG. 6, it is assumed that the 30-minute value area 1E403 is 2257, the 30-minute value area 2E404 is 2258, the 30-minute value area 3E405 and the 30-minute value area 4E406 are empty before the occurrence of the disturbance. To do.
そして、図1の外乱処理部122は、現地作業による(23:20)の検針値として2258.5を検出すると、検出直前のレコード番号が540の30分値をレコード番号が539のレコードにシフトし、レコード番号が539のレコードの30分値エリア3E405を2258.5に設定する。さらに、外乱処理部122は、レコード番号が539のレコードの30分値エリア4E406、レコード番号が540のレコードの30分値エリア1E403およびレコード番号が540のレコードの30分値エリア2E404に外乱発生マークDを記入する。
Then, when the disturbance processing unit 122 of FIG. 1 detects 2258.5 as the meter reading value at (23:20) by the field work, the 30-minute value of the record number of 540 immediately before the detection is shifted to the record of the record number of 539. Then, the 30-minute value area 3E405 of the record whose record number is 539 is set to 2258.5. Further, the disturbance processing unit 122 marks the occurrence of a disturbance in the 30-minute value area 4E406 of the record having the
そして、定例検針処理部120は、検針タイミング時において、レコード番号が540のレコードの30分値エリア3E405を、(23:30)の検針値として2259に設定する。
Then, the regular meter
図7(a)は、定例通知型電文送信シーケンスを示す図、図7(b)は、遠隔制御型電文送信シーケンスを示す図である。
図7(a)において、図1の定例検針処理部120は、定例検針時刻のタイミングでの検針値の計量に関連する処理を実行すると、送受信部114は、テスト対象システム102に定例通知電文を送信する(601)。定例通知電文は、例えば、30分値情報および定例確定値情報などを含むことができる。定例確定値情報は、計量確定日の0時時点の30分値情報である。
FIG. 7A is a diagram showing a regular notification type telegram transmission sequence, and FIG. 7B is a diagram showing a remote control type telegram transmission sequence.
In FIG. 7A, when the regular meter
図7(b)において、図1の応答制御処理部121は、テスト対象システム102から送信された制御要求電文を受け取ると(602)、その制御要求電文の要求内容をインタフェースごとに判別し解釈した上で、制御応答電文を作成する。制御要求電文は、例えば、最新30分値取得要求、確定値取得要求および確定日変更要求などを含むことができる。 In FIG. 7B, when the response control processing unit 121 of FIG. 1 receives the control request message transmitted from the test target system 102 (602), the request content of the control request message is discriminated and interpreted for each interface. Above, create a control response message. The control request message can include, for example, the latest 30-minute value acquisition request, the fixed value acquisition request, the fixed date change request, and the like.
そして、応答制御処理部121は、送受信部114を介し、制御応答電文をテスト対象システム102に送信する(603)。制御応答電文は、例えば、最新30分値取得応答、確定値取得応答および確定日変更応答などを含むことができる。なお、システムシミュレータ101のシミュレーション方式では、制御要求電文と制御応答電文の紐付けに利用するIDが含まれる場合、制御要求電文のIDを制御応答電文へ転写する。
Then, the response control processing unit 121 transmits the control response telegram to the test target system 102 via the transmission / reception unit 114 (603). The control response message can include, for example, the latest 30-minute value acquisition response, the confirmed value acquisition response, the confirmed date change response, and the like. In the simulation method of the
図8は、図1のシステムシミュレータの動作を示すフローチャートである。
図8において、システムシミュレータ101のシミュレーション方式に対応する各種動作は、プロセッサが実行するシミュレーションプログラムによって実現される。このシミュレーションプログラムは、以下の各種動作を行うためのコードから構成することができる。
FIG. 8 is a flowchart showing the operation of the system simulator of FIG.
In FIG. 8, various operations corresponding to the simulation method of the
システムシミュレータ101の起動後、システムシミュレータ101は、入力部112からシステムシミュレータ101の前回終了時点のデータを取得し、静的情報テーブル117と動的情報テーブル118に展開する(S1)。
After starting the
次に、時刻制御処理119は、SMごとに正時刻からの時刻ズレを考慮しながら定例検針時刻タイミングかどうかを判定する(S2)。定例検針タイミング(XX:30あるいはXX:00)である場合、定例検針処理部120は、定例検針処理を実行し(S3)、動的情報テーブル118を更新し、定例通知電文を作成し、テスト対象システム102へ送信する。一方、定例検針タイミングでない場合、S4の処理に進む。
Next, the time control process 119 determines whether or not it is the regular meter reading time timing for each SM while considering the time deviation from the normal time (S2). When the regular meter reading timing (XX: 30 or XX: 00) is reached, the regular meter
次に、応答制御処理部121は、テスト対象システム102からの制御要求電文を受信したかどうかを判定する(S4)。制御要求電文の受信がない場合、S2の処理に戻る。一方、制御要求電文の受信を検出した場合、応答制御処理部121は、シミュレータ終了制御要求であるかを判定する(S5)。シミュレータ終了制御要求電文ではない場合、制御要求電文のインタフェースを判定し(S6)、各制御要求電文のインタフェースに応じた制御応答処理を実行し(S7)、制御応答電文を作成し、テスト対象システム102へ送信し、S2の処理に戻る。 Next, the response control processing unit 121 determines whether or not the control request message from the test target system 102 has been received (S4). If the control request message is not received, the process returns to S2. On the other hand, when the reception of the control request message is detected, the response control processing unit 121 determines whether the request is a simulator end control request (S5). If it is not a simulator end control request message, the interface of the control request message is determined (S6), control response processing is executed according to the interface of each control request message (S7), a control response message is created, and the system to be tested. It is transmitted to 102 and returns to the processing of S2.
一方、シミュレータ終了制御要求電文である場合、現時点での静的情報テーブル117と動的情報テーブル118に展開されているデータを出力部113から出力し(S8)、シミュレーション処理を終了する。 On the other hand, in the case of the simulator end control request message, the data expanded in the static information table 117 and the dynamic information table 118 at the present time is output from the output unit 113 (S8), and the simulation process is terminated.
なお、S2からS7までの一連の処理は、S8の処理が実行されない限り、スケジューラにて周期実行される。 The series of processes from S2 to S7 is periodically executed by the scheduler unless the process of S8 is executed.
図1のシステムシミュレータ101の再起動時について、システムシミュレータ101が前回終了時に出力した静的情報テーブル117および動的情報テーブル118の保持データを取得し、システムシミュレータ101に展開する。このとき、システムシミュレータ101の前回終了時刻から今回起動時刻までに、定例時刻タイミング(XX:30あるいはXX:00)を跨ぐ時刻差があった場合、システムシミュレータ101は、その不稼働時間帯についての30分値データを含む動的情報を補完する。これにより、システムシミュレータ101が停止していた時のデータの更新状態を隠蔽化し、データの一貫性を常に保つことができ、テスト環境への影響を排除することが可能となる。
When the
以上説明したように、上述した実施形態によれば、実機SMの30分値データ保持方式を実機SMごとに模擬し、連係するHES−MDMSまたはセンタ設備と電文の送受信を実現することが可能となる。このため、テスト対象システム102の開発時またはテスト時のコスト削減および人為的ミスの防止を実現できる。また、外乱が発生したSMの挙動に対するテスト対象システム102の動作確認が可能となるため、テスト対象システム102のテストの高度化を実現できる。 As described above, according to the above-described embodiment, it is possible to simulate the 30-minute data retention method of the actual SM for each actual SM and realize the transmission / reception of telegrams with the linked HES-MDMS or center equipment. Become. Therefore, it is possible to reduce costs during development or testing of the system to be tested 102 and prevent human error. Further, since the operation of the test target system 102 can be confirmed with respect to the behavior of the SM in which the disturbance has occurred, it is possible to realize the sophistication of the test of the test target system 102.
さらに、システムシミュレータ101は、SMの動作についての一貫性を有するデータを生成し保持することができる。このため、テスト対象システム102のテストにおいて、実機SMを用いた時の実データと同様の一貫性を有するシミュレーションデータを用いることができ、テスト実施者によるテスト対象システム102の仕様の認識誤りを防止し、テスト対象システム102の品質を向上させることができる。
In addition, the
さらに、システムシミュレータ101は、模擬スマートメータ1−1〜1−NごとにSMの動作についての一貫性を有するデータを模擬することができる。このため、テスト対象システム102の性能テストにおいて、システムシミュレータ101は、大量の実機SMを代用することができ、環境準備コストを低減することが可能となる。
Further, the
図9は、図1のシステムシミュレータのハードウェア構成例を示すブロック図である。
図9において、システムシミュレータ101は、プロセッサ11、通信制御デバイス12、通信インタフェース13、主記憶デバイス14および外部記憶デバイス15を備える。プロセッサ11、通信制御デバイス12、通信インタフェース13、主記憶デバイス14および外部記憶デバイス15は、内部バス16を介して相互に接続されている。主記憶デバイス14および外部記憶デバイス15は、プロセッサ11からアクセス可能である。
FIG. 9 is a block diagram showing a hardware configuration example of the system simulator of FIG.
In FIG. 9, the
また、システムシミュレータ101の外部には、入力装置20および出力装置21が設けられている。入力装置20および出力装置21は、入出力インタフェース17を介して内部バス16に接続されている。入力装置20は、例えば、キーボード、マウス、タッチパネル、カードリーダ、音声入力装置等である。出力装置21は、例えば、画面表示装置(液晶モニタ、有機EL(Electro Luminescence)ディスプレイ、グラフィックカード等)、音声出力装置(スピーカ等)、印字装置等である。
Further, an
プロセッサ11は、システムシミュレータ101全体の動作制御を司るハードウェアである。プロセッサ11は、CPU(Central Processing Unit)であってもよいし、GPU(Graphics Processing Unit)であってもよい。プロセッサ11は、シングルコアロセッサであってもよいし、マルチコアロセッサであってもよい。プロセッサ11は、処理の一部または全部を行うハードウェア回路(例えば、FPGA(Field−Programmable Gate Array)またはASIC(Application Specific Integrated Circuit))を備えていてもよい。プロセッサ11は、ニューラルネットワークを備えていてもよい。
The
主記憶デバイス14は、例えば、SRAMまたはDRAMなどの半導体メモリから構成することができる。主記憶デバイス14には、プロセッサ11が実行中のプログラムを格納したり、プロセッサ11がプログラムを実行するためのワークエリアを設けたりすることができる。
The main storage device 14 can be composed of, for example, a semiconductor memory such as SRAM or DRAM. The main storage device 14 can store a program being executed by the
外部記憶デバイス15は、大容量の記憶容量を備える記憶デバイスであり、例えば、ハードディスク装置またはSSD(Solid State Drive)である。外部記憶デバイス15は、各種プログラムの実行ファイルやプログラムの実行に用いられるデータを保持することができる。外部記憶デバイス15には、シミュレーションプログラム15A、静的情報15Bおよび動的情報15Cを格納することができる。静的情報15Bは、各SMの計器ID、計器種別、負荷パターン、30分値保持方式などの計器諸元情報を含む。動的情報15Cは、SMの動作を模擬して生成した30分値を含む。シミュレーションプログラム15Aは、システムシミュレータ101にインストール可能なソフトウェアであってもよいし、システムシミュレータ101にファームウェアとして組み込まれていてもよい。
The
通信制御デバイス12は、外部との通信を制御する機能を備えるハードウェアである。通信制御デバイス12は、通信インタフェース13を介してネットワーク19に接続される。ネットワーク19は、インターネットなどのWAN(Wide Area Network)であってもよいし、WiFiまたはイーサネット(登録商標)などのLAN(Local Area Network)であってもよいし、WANとLANが混在していてもよい。
The communication control device 12 is hardware having a function of controlling communication with the outside. The communication control device 12 is connected to the
入出力インタフェース17は、入力装置20から入力されるデータをプロセッサ11が処理可能なデータ形式に変換したり、プロセッサ11から出力されるデータを出力装置21が処理可能なデータ形式に変換したりする。
The input /
プロセッサ11がシミュレーションプログラム15Aを主記憶デバイス14に読み出し、シミュレーションプログラム15Aを実行することにより、SMのデータ保持形式に基づいて、SMの動作をSMごとに模擬することができる。このとき、プロセッサ11がシミュレーションプログラム15Aを実行することにより、図1の時刻制御処理部119、定例検針処理部120、応答制御処理部121および外乱処理部122の機能を実現することができる。
When the
なお、シミュレーションプログラム15Aの実行は、複数のプロセッサやコンピュータに分担させてもよい。あるいは、プロセッサ11は、ネットワーク19を介してクラウドコンピュータなどにシミュレーションプログラム15Aの全部または一部の実行を指示し、その実行結果を受け取るようにしてもよい。
The execution of the
101 システムシミュレータ、102 テスト対象システム、103 ネットワーク、
1−1〜1−N 模擬スマートメータ、112 入力部、113 出力部、114 送受信部、115 記憶部、116 演算処理部、117 静的情報テーブル、118 動的情報テーブル、119 時刻制御処理部、120 定例検針処理部、121 応答制御処理部、122 外乱処理部
101 system simulator, 102 test target system, 103 network,
1-11-1-N Simulated smart meter, 112 input unit, 113 output unit, 114 transmitter / receiver unit, 115 storage unit, 116 arithmetic processing unit, 117 static information table, 118 dynamic information table, 119 time control processing unit, 120 Regular meter reading processing unit, 121 Response control processing unit, 122 Disturbance processing unit
Claims (15)
前記スマートメータの動作を模擬して生成した30分値を含む動的情報を保持する請求項1に記載のシステムシミュレータ。 Static information including instrument specification information of the smart meter and
The system simulator according to claim 1, which holds dynamic information including a 30-minute value generated by simulating the operation of the smart meter.
前記静的情報および前記動的情報に基づいて制御応答電文を作成し送信する請求項5に記載のシステムシミュレータ。 Detects the reception of the control request message and
The system simulator according to claim 5, wherein a control response message is created and transmitted based on the static information and the dynamic information.
前記30分値を含む電文内容を前記連係電文形式に連動させる請求項5に記載のシステムシミュレータ。 The static information includes a linked telegram format.
The system simulator according to claim 5, wherein the telegram content including the 30-minute value is linked to the linked telegram format.
前記負荷パターンに基づいて前記30分値を模擬する請求項5に記載のシステムシミュレータ。 The static information includes a load pattern set for each smart meter.
The system simulator according to claim 5, which simulates the 30-minute value based on the load pattern.
前記30分値を更新する都度、レコード番号をインクリメントした新たなレコードを前記動的情報に追加する請求項5に記載のシステムシミュレータ。 One time period of 30 minutes value for multiple days is stored in one record,
The system simulator according to claim 5, wherein a new record whose record number is incremented is added to the dynamic information each time the 30-minute value is updated.
前記1レコードの複数時限分を単位として複数レコード分を前記動的情報にリング状に保持し、
前記複数レコード分の最古のレコード番号と最新のレコード番号を固定し、
前記複数レコード分の30分値が全て埋まったときに最新のレコードを生成し、最古のレコードを消滅させる請求項5に記載のシステムシミュレータ。 Stores multiple time periods of 30-minute values for multiple days in one record,
Multiple records are held in the dynamic information in a ring shape in units of a plurality of time periods of the one record.
The oldest record number and the latest record number for the multiple records are fixed,
The system simulator according to claim 5, wherein the latest record is generated when all the 30-minute values for the plurality of records are filled, and the oldest record is deleted.
前回終了時の30分値を含む動的情報を入力する入力部と、
今回終了時の30分値を含む動的情報を出力する出力部と、
前記スマートメータのシミュレーション結果を定期的または取得要求に応じて送信する送受信部とを備える請求項1に記載のシステムシミュレータ。 N (N is a positive integer) simulated smart meters that simulate the operation of the smart meter for each smart meter,
Input section for inputting dynamic information including the 30-minute value at the end of the previous time,
An output unit that outputs dynamic information including the 30-minute value at the end of this time,
The system simulator according to claim 1, further comprising a transmission / reception unit that transmits a simulation result of the smart meter periodically or in response to an acquisition request.
A simulation method that simulates the operation of the smart meter for each smart meter based on the data retention format of the smart meter.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2019042332A JP7211855B2 (en) | 2019-03-08 | 2019-03-08 | System simulator and simulation method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2019042332A JP7211855B2 (en) | 2019-03-08 | 2019-03-08 | System simulator and simulation method |
Publications (2)
Publication Number | Publication Date |
---|---|
JP2020144745A true JP2020144745A (en) | 2020-09-10 |
JP7211855B2 JP7211855B2 (en) | 2023-01-24 |
Family
ID=72354302
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2019042332A Active JP7211855B2 (en) | 2019-03-08 | 2019-03-08 | System simulator and simulation method |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP7211855B2 (en) |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPS63184843A (en) * | 1987-01-28 | 1988-07-30 | Hitachi Ltd | Telecommunication simulator |
JP2010282494A (en) * | 2009-06-05 | 2010-12-16 | Chugoku Electric Power Co Inc:The | Used amount management system and use amount management method |
JP2015104128A (en) * | 2013-11-25 | 2015-06-04 | 財團法人資訊工業策進會 | Advanced metering infrastructure site investigation system |
US20150161020A1 (en) * | 2013-12-08 | 2015-06-11 | Google Inc. | Methods and systems for generating virtual smart-meter data |
-
2019
- 2019-03-08 JP JP2019042332A patent/JP7211855B2/en active Active
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPS63184843A (en) * | 1987-01-28 | 1988-07-30 | Hitachi Ltd | Telecommunication simulator |
JP2010282494A (en) * | 2009-06-05 | 2010-12-16 | Chugoku Electric Power Co Inc:The | Used amount management system and use amount management method |
JP2015104128A (en) * | 2013-11-25 | 2015-06-04 | 財團法人資訊工業策進會 | Advanced metering infrastructure site investigation system |
US20150161020A1 (en) * | 2013-12-08 | 2015-06-11 | Google Inc. | Methods and systems for generating virtual smart-meter data |
Also Published As
Publication number | Publication date |
---|---|
JP7211855B2 (en) | 2023-01-24 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
RU2698422C1 (en) | Intelligent communication device or device for collecting and evaluating information on equipment distributed over large territory, for example over large industrial enterprise or oil deposit | |
CN108153670A (en) | A kind of interface test method, device and electronic equipment | |
CN107295064B (en) | Web-based configuration type remote monitoring method, electronic equipment and storage medium | |
EP3210032A1 (en) | Grid topology mapping with voltage data | |
EP3133538A1 (en) | Workflow management apparatus, workflow management method, and workflow management program | |
CN109901985B (en) | Distributed test apparatus and method, storage medium, and electronic device | |
CN106155806A (en) | A kind of multi-task scheduling method and server | |
US11669374B2 (en) | Using machine-learning methods to facilitate experimental evaluation of modifications to a computational environment within a distributed system | |
US9383223B2 (en) | Smart meter system architecture | |
JP5632553B1 (en) | Display data generating apparatus and program | |
CN113535567B (en) | Software testing method, device, equipment and medium | |
CN114168471A (en) | Test method, test device, electronic equipment and storage medium | |
CN111088998B (en) | Coal mine central station monitoring system testing method and device and substation simulation system | |
JP7211855B2 (en) | System simulator and simulation method | |
US10509379B2 (en) | Operation support apparatus, system, and method for reduction in number of operation mistakes of an operator actually performing operations in a facility of a plant | |
US11777810B2 (en) | Status sharing in a resilience framework | |
CN114337857A (en) | Method, device, system and storage medium for testing receiving sensitivity | |
EP3014562A1 (en) | Simulating sensors | |
CN114490272A (en) | Data processing method and device, electronic equipment and computer readable storage medium | |
CN110213106B (en) | Equipment information management method, device and system and electronic equipment | |
US11711179B2 (en) | Testing networked system using abnormal node failure | |
US20240012961A1 (en) | Cloud-based electrical grid component validation | |
CN110221869B (en) | Method and device for configuring data center operating environment | |
CN112858993B (en) | Double-core electric energy meter test system | |
JP6907704B2 (en) | Display processing device, display processing method and display processing program |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20220207 |
|
A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20221130 |
|
TRDD | Decision of grant or rejection written | ||
A01 | Written decision to grant a patent or to grant a registration (utility model) |
Free format text: JAPANESE INTERMEDIATE CODE: A01 Effective date: 20221220 |
|
A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20230112 |
|
R150 | Certificate of patent or registration of utility model |
Ref document number: 7211855 Country of ref document: JP Free format text: JAPANESE INTERMEDIATE CODE: R150 |