Method, apparatus, and electronic device for predicting ballast water recovery amount and recovery time
By obtaining the predicted ballast water volume, the number of drain pipes, and the ballast pump pressure, and using preset relationships and fitting formulas to predict the ballast water recovery volume and time, the problem of low ballast water discharge efficiency is solved, achieving the effects of resource conservation and cost reduction.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-07-15
- Publication Date
- 2026-03-24
AI Technical Summary
At present, the predicted amount of ballast water discharge is inconsistent with the actual amount, resulting in low efficiency of ballast water discharge, inability to make reasonable use of ballast water, and causing waste of resources and increased costs.
By obtaining the predicted ballast water volume, number of drainage pipes, and ballast pump pressure of the target vessel, the amount and time of ballast water recovery are predicted using preset relationships and fitting formulas, and the capacity and time of the ballast water pool are rationally scheduled.
Scientific prediction of ballast water recovery volume and time improves drainage efficiency, saves freshwater resources and port costs, and enhances port operation efficiency.
Smart Images

Figure CN115392536B_ABST
Abstract
Description
TECHNICAL FIELD
[0001] The present application relates to the technical field of port ship ballast water recovery, in particular to a method and device for predicting ballast water recovery amount and recovery time, a computer readable storage medium and an electronic device. BACKGROUND
[0002] Ship ballast water refers to water and suspended matter added to a ship to control the ship's roll, pitch, draft, stability or stress.
[0003] At present, coal ports need to use a large amount of fresh water to reduce dust in the coal yard, and most of these fresh water is purchased from municipal water. This dust reduction method not only brings huge cost expenditure, but also wastes a large amount of fresh water resources.
[0004] In order to reduce enterprise costs and reduce the waste of fresh water resources, coal ports often recover ship ballast water and use the ballast water to reduce dust in the coal yard (ships going back and forth in the coal port are mostly via inland rivers, and ballast water is often river fresh water).
[0005] However, at the present stage, the predicted amount of ballast water discharge is often inconsistent with the actual amount of ballast water discharge, and the ballast water discharge time cannot be grasped in time, which brings problems such as low ballast water discharge efficiency and unreasonable use of ballast water pool (ballast water is generally first stored in the water storage pool in the port, and then water is transferred from the water storage pool when there is a water demand in the current section), causing waste of ballast water. SUMMARY
[0006] To solve the above problems, the present application provides a method and device for predicting ballast water recovery amount and recovery time, a computer readable storage medium and an electronic device, which can provide ballast water recovery decision for the port and make full use of the ballast water, saving the enterprise's expenditure cost, improving the ballast water discharge efficiency and reducing the waste of fresh water resources.
[0007] In a first aspect, the present application provides a method for predicting ballast water recovery amount and recovery time, the method comprising:
[0008] obtaining a predicted amount of ballast water of a target ship, a number of drain pipes and a pump pressure of a ballast pump;
[0009] determining a ballast water recovery amount of the target ship according to the predicted amount of ballast water through a preset ballast water recovery amount and predicted amount of ballast water relationship formula;
[0010] determining a ballast water recovery time length of the target ship according to the ballast water recovery amount, the number of drain pipes and the pump pressure of the ballast pump through a preset recovery time length calculation formula.
[0011] In some embodiments, the preset ballast water recovery amount and ballast water forecast amount relationship formula comprises:
[0012] f(x) = k1*x 3 +k2*x 2 +k3*x+z
[0013] wherein x is the ballast water forecast amount, f(x) is the ballast water recovery amount, k1, k2, k3, and z are all constants.
[0014] In some embodiments, the preset recovery time calculation formula comprises:
[0015]
[0016] wherein M is the number of drain pipes, C V is the drain flow of a drain pipe, C is the ballast water recovery amount, and T is the ballast water recovery time.
[0017] In some embodiments, the preset recovery time calculation formula is used to obtain the ballast water recovery time of the target ship according to the ballast water recovery amount, the number of drain pipes, and the pump pressure of the ballast pump, comprising:
[0018] determining the drain flow of a drain pipe of the target ship according to the pump pressure of the ballast pump and a preset drain flow and ballast pump pressure relationship formula;
[0019] obtaining the ballast water recovery time of the target ship according to the drain flow of the drain pipe, the number of drain pipes, and the ballast water recovery amount by using a preset recovery time calculation formula.
[0020] In some embodiments, the preset drain flow and ballast pump pressure relationship formula comprises:
[0021] f(x) = k4*x 2 +k5*x+m
[0022] wherein x is the pump pressure of the ballast pump, f(x) is the drain flow of a drain pipe, and k4, k5, and m are all constants.
[0023] In some embodiments, it further comprises:
[0024] collecting historical data of ballast water forecast amounts and corresponding ballast water recovery amounts;
[0025] obtaining a preset ballast water recovery amount and ballast water forecast amount relationship formula by using the least square method curve fitting principle based on the historical data.
[0026] In some embodiments, the preset ballast water recovery amount and ballast water forecast amount relationship formula is obtained by fitting the historical data, comprising:
[0027] If the historical data exist multiple ballast water recovery amounts corresponding to the same ballast water forecast amount, the multiple ballast water recovery amounts are averaged to obtain the ballast water recovery amount corresponding to the ballast water forecast amount;
[0028] Based on the ballast water forecast amount and the corresponding ballast water recovery amount, a preset ballast water recovery amount and ballast water forecast amount relationship is obtained by the least square curve fitting principle.
[0029] In a second aspect, the application provides a device for predicting the ballast water recovery amount and recovery time, which comprises:
[0030] a basic data acquisition module, configured to acquire the ballast water forecast amount of a target ship, the number of discharge pipes and the pump pressure of the ballast pump;
[0031] a recovery amount acquisition module, configured to determine the ballast water recovery amount of the target ship according to the ballast water forecast amount and by using the preset ballast water recovery amount and ballast water forecast amount relationship;
[0032] a recovery time length acquisition module, configured to acquire the ballast water recovery time length of the target ship according to the ballast water recovery amount, the number of discharge pipes and the pump pressure of the ballast pump and by using a preset recovery time length calculation formula.
[0033] In a third aspect, the application provides a computer readable storage medium storing a computer program, which can be executed by one or more processors to implement the method described above.
[0034] In a fourth aspect, the application provides an electronic device comprising a memory and one or more processors, wherein the memory stores a computer program, and the memory and the one or more processors are communicatively connected, and the computer program is executed by the one or more processors to implement the method described above.
[0035] Compared with the prior art, the technical solution of the application has the following advantages or beneficial effects:
[0036] According to the ballast water forecast amount, the ballast water recovery amount and recovery time are scientifically predicted, and according to the ballast water recovery amount and recovery time, the ballast water pool is reasonably scheduled in advance, so that the ballast water pool has sufficient volume and time to accommodate the ballast water of the ship. The ballast water can be more reasonably used, the municipal fresh water resources are saved, the expenditure cost of the port is saved and the operation efficiency of the port is improved. BRIEF DESCRIPTION OF DRAWINGS
[0037] In order to more clearly illustrate the technical solutions in the embodiments of the present application or the prior art, the accompanying drawings needed to be used in the description of the embodiments or the prior art will be briefly introduced. Obviously, the accompanying drawings in the following description only need to be drawn for the embodiments of the present application, and other drawings can be obtained by those skilled in the art without any creative effort on the basis of the provided drawings.
[0038] Figure 1 The flow chart of a method for predicting the amount and time of ballast water recovery provided by the embodiments of the present application;
[0039] Figure 2A The effect diagram of the fitting of the predicted amount and the recovered amount of ballast water according to fitting formula 1;
[0040] Figure 2B The effect diagram of the fitting of the predicted amount and the recovered amount of ballast water according to fitting formula 2;
[0041] Figure 2C The effect diagram of the fitting of the predicted amount and the recovered amount of ballast water according to fitting formula 3;
[0042] Figure 3A The effect diagram of the fitting of the pump pressure and the pipe flow of the ballast pump according to fitting formula 4;
[0043] Figure 3B The effect diagram of the fitting of the pump pressure and the pipe flow of the ballast pump according to fitting formula 5;
[0044] Figure 3C The effect diagram of the fitting of the pump pressure and the pipe flow of the ballast pump according to fitting formula 6;
[0045] Figure 4 The structural schematic diagram of a device for predicting the amount and time of ballast water recovery provided by the embodiments of the present application;
[0046] Figure 5 The connection block diagram of an electronic device provided by the embodiments of the present application. DETAILED DESCRIPTION
[0047] The embodiments of the present application will be described in detail below with reference to the accompanying drawings and embodiments, so that the implementation process of how the present application applies technical means to solve technical problems and achieves corresponding technical effects can be fully understood and implemented. The embodiments of the present application and each feature in the embodiments can be combined with each other without conflict, and the technical solutions formed thereby are all within the protection scope of the present application.
[0048] Embodiment one
[0049] The embodiments provide a method for predicting the amount and time of ballast water recovery,Figure 1 A flowchart of a method for predicting the amount of ballast water recovered and the recovery time is provided for an embodiment of the present application, as shown in Figure 1 The method of the present embodiment includes:
[0050] S110, obtaining the predicted amount of ballast water of the target ship, the number of drainage pipes, and the pump pressure of the ballast pump.
[0051] It should be noted that most ships traveling to and from coal ports pass through inland rivers, and ballast water is often fresh water from rivers and lakes. The ballast water of the target ship is mainly fresh water from rivers and lakes.
[0052] Optionally, the predicted amount of ballast water, the number of drainage pipes, and the pump pressure of the ballast pump of the target ship are obtained according to the actual model of the target ship.
[0053] The predicted amount of ballast water is provided by the target ship, which generally refers to the total amount of ballast water loaded before the ship sails. The predicted amount of ballast water is sent to the port by the target ship 3 days before arrival.
[0054] S120, determining the amount of ballast water recovered by the target ship according to the predicted amount of ballast water and a preset relationship between the amount of ballast water recovered and the predicted amount of ballast water.
[0055] In some embodiments, the method further includes:
[0056] collecting historical data of the predicted amount of ballast water and the corresponding amount of ballast water recovered;
[0057] Based on the historical data, a preset relationship between the amount of ballast water recovered and the predicted amount of ballast water is obtained by least squares curve fitting principle.
[0058] In some embodiments, the preset relationship between the amount of ballast water recovered and the predicted amount of ballast water is fitted based on the historical data, including:
[0059] If the historical data has multiple amounts of ballast water recovered corresponding to the same predicted amount of ballast water, the average value of the multiple amounts of ballast water recovered is taken as the amount of ballast water recovered corresponding to the predicted amount of ballast water;
[0060] Based on the predicted amount of ballast water and the corresponding amount of ballast water recovered, a preset relationship between the amount of ballast water recovered and the predicted amount of ballast water is obtained by least squares curve fitting principle.
[0061] In some embodiments, the preset relationship between the amount of ballast water recovered and the predicted amount of ballast water includes:
[0062] f(x) = k1*x p +k2*x 2 +k3*x+z
[0063] wherein x is the predicted amount of ballast water, f(x) is the recovered amount of ballast water, k1, k2, k3, z are all constants.
[0064] It should be noted that the values of k1, k2, k3 and z can be selected according to the following table 1.
[0065] Rainy season Dry season General scenario 0 0 -1.3e -8 ]] <k2> 0 -6.188e -5 ]] 0.0002624 [ k3 ] 0.5283 1.561 -0.7471 z 2366 -1214 2985
[0066] Table 1
[0067] In the rainy season, a preferred relationship between the recovered amount of ballast water and the predicted amount of ballast water is shown in table 1 as follows:
[0068] f(x) = 0.5283 * x + 2366;
[0069] In the dry season, a preferred relationship between the recovered amount of ballast water and the predicted amount of ballast water is shown in table 1 as follows:
[0070] f(x) = -6.188e -5 *x 2 + 1.561 * x - 1214;
[0071] In other cases (general scenario), a preferred relationship between the recovered amount of ballast water and the predicted amount of ballast water is shown in table 1 as follows:
[0072] f(x) = -1.3e -8 *x 3 + 0.0002624 * x 2 - 0.7471 * x + 2985.
[0073] It should be understood by those skilled in the art that when determining the preset relationship between the recovered amount of ballast water and the predicted amount of ballast water, there may be a certain error in the values of the coefficients in the preset relationship between the recovered amount of ballast water and the predicted amount of ballast water due to the use of different historical data in the actual fitting process, and the specific values of the coefficients can also be determined by fitting according to the actual needs of the user and / or the actual historical data of the current port.
[0074] Optionally, the statistical data of the predicted amount of ballast water and the recovered amount of ballast water of a certain port in some months in 2016, 2017 and 2018 is shown in table 2 as follows:
[0075] Time Sailing Forecasted water volume (m 3 )]]> Actual recovery (m 3 )]]> Recovery ratio (%) March 2016 3 28000 18750 66.96 April 2016 5 266000 16450 6.18 May 2016 6 44000 22650 51.48 June 2016 3 259000 17725 6.84 July 2016 2 14000 9900 70.71 August 2016 1 7000 850 12.14 September 2016 5 46000 20050 43.59 October 2016 4 37000 16950 45.81 March 2017 2 14000 9750 69.64 April 2017 6 46000 27550 59.89 May 2017 15 114000 107554 94.35 June 2017 9 71000 58910 82.97 July 2017 8 59000 53431 90.56 August 2017 10 64000 53427.5 83.48 September 2017 13 98000 84047 85.76 October 2017 14 104000 94497 90.86 November 2017 5 43000 40276 93.67 March 2018 3 33000 22630 68.58 April 2018 13 96000 86061 89.65 May 2018 15 125000 116966 93.57 June 2018 10 93000 85818 92.28 July 2018 4 33000 31732 96.16
[0076] Table 2
[0077] In the port, there are 163 pieces of ballast water recovery data, and after data cleaning (such as eliminating unreasonable berths, 0 water recovery, edge discharge and ballast water recovery data when the pipe is broken and water leaks), there are 145 pieces of ballast water recovery data, and among the 145 pieces of ballast water recovery data after cleaning, there are 119 pieces of data with ballast water recovery time.
[0078] Number Fitting formula Sum of squares Determination coefficient Root mean square 1 Fitting formula 1 8.635e+007 0.3618 2577 2 Fitting formula 2 7.411e+007 0.4523 2485 3 Fitting formula 3 6.653e+007 0.5083 2459
[0079] Table 3
[0080] In Table 3 as shown above, fitting formula 1 includes: f(x) = 0.5283*x + 2366; fitting formula 2 includes: f(x) = -6.188e -5 *x 2 +1.561*x-1214; fitting formula 3 includes: f(x) = -1.3e -8 *x 3 +0.0002624*x 2 -0.7471*x+2985.
[0081] Figure 2A to Figure 2C is the fitting effect diagram of the fitting of the ballast water forecast amount and the recovery amount, wherein, Figure 2A is the effect diagram of the fitting of the ballast water forecast amount and the recovery amount data according to fitting formula 1; Figure 2B is the effect diagram of the fitting of the ballast water forecast amount and the recovery amount data according to fitting formula 2; Figure 2C is the effect diagram of the fitting of the ballast water forecast amount and the recovery amount data according to fitting formula 3. The ballast water forecast amount and the actual recovery amount have a certain positive correlation. The actual recovery amount changes with the forecast amount, but at the same time, the actual recovery amount is also affected by the actual capacity of the ballast water tank on site and the water recovery time, and the water recovery time also changes with the production plan. Since the water recovery time is an unknown quantity in actual production, the ballast water forecast amount is taken as the independent variable to fit the ballast water recovery amount in this application.
[0082] In the existing historical data, one ballast water forecast amount may correspond to multiple different water recovery amounts (for example, the same ship type forecast amount is the same, but the actual recovery amount is different). In this case, the existing data needs to be preprocessed, such as using the mean value of multiple different water recovery amounts corresponding to one forecast amount as the actual ballast water recovery amount corresponding to the forecast amount.
[0083] With the gradual increase of the highest degree of the formula, the determination coefficient also gradually increases; the normal value range of the "determination coefficient" is 0-1, and the closer the value is to 1, the stronger the explanatory ability of the variable of the equation to f(x) is, and the better the fitting effect of the model on the data is. At the same time, with the gradual increase of the highest degree of the formula, overfitting phenomenon will also occur, and overfitting phenomenon is more likely to occur under the condition that the ballast water recovery data set is small.
[0084] The actual recovery amount of the ballast water changes with the predicted amount, but since the actual recovery amount is also affected by factors such as the actual capacity of the on-site ballast water tank and the water collection time, therefore, using only the predicted amount of the ballast water as the input to fit the actual recovery amount of the ballast water is a prediction method under ideal state conditions.
[0085] Number Fitting formula Sum of squares Determination coefficient Root mean square 1 Fitting formula 4 5820 0.8775 23 2 Fitting formula 5 2944 0.938 17.16 3 Fitting formula 6 2908 0.9388 17.98 4 Fitting formula 7 2622 0.9448 18.1
[0086] Table 4
[0087] In Table 4 as shown above, fitting formula 4 includes: f(x) = 170.2*x-167.3; fitting formula 5 includes: f(x) = -141.1*x 2 +776*x-801.9; fitting formula 6 includes: f(x) = -54.85*x 3 +213.4*x 2 +23.63*x-278.3; fitting formula 7 includes: f(x) = 538.7*x 4 -4682*x 3 +1.496e 4 *x 2 -2.063e 4 *x+1.045e 4 .
[0088] Figure 3A to Figure 3C is the data fitting of the pump pressure of the ballast pump and the pipe flow, wherein, Figure 3A is the effect diagram of the data fitting of the pump pressure of the ballast pump and the pipe flow through fitting formula 4; Figure 3B is the effect diagram of the data fitting of the pump pressure of the ballast pump and the pipe flow through fitting formula 5; Figure 3C is the effect diagram of the data fitting of the pump pressure of the ballast pump and the pipe flow through fitting formula 6. Since there are 115 ballast water recovery data of the number of drain pipes of 4 in the 119 ballast water history recovery data, since the data range of the number of drain pipes is small, it can be approximated as a constant, therefore, the recovery flow of the ballast water recovery data is averaged to each drain pipe, and the pump pressure is used as the independent variable to fit the drain flow of each drain pipe. Specifically, through fitting, the following rules can be found:
[0089] (1) The data fitting effect of pump pressure and pipe flow rate is relatively smaller than that of pump pressure and pipe flow rate. The variance and root mean square error are relatively smaller, while the coefficient of determination is relatively larger. The former has a better fitting effect than the latter.
[0090] (2) In the fitting experiment, as the degree of the highest degree of the variable in the formula increases, the variance and the standard deviation show a phenomenon of first decreasing and then increasing. That is, when the degree of the highest degree of the variable in the formula exceeds a certain value, the fit will show a gradual decreasing trend.
[0091] S130. Based on the ballast water recovery volume, the number of drain pipes, and the ballast pump pressure, the ballast water recovery time of the target vessel is obtained through a preset recovery time calculation formula.
[0092] In some embodiments, the preset recycling duration calculation formula includes:
[0093]
[0094] Where M is the number of drain pipes, C V C is the drainage flow rate of a single drain pipe, C is the ballast water recovery volume, and T is the ballast water recovery time.
[0095] In some embodiments, obtaining the ballast water recovery time of the target vessel based on the ballast water recovery volume, the number of drain pipes, and the ballast pump pressure using a preset recovery time calculation formula includes:
[0096] Based on the ballast pump pressure, the drainage flow rate of one of the target vessel's drainage pipes is obtained through a preset relationship between the drainage flow rate and the ballast pump pressure.
[0097] The ballast water recovery time of the target vessel is obtained by using a preset recovery time calculation formula based on the drainage flow rate of one drainage pipe, the number of drainage pipes, and the amount of ballast water recovered.
[0098] In some embodiments, the relationship between the preset drainage flow rate and the ballast pump pressure includes:
[0099] f(x) = k4*x 2 +k5*x+m
[0100] Where x is the ballast pump pressure, f(x) is the drainage flow rate of a single drainage pipe, and k4, k5, and m are constants. Optionally, a preferred preset relationship between drainage flow rate and ballast pump pressure includes:
[0101] f(x) = -141.1*x 2 +776*x-801.9
[0102] wherein, x is the pump pressure of the ballast pump, f(x) is the drainage flow rate of one drainage pipe, the preferred value of k4 is -141.1, the preferred value of k5 is 776, and the preferred value of m is -801.9.
[0103] It can be understood by those skilled in the art that, when determining the preset drainage flow rate and ballast pump pressure relationship, there may be a certain error in the values of the coefficients in the preset drainage flow rate and ballast pump pressure relationship due to the use of different historical data in the actual fitting process, and the specific values of the coefficients can also be determined according to the actual needs of the user and / or the actual situation of the current ship.
[0104] Optionally, when determining the ballast water recovery time, it is necessary to first determine the drainage flow rate of one drainage pipe of the target ship according to the pump pressure of the ballast pump through the preset drainage flow rate and ballast pump pressure relationship.
[0105] Further, the ballast water recovery time of the target ship is obtained through the preset recovery time calculation formula according to the drainage flow rate of one drainage pipe, the number of drainage pipes, and the ballast water recovery amount, and the specific preset recovery time calculation formula includes:
[0106]
[0107] wherein, M is the number of drainage pipes, C V is the drainage flow rate of one drainage pipe, C is the ballast water recovery amount, and T is the ballast water recovery time.
[0108] The method for predicting the ballast water recovery amount and recovery time provided in the embodiment can timely and scientifically predict the ballast water recovery amount and the ballast water recovery time according to the ballast water forecast amount, and can reasonably schedule the ballast water pool in advance according to the ballast water recovery amount and the recovery time, so as to make the ballast water pool have sufficient volume and time to accommodate the ballast water of the ship. Specifically, first, the ballast water forecast amount, the number of drainage pipes, and the pump pressure of the ballast pump of the target ship are obtained; then, the ballast water recovery amount of the target ship is determined through the preset ballast water recovery amount and ballast water forecast amount relationship according to the ballast water forecast amount; further, the drainage flow rate of one drainage pipe of the target ship is determined through the preset drainage flow rate and ballast pump pressure relationship according to the pump pressure of the ballast pump; finally, the ballast water recovery time of the target ship is obtained through the preset recovery time calculation formula according to the drainage flow rate of one drainage pipe, the number of drainage pipes, and the ballast water recovery amount. The ballast water recovery amount and recovery time of the target ship are determined through the above steps, which can make the ballast water be used more reasonably, save the municipal fresh water resources, save the cost of the port, and improve the operation efficiency of the port.
[0109] Embodiment Two
[0110] The embodiment of the present application provides a device for predicting the ballast water recovery amount and recovery time, and the device can be used to execute the method of the present application. For details not disclosed in the device, refer to the method of the present application. Figure 4 The device for predicting the ballast water recovery amount and recovery time provided by the embodiment of the present application is shown in a structural schematic diagram as Figure 4 The device 400 provided by the embodiment of the present application comprises:
[0111] The basic data acquisition module 401 is configured to acquire the ballast water forecast amount, the number of drain pipes and the pump pressure of the ballast pump of the target ship.
[0112] The recovery amount acquisition module 402 is configured to determine the ballast water recovery amount of the target ship according to the ballast water forecast amount and by using a preset ballast water recovery amount and ballast water forecast amount relationship.
[0113] The recovery time length acquisition module 403 is configured to determine the ballast water recovery time length of the target ship according to the ballast water recovery amount, the number of drain pipes and the pump pressure of the ballast pump and by using a preset recovery time length calculation formula.
[0114] In some embodiments, the preset ballast water recovery amount and ballast water forecast amount relationship comprises:
[0115] f(x) = k1*x 3 +k2*x 2 -k3*x+z
[0116] wherein x is the ballast water forecast amount, f(x) is the ballast water recovery amount, k1, k2, k3 and z are all constants.
[0117] In some embodiments, the preset recovery time length calculation formula comprises:
[0118]
[0119] wherein M is the number of drain pipes, C V is the drain flow of one drain pipe, C is the ballast water recovery amount, and T is the ballast water recovery time length.
[0120] In some embodiments, the recovery time length acquisition module 403 comprises a drain flow determination unit and a recovery time length determination unit.
[0121] The drain flow acquisition unit is configured to determine the drain flow of one drain pipe of the target ship according to the pump pressure of the ballast pump and by using a preset drain flow and ballast pump pump pressure relationship.
[0122] The recovery time length determination unit is configured to determine the ballast water recovery time length of the target ship according to the drainage flow of the one drainage pipe, the number of the drainage pipes, and the ballast water recovery amount, by using a preset recovery time length calculation formula.
[0123] In some embodiments, the preset drainage flow and ballast pump pressure relationship formula comprises:
[0124] f(x) = k4 * x 2 + k5 * x - m
[0125] wherein x is the ballast pump pressure, f(x) is the drainage flow of the one drainage pipe, and k4, k5, and m are constants.
[0126] In some embodiments, the device further comprises a collection unit and a fitting unit.
[0127] The collection unit is configured to collect historical data of the ballast water forecast amount and the corresponding ballast water recovery amount.
[0128] The fitting unit is configured to obtain a preset ballast water recovery amount and ballast water forecast amount relationship formula by using a least square curve fitting principle based on the historical data.
[0129] In some embodiments, the obtaining of the preset ballast water recovery amount and ballast water forecast amount relationship formula based on the historical data comprises:
[0130] If the historical data exist a case that one ballast water forecast amount corresponds to multiple ballast water recovery amounts, the multiple ballast water recovery amounts are averaged to obtain the ballast water recovery amount corresponding to the ballast water forecast amount.
[0131] Based on the ballast water forecast amount and the corresponding ballast water recovery amount, a preset ballast water recovery amount and ballast water forecast amount relationship formula is obtained by using a least square curve fitting principle.
[0132] Those skilled in the art can understand that the structure shown in the above embodiments is not a limitation on the device of the present application, and can include more or fewer modules / cells than the illustrated structure, or combine certain modules / cells, or arrange different modules / cells. Figure 4 The structure shown in the above embodiments is not a limitation on the device of the present application, and can include more or fewer modules / cells than the illustrated structure, or combine certain modules / cells, or arrange different modules / cells.
[0133] It should be noted that each of the above modules / cells can be a functional module or a program module, and can be implemented by software or hardware. For the modules / cells implemented by hardware, the above modules / cells can be located in the same processor; or the above modules / cells can be located in different processors in any combination.
[0134] The device provided by the embodiment comprises: a basic data acquisition module 401, configured to acquire a ballast water forecast amount of a target ship, a number of water discharge pipes, and a ballast pump pressure; a recovery amount acquisition module 402, configured to determine a ballast water recovery amount of the target ship according to the ballast water forecast amount by using a preset ballast water recovery amount and ballast water forecast amount relationship formula; and a recovery time length acquisition module 403, configured to determine a ballast water recovery time length of the target ship according to the ballast water recovery amount, the number of water discharge pipes, and the ballast pump pressure by using a preset recovery time length calculation formula. According to the ballast water forecast amount, the ballast water recovery amount and the ballast water recovery time length are scientifically predicted in time, and according to the ballast water recovery amount and the recovery time length, the ballast water pool is reasonably scheduled in advance, so that the ballast water pool has sufficient volume and time to accommodate the ballast water of the ship. Therefore, the ballast water is more reasonably used, municipal fresh water resources are saved, the cost of the port is saved, and the operation efficiency of the port is improved.
[0135] Embodiment three
[0136] The embodiment also provides a computer readable storage medium, which stores a computer program. The computer program can implement the method steps in the foregoing embodiments when executed by a processor. The embodiment will not be repeated here.
[0137] The computer readable storage medium can also separately include a computer program, a data file, a data structure, or a combination thereof. The computer readable storage medium or the computer program can be specifically designed and understood by those skilled in the computer software field, or can be known and available to those skilled in the computer software field. Examples of the computer readable storage medium include: magnetic media, such as a hard disk, a floppy disk, and a magnetic tape; optical media, such as a CD ROM disk and a DVD; a magneto-optical medium, such as an optical disk; and a hardware device specifically configured to store and execute a computer program, such as a read-only memory (ROM), a random access memory (RAM), and a flash memory; or a server, an app application store, and the like. Examples of the computer program include machine code (for example, code generated by a compiler) and a file containing high-level code, which can be executed by a computer by using an interpreter. The described hardware device can be configured to function as one or more software modules to perform the above-described operations and methods, and vice versa. In addition, the computer readable storage medium can be distributed in a networked computer system, and the program code or computer program can be stored and executed in a distributed manner.
[0138] Embodiment four
[0139] Figure 5 A connection block diagram of an electronic device provided by the embodiment of the application is as follows: Figure 5As shown, the electronic device 500 can include one or more processors 501, a memory 502, a multimedia component 503, an input / output (I / O) interface 504, and a communication component 505.
[0140] The one or more processors 501 are configured to perform all or part of the steps in the methods of the previous embodiments. The memory 502 is configured to store various types of data, which can include instructions for any application programs or methods in the electronic device, and application-related data.
[0141] The one or more processors 501 can be implemented with an Application Specific Integrated Circuit (ASIC), a Digital Signal Processor (DSP), a Digital Signal Processing Device (DSPD), a Programmable Logic Device (PLD), a Field Programmable Gate Array (FPGA), a controller, a microcontroller, a microprocessor, or other electronic components, for performing the methods of the previous embodiments.
[0142] The memory 502 can be implemented with any type of volatile or non-volatile storage devices or a combination thereof, such as a Static Random Access Memory (SRAM), an Electrically Erasable Programmable Read-Only Memory (EEPROM), an Erasable Programmable Read-Only Memory (EPROM), a Programmable Read-Only Memory (PROM), a Read-Only Memory (ROM), a magnetic storage, a flash memory, a magnetic disk, or a compact disk.
[0143] The multimedia component 503 can include a screen, which can be a touch screen, and an audio component for outputting and / or inputting audio signals. For example, the audio component can include a microphone for receiving external audio signals. The received audio signals can be further stored in the memory or transmitted through the communication component. The audio component also includes at least one speaker for outputting audio signals.
[0144] The I / O interface 304 provides an interface between the one or more processors 501 and other interface modules, which can be a keyboard, a mouse, a button, etc. The buttons can be virtual buttons or physical buttons.
[0145] The communication component 505 is configured to perform wired or wireless communication between the electronic device 500 and other devices. The wired communication includes communication through a network port, a serial port, etc. The wireless communication includes Wi-Fi, Bluetooth, Near Field Communication (NFC), 2G, 3G, 4G, 5G, or a combination of one or more of them. Therefore, the corresponding communication component 505 can include a Wi-Fi module, a Bluetooth module, and an NFC module.
[0146] In summary, the method, device, computer readable storage medium, and electronic device for predicting the ballast water recovery amount and recovery time provided by the present application can scientifically predict the ballast water recovery amount and recovery time according to the ballast water forecast amount, and reasonably schedule the ballast water tank in advance according to the ballast water recovery amount and recovery time, so that the ballast water tank has sufficient volume and time to accommodate the ship ballast water. The method for predicting the ballast water recovery amount and recovery time specifically includes: first, obtaining the ballast water forecast amount of a target ship, the number of discharge pipes, and the pump pressure of the ballast pump; then, determining the ballast water recovery amount of the target ship according to the ballast water forecast amount through a preset ballast water recovery amount and ballast water forecast amount relationship; further determining the discharge flow of one discharge pipe of the target ship according to the pump pressure of the ballast pump through a preset discharge flow and ballast pump pressure relationship; and finally, obtaining the ballast water recovery time of the target ship according to the discharge flow of the one discharge pipe, the number of discharge pipes, and the ballast water recovery amount through a preset recovery time calculation formula. Through the above steps, the ballast water recovery amount and recovery time of the target ship are determined, which can more reasonably use the ballast water, save municipal fresh water resources, save port costs, and improve the operation efficiency of the port.
[0147] It should also be understood that the methods or systems disclosed in the embodiments provided in this application can also be implemented in other ways. The method or system embodiments described above are merely illustrative. For example, the flowcharts and block diagrams in the accompanying drawings show the architecture, functions, and operations of possible implementations of methods and apparatus according to various embodiments of this application. In this regard, each block in a flowchart or block diagram may represent a module, computer program segment, or part of a computer program, which includes one or more computer programs for implementing the specified logical function. It should also be noted that in some alternative implementations, the functions marked in the blocks may occur in a different order than those marked in the drawings, and may actually be executed substantially in parallel. They may sometimes be executed in reverse order, depending on the functions involved. It should also be noted that each block in the block diagrams and / or flowcharts, and combinations of blocks in the block diagrams and / or flowcharts, can be implemented using a dedicated hardware-based system that performs the specified function or action, or can be implemented using a combination of dedicated hardware and computer programs.
[0148] In this application, the terms "comprise", "contain", or any other variant thereof are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not only include those elements, but can also include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without more limitations, the element defined by the phrase "comprises a" does not exclude the presence of additional identical elements in the process, method, device or apparatus that includes the element; if there is a description of "first", "second", etc., it is only for the purpose of description and cannot be understood as indicating or implying relative importance or implicitly indicating the number of indicated technical features or the order of indicated technical features; in the description of the present application, unless otherwise specified, the term "a plurality of" or "a plurality" means at least two; if there is a description of a server, it should be noted that the server can be a stand-alone physical server or terminal, or a server cluster composed of multiple physical servers, or a cloud server capable of providing cloud server, cloud database, cloud storage and CDN and other basic cloud computing services; if there is a description of a smart terminal or a mobile device in the present application, it should be noted that the smart terminal or mobile device can be a mobile phone, a tablet computer, a smart watch, a netbook, a wearable electronic device, a personal digital assistant (PDA), an augmented reality technology device (AR), a virtual reality device (VR), a smart television, a smart sound, a personal computer (PC), etc., but is not limited thereto, and the specific form of the smart terminal or mobile device is not specially limited in the present application.
[0149] Finally, it should be noted that in the description of the present application, the description of the terms "one embodiment", "some embodiments", "example", "one example" or "some examples" means that the specific features, structures, materials or characteristics described in connection with the embodiment or example are included in at least one embodiment or example of the present application. In the present application, the illustrative description of the above terms does not necessarily refer to the same embodiment or example. Moreover, the specific features, structures, materials or characteristics described can be combined in any one or more embodiments or examples in a suitable manner.
[0150] Although the embodiments of the present application have been shown and described above, it is understood that all the above-described embodiments are exemplary only, the contents described are merely adopted for the purpose of facilitating the understanding of the present application, and are not intended to limit the present application. Any person skilled in the art to which the present application belongs can make any modification and change in the form and details without departing from the spirit and scope of the present application, but the protection scope of the present application shall be subject to the scope defined by the appended claims.
Claims
1. A method for predicting the amount and time of ballast water recovery, characterized in that, The method includes: Obtain the predicted ballast water volume, number of drainage pipes, and ballast pump pressure of the target vessel; Based on the predicted ballast water volume, the ballast water recovery volume of the target vessel is determined by a preset relationship between the predicted ballast water volume and the ballast water recovery volume. The ballast water recovery time of the target vessel is determined by a preset recovery time calculation formula based on the ballast water recovery volume, the number of drain pipes, and the ballast pump pressure. Based on the amount of ballast water recovered and the duration of ballast water recovery, the ballast water pool is scheduled in advance to ensure that the ballast water pool has sufficient volume and time to accommodate the ship's ballast water. The preset relationship between the ballast water recovery volume and the ballast water forecast volume includes: Where x is the predicted amount of ballast water, f(x) is the amount of ballast water recovered, and k1, k2, k3, and z are all constants; the values of constants k1, k2, k3, and z are determined based on preset scenarios, which include: rainy season, dry season, and general scenario.
2. The method according to claim 1, characterized in that, The preset recovery time calculation formula includes: Where M is the number of drain pipes, C is the drainage flow rate of a single drain pipe, C is the ballast water recovery volume, and T is the ballast water recovery time.
3. The method according to claim 1, characterized in that, The step of obtaining the ballast water recovery time of the target vessel based on the ballast water recovery volume, the number of drain pipes, and the ballast pump pressure using a preset recovery time calculation formula includes: Based on the ballast pump pressure, the drainage flow rate of one of the target vessel's drainage pipes is determined by a preset relationship between the drainage flow rate and the ballast pump pressure. The ballast water recovery time of the target vessel is obtained by using a preset recovery time calculation formula based on the drainage flow rate of one drainage pipe, the number of drainage pipes, and the amount of ballast water recovered.
4. The method according to claim 3, characterized in that, The preset drainage flow rate and ballast pump pressure relationship formula includes: Where x is the ballast pump pressure, f(x) is the drainage flow rate of a drainage pipe, and k4, k5, and m are all constants.
5. The method according to claim 1, characterized in that, Also includes: Collect historical data on ballast water forecasts and corresponding ballast water recovery volumes; Based on the historical data, the relationship between the preset ballast water recovery amount and the ballast water forecast amount is obtained by using the least squares curve fitting principle.
6. The method according to claim 5, characterized in that, The process of obtaining a preset relationship between ballast water recovery and ballast water forecast based on the historical data and using the least squares curve fitting principle includes: If the historical data shows that the same ballast water forecast corresponds to multiple ballast water recovery amounts, the average of the multiple ballast water recovery amounts is taken as the ballast water recovery amount corresponding to the forecast amount. Based on the ballast water forecast and its corresponding ballast water recovery, the preset relationship between the ballast water recovery and the ballast water forecast is obtained through the least squares curve fitting principle.
7. A device for predicting the amount and time of ballast water recovery, characterized in that, include: The basic data acquisition module is used to obtain the predicted ballast water volume, number of drainage pipes, and ballast pump pressure of the target vessel. The ballast water recovery acquisition module is used to determine the ballast water recovery amount of the target ship based on the ballast water forecast amount and a preset relationship between the ballast water recovery amount and the ballast water forecast amount. The recovery time acquisition module is used to determine the ballast water recovery time of the target ship based on the ballast water recovery volume, the number of drainage pipes and the ballast pump pressure, through a preset recovery time calculation formula. The scheduling module is used to schedule the ballast water pool in advance according to the ballast water recovery volume and the ballast water recovery time, so that the ballast water pool has sufficient volume and time to accommodate the ship's ballast water. The preset relationship between the ballast water recovery volume and the ballast water forecast volume includes: Where x is the predicted amount of ballast water, f(x) is the amount of ballast water recovered, and k1, k2, k3, and z are all constants; the values of constants k1, k2, k3, and z are determined based on preset scenarios, which include: rainy season, dry season, and general scenario.
8. A computer-readable storage medium, characterized in that, The computer program stored in the computer-readable storage medium, when executed by one or more processors, implements the method as described in any one of claims 1 to 6.
9. An electronic device, characterized in that, It includes a memory and one or more processors, wherein a computer program is stored on the memory, and the memory and the one or more processors are communicatively connected to each other. When the computer program is executed by the one or more processors, it performs the method as described in any one of claims 1 to 6.
Citation Information
Patent Citations
Drainage system scheduling method and device
CN111210152A