An automatic payment and collection recording method for tank farm operations
By automating the monitoring of tank parameters and sideline information, and identifying the status of moving and stationary tanks, automated payment and receipt records for tank farm operations have been achieved. This solves the problems of low efficiency and high manual intervention in traditional methods, and improves the accuracy and efficiency of tank management.
Patent Information
- Application Number
- CN202111460914.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-11-30
- Publication Date
- 2025-11-14
- Estimated Expiration
- 2041-11-30
AI Technical Summary
In traditional tank farm management systems, the receipt and payment operations for storage tanks are inefficient, involve a high degree of manual intervention, cannot record changes in tank storage information in a timely manner, and system delays or omissions often occur.
An automated payment and receipt recording method for tank farm operations is adopted. By monitoring changes in tank parameters and sideline information, the status of moving and stationary tanks is automatically identified, and pump start-up parameters, pump stop-up parameters, and payment and receipt paths are recorded. The automated recording is achieved by using a data acquisition module, a moving and stationary tank identification module, a model module, and a tank quantity calculation module.
It enables automated recording of tank farm operations, reduces operational errors, improves operational efficiency, and promptly identifies tank receipts and payments, making it suitable for complex enterprise production processes.
Smart Images

Figure CN114154956B_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of industrial automation process management technology, specifically to an automatic payment and receipt recording method for tank farm operations. Background Technology
[0002] In the fluid industry, storage tanks are generally arranged in a centralized manner according to their purpose or pressure level, and the area where these storage tanks are concentrated is called a tank farm.
[0003] In traditional tank farm management systems, operators perform tank receipt and payment operations according to instructions, manually recording information such as tank pump start / stop time, number of tanks started / stopped, receipt / payment facilities, and receipt / payment type. However, this method has the following problems:
[0004] 1. Because payment instructions cannot be issued to operators in a timely manner, operators perform payment operations on the storage tank immediately after receiving the instructions, resulting in delays or omissions in the payment records on the system.
[0005] 2. The existing system's tank receipt and payment records are complex, requiring steps such as establishing payment paths, confirming pump start-up times, pump start-up gauging, pump stop-up times, and pump stop-gauging. To meet metering requirements, long payment and payment cycles also need to be segmented by shift or day. With a large number of tanks and numerous payments, the efficiency of payment and payment records is low, requiring dedicated personnel.
[0006] Tank farm operations are complex, and the payment and receipt processes often require a significant amount of manual labor for data verification, which cannot promptly reflect changes in tank inventory information and payment and receipt data.
[0007] Traditional tank farm management systems require a high degree of manual intervention in payment and receipt processes, and demand a high level of expertise from operators. There is no method for automatically generating tank payment and receipt records. Summary of the Invention
[0008] To overcome the shortcomings of the above-mentioned technologies, this invention provides an automated payment and receipt recording method for tank farm operations. This method maximizes the automation of key payment and receipt operations in tank farms, significantly improving tank farm management efficiency.
[0009] The technical solution adopted by this invention to overcome its technical problems is: an automatic payment and receipt recording method for tank farm operations, comprising: determining the tank usage status based on changes in tank parameters and sideline information within a preset time; if the tank usage status is a moving tank, recording the set of moving tanks, and recording the parameters and sideline information of the first moving tank in the set, thereby obtaining and recording the pump start-up parameters; determining the payment and receipt status of the first moving tank based on the sideline information of the first moving tank, and determining the payment and receipt path of the first moving tank by searching the payment and receipt path library, thereby determining the target facility and recording the target facility parameters; obtaining and recording the pump stop-up parameters based on the sideline information of the first moving tank and the target facility; obtaining and recording the payment and receipt amounts based on the pump start-up parameters and the pump stop-up parameters.
[0010] Furthermore, the determination of the tank usage status based on the tank volume change and side line information within a preset time period specifically includes: monitoring the status of the tank entry and exit side line switch; if the side line switch is in the open state and the tank parameter change within the preset time period exceeds a preset threshold, then the tank is a moving tank; otherwise, it is a stationary tank.
[0011] A moving tank refers to a storage tank where storage operations are conducted and the contents of the tank change. The time when a stationary tank becomes a moving tank, and the time when the state changes, is the start time for receiving and paying for the moving tank. The time when a moving tank becomes a stationary tank is the end time for receiving and paying for the moving tank.
[0012] Furthermore, determining the receiving / paying status of the first moving tank based on the side line information of the first moving tank specifically includes: if the flow rate of the corresponding side line of the first moving tank changes and the inlet valve of the side line is opened, then the first moving tank is in the receiving state; if the flow rate of the corresponding side line of the first moving tank changes and the outlet valve of the side line is opened, then the first moving tank is in the paying state.
[0013] Furthermore, the step of determining the payment path of the first moving tank by searching the payment path library specifically includes: based on the tank number and payment direction of the first moving tank, traversing the payment path library; if the payment path library includes a payment path corresponding to the tank number and payment direction of the first moving tank, and the materials in the path of both the payment and receipt parties are consistent, then the path is taken as a valid payment path for the first moving tank; if the payment path library does not include a payment path corresponding to the tank number and payment direction of the first moving tank, then a new payment path is added to the payment path library, and the new payment path is taken as a valid payment path for the first moving tank.
[0014] Furthermore, the payment and receipt path library is a topological network data model of material movement in storage tanks, which includes at least fixed payment and receipt paths of process routes or historical payment and receipt paths and temporary payment and receipt paths established by manually selecting payment and receipt facilities and nodes.
[0015] The process route is the connection line between facilities in the system and is a major component of the payment and receipt path library.
[0016] Furthermore, the step of obtaining and recording the pump stop parameters based on the sideline information of the first moving tank and the target facility specifically includes: repeatedly monitoring whether the first moving tank has been delivered based on a preset statistical period; if the first moving tank has not been delivered within the preset statistical period, then the cutting parameters are recorded according to the preset statistical period; if the usage status of the first moving tank changes to a stationary tank, then the pump stop time is recorded, and the number of tanks stopped is calculated based on the collected tank parameters, thereby obtaining the number of tanks delivered.
[0017] Furthermore, it also includes payment and receipt data that are manually confirmed.
[0018] Furthermore, the payment and receipt records include at least the parameters of the first moving tank, the parameters of the target facility, the parameters of starting the pump, the parameters of stopping the pump, and the parameters of cutting.
[0019] Furthermore, the first moving tank parameters include at least the first moving tank identifier, the material stored in the first moving tank, the name of the first moving tank, and the first moving tank side line; the target facility parameters include at least the target facility identifier, the target facility type, the target facility material, the receipt / payment type, and the target facility side line; the pump start parameters include at least the pump start time and the number of tanks pumped; the pump stop parameters include at least the pump stop time and the number of tanks pumped; the side line information includes at least the side line valve status and the side line flow rate; and the cutting parameters include at least the cutting time and the number of tanks cut.
[0020] This invention also proposes an automatic payment and receipt recording system for tank farm operations, comprising at least a data acquisition module, a dynamic / static tank identification module, a model module, and a tank quantity calculation module. The data acquisition module is used to collect tank parameters and sideline information in real time, serving as input to the dynamic / static tank identification module and the tank quantity calculation module. The dynamic / static tank identification module is used to identify the tank usage status based on the collected tank parameters and sideline information. The model module is used to store historical payment and receipt paths and process model parameters for tank farm operations, and to find payment and receipt paths when the tank usage status is dynamic. The tank quantity calculation module is used to calculate the corresponding tank quantity based on the collected tank parameters and sideline information. The recording module is used to record the payment and receipt records for dynamic tanks.
[0021] The beneficial effects of this invention are:
[0022] 1. It can automatically record receipt and payment data. This not only reduces operational errors but also provides convenience and speed, reducing operation time and improving business operational efficiency.
[0023] 2. Through calculation models such as dynamic and static tank identification, payment path identification, tank quantity calculation, and payment data segmentation, the system can promptly identify tank payment actions.
[0024] 3. It fully considers the various complex processes of tank farm receipts and payments in the enterprise's production process, and is suitable for process paths established with storage tanks as the core and equipment, loading and unloading points, and side lines as the basis.
[0025] 4. To ensure the integrity of records in cases where payment and receipt data is incomplete or cannot be collected correctly, manual assistance is used. Attached Figure Description
[0026] Figure 1 This is a flowchart of an embodiment of the present invention;
[0027] Figure 2 This is a schematic diagram of the payment and receipt path in the tank farm business process according to an embodiment of the present invention;
[0028] Figure 3 This is a schematic diagram illustrating the process of finding a matching payment path in the payment path database according to an embodiment of the present invention;
[0029] Figure 4 This is a schematic diagram illustrating the process of calculating tank volume in tank farm operations according to an embodiment of the present invention.
[0030] Figure 5 This is a schematic diagram of the automatic payment and receipt recording method for tank farm operations according to an embodiment of the present invention. Detailed Implementation
[0031] Before describing an automatic payment and receipt recording method for tank farm operations according to the present invention, some technical terms will first be explained:
[0032] Storage tank: A basic node within a tank farm, typically referring to a container for storing materials.
[0033] "Dynamic tank" refers to a storage tank where storage operations are conducted and the contents of the tank change. In this invention, it specifically refers to storage tank receipt and payment operations.
[0034] A static tank refers to a tank where no operational activities have taken place and the material in the tank is in a stable state.
[0035] Tank parameters include internal temperature, external temperature, pressure, static density, density, oil level gauge height, and water level gauge height.
[0036] Tank receiving and payment functions include tank measurement, density information collection, tank quantity calculation, as well as tank receiving and payment, tank receiving and payment entry and exit points, tank receiving and payment devices, warehouse return and return, tank changes, etc.
[0037] Measurement model: Multiple storage tanks are configured together to facilitate batch measurement of the storage tanks.
[0038] Tank quantity: The amount of tank parameters at a certain moment is obtained through a real-time database, and the storage quantity of materials in the tank is obtained using the tank quantity calculation method.
[0039] Equipment: Equipment and facilities in a factory are used for the production and processing of materials and are an indispensable part of the production process. Types include production equipment, energy consumption equipment, and other equipment. Based on the type of processing, they are divided into primary processing equipment, secondary processing equipment, and tertiary processing equipment.
[0040] Loading and unloading points: These serve as the points where materials enter and leave the factory, providing identification for payment and receipt paths.
[0041] Receipt and Payment Path: Represents the movement of materials. As the main process points in the process path, the receipt and payment path includes receipt and payment tanks, receipt and payment objects, and receipt and payment materials. It establishes the connection relationships between the main equipment, facilities, tanks, units, loading and unloading points, and nodes within the enterprise, associating units with units, units with tank farms, units with loading and unloading points, tanks with tanks, tanks with units, and tanks with loading and unloading points. This facilitates understanding the source and destination of materials and related material tracking in later information systems.
[0042] Payment and receipt: The movement of materials between storage tanks and other facilities;
[0043] Source facility: The storage tank serves as the carrier for receipts and payments, and is therefore considered the source facility.
[0044] Target facility: The counterparty node in the payment and receipt process, usually referring to storage tanks, equipment, or loading / unloading points.
[0045] Receipt and payment types: Material receipt and payment actions are divided into tank receiving tank, tank payment tank, tank receiving device, tank payment device, tank receiving loading and unloading point, and tank payment loading and unloading point.
[0046] Material receiving: receiving materials stored in the receiving container.
[0047] Payment Materials: Materials stored in the payment carrier must remain consistent across all payment and receipt types, except for material changes.
[0048] Sideline: As a connecting line within the plant's equipment, facilities, storage tanks, equipment, and loading / unloading points, it is divided into inbound sidelines and outbound sidelines in actual design and application. The inbound sideline is the sideline set with the current storage tank as the target, while the outbound sideline is the sideline with the storage tank as the source facility.
[0049] To facilitate a better understanding of the present invention by those skilled in the art, the present invention will be further described in detail below with reference to the accompanying drawings and specific embodiments. The following are merely exemplary and do not limit the scope of protection of the present invention.
[0050] like Figure 1 As shown, an automatic payment and collection recording method for tank farm operations includes:
[0051] S1. Determine the tank usage status based on tank parameter changes and side line information within a preset time.
[0052] S2. If the storage tank is in the operating state of a moving tank, record the set of moving tanks, and record the parameters of the first moving tank and the side line information of the first moving tank in the set, so as to obtain the pump start-up parameters and record them.
[0053] S3. Determine the receipt and payment status of the first moving tank based on the side line information of the first moving tank, and determine the receipt and payment path of the first moving tank by searching the receipt and payment path library, thereby determining the target facility and recording the target facility parameters;
[0054] S4. Obtain and record the pump shutdown parameters based on the sideline information of the first moving tank and the target facility;
[0055] S5. Obtain and record the receipts and payments based on the pump start-up and stop-up parameters.
[0056] The following example uses the tank farm business of a petrochemical enterprise to illustrate the automatic payment and receipt recording method for tank farm business described in this embodiment.
[0057] S1. Determine the tank usage status based on changes in tank parameters and side line information within a preset time period.
[0058] During use, storage tanks exist in two states: moving tank and stationary tank. In one embodiment of the present invention, the tank volume or liquid level and the status of the side line switch are monitored in real time. If the side line switch is open and the tank volume changes within a preset time, it is determined that the tank has a receiving or disbursing action, and the tank is in the state of moving tank; otherwise, the tank is in the state of stationary tank.
[0059] by Figure 2 Taking the example shown, the on / off status of the inlet and outlet side valves of storage tank G1 is first monitored, and a time sliding window is set as the preset time. If the side valve is open, changes in tank parameters can be monitored within the window time. When the changes in tank parameters exceed the set threshold, the usage state of storage tank G1 is determined to be an active tank, and the active tank establishment event is recorded. At this time, the start time of tank payment and receipt is recorded. This lays the foundation for subsequent automatic payment and receipt recording. Similarly, when the usage state of the storage tank changes from an active tank to a stationary tank, the end time of tank delivery is recorded.
[0060] In some implementations, the change in tank parameters is at least one of the changes in tank level, side flow rate, or tank volume, or a logical combination of several changes.
[0061] It should be noted that the side line information includes not only the side line switch status, but also the side line flow rate.
[0062] In some implementations, if the usage status of the storage tank is set to T s T s A value of 1 indicates the state of the moving tank, T s A value of 0 indicates a static tank state, so it's sufficient to continuously monitor T. sBy obtaining the value of [value], we can understand the usage status of the storage tank and thus determine the time of change in the tank's status.
[0063]
[0064] Among them, I s This represents the status of the side valve. If the side valve is open, the value is 1; if the side valve is closed, the value is 0.
[0065] The preset time range is 0 to Δt. JGMax is the flow rate threshold within the preset time range, and HMax is the liquid level change threshold within the preset time range. Set T... con T is the opening time of the inlet and outlet side valves of the storage tank. con The corresponding tank level is H1, and the monitoring tank is T. con ~T con +Δt is the time during which the liquid level change exceeds HMax or the cumulative side-stream flow reaches the maximum static tank flow JGMax. Let t be the monitoring time, and P... i Let T be the lateral flow rate at time i. According to the formula, if T is at time t... s If it changes to 1, it is determined to be a moving tank, where t is the time when the moving tank starts receiving payments; if time t is T s When the value changes from 1 to 0, it becomes a static tank, and t is recorded as the end time of payment for the dynamic tank.
[0066] S2. If the storage tank is in the operating state of a moving tank, record the set of moving tanks, and record the parameters of the first moving tank and the side line information of the first moving tank in the set, so as to obtain the pump start-up parameters and record them.
[0067] like Figure 3 As shown, in practical applications, multiple storage tanks may be performing receipt and payment actions simultaneously, thus resulting in a set of moving tanks.
[0068] It should be noted that, for ease of description, the term "first moving tank" can refer to one storage tank or multiple storage tanks.
[0069] The first recorded tank parameters include, but are not limited to, tank identification, materials stored in the tank, tank name, and tank side line.
[0070] The pump start-up time is obtained from step S1, which is the time when the pump starts. In some embodiments, based on the pump start-up time and tank information, tank operating parameters, such as but not limited to instrument data of density, internal tank temperature, external tank temperature, pressure, dipstick height, and water level, are obtained from a real-time database. The pump start-up tank quantity is then calculated according to a preset tank quantity calculation method.
[0071] It should be noted that the tank volume calculation method can adopt standard international algorithms, national standard algorithms, or custom formula algorithms.
[0072] S3. Determine the receipt and payment status of the first moving tank based on the side line information of the first moving tank, and determine the receipt and payment path of the first moving tank by searching the receipt and payment path library, thereby determining the target facility and recording the target facility parameters.
[0073] In one embodiment of the present invention, the state of the moving tank is determined to be either in a receiving or receiving state by judging whether the state of the inlet or outlet side line of the moving tank changes. This can be determined by one or more factors, such as the inlet and outlet flow rates of the side lines, the tank volume, and the liquid level changes.
[0074] In some implementations, if the flow rate of the inlet line corresponding to the moving tank changes and the inlet line valve opens, the tank is in a receiving state; if the flow rate of the outlet line corresponding to the moving tank changes and the outlet line valve opens, the tank is in a receiving state.
[0075] Based on the tank number and payment / receipt direction, the matching payment / receipt path is searched in the payment / receipt path database. The flowchart is as follows: Figure 3 As shown.
[0076] Centered on the moving tank, the system traverses the payment and receipt path database, identifies the connection conditions of each payment and receipt path, and establishes valid payment and receipt paths for the storage tank. In some implementations, the principle is based on the consistency of materials in the payment and receipt path, meaning that the materials of both the payment and receipt parties must be identical.
[0077] The payment and receipt path library is a topological network data model of material movement in storage tanks, which includes at least fixed payment and receipt paths of process routes or historical payment and receipt paths, and temporary payment and receipt paths established by manually selecting payment and receipt facilities and nodes.
[0078] In some implementations, metering instruments are generally installed at each node of the receiving and payment process to record information such as the flow volume, direction, and velocity of materials between nodes.
[0079] If the corresponding payment path for the current moving tank payment action cannot be found in the payment path library, then a new payment path will be created and saved to the payment path library.
[0080] By finding a valid payment / receipt path, the corresponding target facility is identified, and its parameters are recorded. For example... Figure 2 As shown, storage tank G1 is the source facility, and storage tank G1 supplies oil to the target facility G2. The corresponding facility identification, materials, receipt / payment type, and sideline information will be recorded.
[0081] S4. Based on the sideline information of the first moving tank and the target facility, obtain the pump shutdown parameters and record them.
[0082] Since the tank receipt and payment process cannot be completed within a preset statistical period, the preset statistical period can be adjusted according to actual needs. For example, a day, half a day, or worker shift change time can be used as the preset statistical period.
[0083] In some implementations, such as Figure 4 and Figure 5 As shown, the completion of the delivery process is determined based on the flow rates L2 and L1 of side line C2 and the valve status of the side line components. If the entire receipt and payment process is not completed within the preset statistical period, the receipt and payment are cut according to the preset statistical period, and the can volume is counted. The cut can volume is obtained and recorded according to the cutting time and the preset can volume calculation method.
[0084] If the receipt and payment are determined based on the flow rate L2 of side line C2 and the flow rate L1 of side line C1, as well as the valve opening and closing status of the side line components, in some embodiments, the time when the state of the moving tank changes is taken as the pump stop time. The pump stop volume is obtained and recorded according to the pump stop time and a preset tank volume calculation method.
[0085] In some implementations, if there are unfinished payment or receipt records before the preset statistical period end time Tc, the time of the most recent cutting record is taken as Ts; if there are none, the pump start time is taken as Ts, and then it is determined whether there is a preset statistical period between Tc and Ts. If there is, the cutting time is recorded as T1-Tn, where n is the cutting time.
[0086] S5, based on pump start-up and pump stop parameters, obtains and records the receipt and payment amounts.
[0087] In some implementations, such as Figure 5 As shown, the amount of receipt and payment is obtained and recorded by the absolute value of the difference between the amount of pump tank stopped and the amount of pump tank started, and the entire receipt and payment process is completed.
[0088] The task scheduling generates receipts and payments records for moving tanks, including information such as source facility, source facility material, target facility, target facility type, target facility material, target facility side line, receipt and payment type, pump start time, number of tanks started, pump stop time, number of tanks stopped, cutting time, and number of tanks cut, providing basic data for subsequent statistical balancing.
[0089] In one embodiment of the present invention, the target facility type includes storage tanks, devices, and loading / unloading points, and the target facility identifier refers to the specific tank identifier, device identifier, and loading / unloading point identifier.
[0090] It should be noted that a tank farm payment and receipt model can also be constructed based on the tank farm business process according to this invention, including a tank model, equipment model, loading and unloading point model, payment and receipt path, and side line, so that each model includes its specific parameters. For example, the tank model includes the tank quantity calculation method, tank parameters, measurement model, and tank quantity. This forms a complete set of tank farm business processes, providing a basic model for the automatic payment and receipt recording of tank farm business.
[0091] In this embodiment, the receipt and payment records mainly include data such as tank identifier G1, tank name, material stored in the tank M1, tank side line C1, target facility identifier G2, target facility name, receipt and payment type Rp, receipt and payment direction D, target facility, target facility type GT, target facility side line C2, target facility material M2, pump start time Tb, pump stop time Te, tank quantity measured when pump is started W1, tank quantity measured when pump is stopped W2, receipt and payment amount Wrp, as well as cutting time and cut tank quantity, which are stored in the database to form receipt and payment records.
[0092] Corresponding to the automatic payment and receipt recording method for tank farm operations provided in the above embodiment, this invention also proposes an automatic payment and receipt recording system for tank farm operations, comprising at least a data acquisition module, a dynamic / static tank identification module, a model module, a tank quantity calculation module, and a recording module. The data acquisition module is used to collect tank parameters and sideline information in real time, serving as input to the dynamic / static tank identification module and the tank quantity calculation module. The dynamic / static tank identification module is used to identify the tank usage status based on the collected tank parameters and sideline information. The model module is used to store historical payment and receipt paths, and to find payment and receipt paths when the tank usage status is dynamic. The tank quantity calculation module is used to calculate the corresponding tank quantity based on the collected tank parameters and sideline information. The recording module is used to record the payment and receipt records for dynamic tanks.
[0093] In some implementations, the model module can form a graphical model for display and information storage. The model module includes at least a tank model, an equipment model, a loading / unloading point model, payment / receipt paths, and side lines. The tank model integrates the tank, materials, tank quantity calculation methods, tank parameters, gauging model, and tank quantity. The equipment model integrates at least materials, areas, departments, equipment types, and equipment processing types. The loading / unloading point model inherits materials, loading / unloading point types, areas, and departments. The payment / receipt paths include the receiving / receiving tanks, receiving / receiving objects, and receiving / receiving materials, establishing the connection relationships between the main equipment and facilities, tanks, equipment, loading / unloading points, and nodes within the enterprise, associating equipment with equipment, equipment with tank areas, equipment with loading / unloading points, tanks with tanks, tanks with equipment, and tanks with loading / unloading points. Side lines, serving as connecting lines between nodes within the factory's equipment and facilities, tanks, equipment, and loading / unloading points, are divided into inbound side lines and outbound side lines. The inlet side line is a side line set with the current storage tank as the target, while the outlet side line is a side line set with the storage tank as the source facility. It integrates facility name, facility type, side line type, flow monitoring point, and switch status.
[0094] In some implementations, the automatic payment and recording system for tank farm operations is based on a model module, from which a dynamic and static tank identification module, a tank quantity calculation module, and a recording module acquire data, perform calculations, and record data.
[0095] The various embodiments in this specification are described in a progressive manner. Similar or identical parts between embodiments can be referred to mutually. Each embodiment focuses on its differences from other embodiments. In particular, for system or system embodiments, since they are basically similar to method embodiments, the description is relatively simple; relevant parts can be referred to the descriptions in the method embodiments. The systems and system embodiments described above are merely illustrative. Some or all of the modules can be selected to achieve the purpose of this embodiment according to actual needs. Those skilled in the art can understand and implement this without creative effort.
[0096] Those skilled in the art will recognize that the units and algorithm steps of the various examples described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, computer software, or a combination of both. To clearly illustrate the interchangeability of hardware and software, the components and steps of the various examples have been generally described in terms of functionality in the foregoing description. Whether these functions are implemented in hardware or software depends on the specific application and design constraints of the technical solution. Those skilled in the art can use different methods to implement the described functions for each specific application, but such implementations should not be considered beyond the scope of this invention.
[0097] The above description only outlines the basic principles and preferred embodiments of the present invention. Those skilled in the art can make many changes and modifications based on the above description, and these changes and modifications should fall within the protection scope of the present invention.
Claims
1. A method for automatically recording receipts and payments in tank farm operations, characterized in that, include: The usage status of the storage tank is determined based on changes in tank parameters and side-line information within a preset time period. If the storage tank is in the operating state of a moving tank, then record the set of moving tanks, and record the parameters of the first moving tank in the set and the side line information of the first moving tank, so as to obtain the pump start-up parameters and record them; The receipt and payment status of the first moving tank is determined based on the side line information of the first moving tank, and the receipt and payment path of the first moving tank is determined by searching the receipt and payment path library, thereby identifying the target facility and recording the target facility parameters; The pump shutdown parameters are obtained and recorded based on the sideline information of the first moving tank and the target facility; The receipts and payments are obtained and recorded based on the pump start-up and pump stop-down parameters; The process of determining the tank usage status based on changes in tank volume and side-line information within a preset time period includes: Monitor the status of the side line switch for the storage tank. If the side line switch is open and the change of the storage tank parameters within a preset time exceeds a preset threshold, the storage tank is a moving tank; otherwise, it is a stationary tank. The determination of the receipt and payment status of the first moving tank based on the side line information of the first moving tank includes: If the flow rate of the side line corresponding to the first moving tank changes and the inlet valve of the side line is opened, then the first moving tank is in the receiving state; If the flow rate of the side line corresponding to the first moving tank changes and the outlet valve of the side line opens, then the first moving tank is in a negative state. The step of determining the payment path of the first moving tank by searching the payment path database includes: Based on the tank number and payment / receipt direction of the first moving tank, the payment / receipt path database is traversed. If the payment path library includes the tank number and payment direction corresponding to the first moving tank, and the materials in the payment path are the same for both the receiving and paying parties, then the path shall be regarded as the valid payment path for the first moving tank. If the payment path library does not contain a payment path with the tank number and payment direction corresponding to the first moving tank, then add a new payment path to the payment path library and use the new payment path as a valid payment path for the first moving tank. The payment and receipt records include at least the parameters of the first moving tank, the parameters of the target facility, the parameters of starting the pump, the parameters of stopping the pump, and the parameters of cutting.
2. The automatic payment and receipt recording method for tank farm operations according to claim 1, characterized in that, The payment and receipt path database is a topological network data model of material movement in storage tanks, which includes at least fixed payment and receipt paths of process routes or historical payment and receipt paths and temporary payment and receipt paths established by manually selecting payment and receipt facilities and nodes.
3. The automatic payment and receipt recording method for tank farm operations according to claim 1, characterized in that, The process of obtaining and recording pump shutdown parameters based on the sideline information of the first moving tank and the target facility specifically includes: Based on the preset statistical cycle, the first moving tank is repeatedly monitored to see if it has been delivered. If the first moving tank has not been delivered within the preset statistical cycle, the cutting parameters are recorded according to the preset statistical cycle. If the first moving tank changes to a stationary tank, the pump stop time is recorded, and the amount of tank stopped is calculated based on the collected tank parameters, thus obtaining the receipt and payment amount.
4. The automatic payment and receipt recording method for tank farm operations according to claim 1, characterized in that, It also includes payment and receipt data that are manually confirmed.
5. The automatic payment and receipt recording method for tank farm operations according to claim 1, characterized in that: The parameters of the first moving tank include at least the first moving tank identifier, the material stored in the first moving tank, the name of the first moving tank, and the side line of the first moving tank; the parameters of the target facility include at least the target facility identifier, the target facility type, the target facility material, the receipt and payment type, and the side line of the target facility; the parameters of the pump start-up include at least the pump start-up time and the number of tanks pumped at start-up; the parameters of the pump stop-down include at least the pump stop-down time and the number of tanks pumped at stop-down; the side line information includes at least the side line valve status and the side line flow rate; and the parameters of the cutting include at least the cutting time and the number of tanks cut.
6. An automatic payment and receipt recording system for tank farm operations, used to run the automatic payment and receipt recording method for tank farm operations as described in any one of claims 1-5, characterized in that, It should include at least a data acquisition module, a dynamic and static tank identification module, a model module, a tank quantity calculation module, and a recording module. The data acquisition module is used to collect tank parameters and side line information in real time, which serve as inputs for the dynamic and static tank identification module and the tank quantity calculation module. The dynamic and static tank identification module is used to identify the usage status of the storage tank based on the collected tank parameters and side line information; The model module is used to store historical payment and receipt paths, and to find payment and receipt paths when the storage tank is in the active tank status. The tank volume calculation module is used to calculate the corresponding tank volume based on the collected tank parameters and side line information; The recording module is used to record the receipt and payment records of the moving tank.
Citation Information
Patent Citations
Oil refining chemical component tracing method
CN101470442A