A Smart Analysis Method and System for Peak-Valley-Smooth Electricity Consumption Strategies in Industrial Enterprises
By dynamically determining seasonal patterns and optimizing production execution instructions, the problems of raw material utilization and order delivery in existing power consumption strategies have been solved, achieving a balance between cost and efficiency in different seasons.
Patent Information
- Application Number
- CN202611062669.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2026-07-17
- Publication Date
- 2026-11-10
AI Technical Summary
Existing methods for analyzing electricity consumption strategies in industrial enterprises are unable to effectively detect the near-expiration risk of raw materials, the occupancy of finished goods inventory, and the urgency of orders, leading to unreasonable production plans, affecting raw material utilization and order delivery, and failing to adapt to seasonal changes.
By collecting data on enterprise operation status, dynamically determining seasonal patterns, and combining raw material expiration dates, storage capacity, and order urgency, production execution instructions are generated, and peak-valley-flat electricity consumption strategies are optimized to ensure raw material utilization and order delivery.
This enables prioritizing delivery during peak seasons and preventing warehouse overload, while maximizing the use of low-priced electricity during off-seasons to reduce electricity costs, avoid raw material spoilage and losses, and improve the matching degree between production scheduling and electricity consumption strategies.
Smart Images

Figure CN123070524A_ABST
Abstract
Description
Technical Field
[0001] This invention belongs to the field of electricity management, and in particular relates to an intelligent analysis method and system for peak-valley-level electricity consumption strategies in industrial enterprises. Background Technology
[0002] Currently, industrial enterprises widely adopt peak-valley time-of-use (TOU) electricity pricing policies to reduce electricity costs by adjusting production electricity usage periods. Many enterprises have deployed electricity consumption strategy analysis modules in their production management systems, attempting to concentrate production during off-peak hours and reduce electricity consumption during peak hours. However, existing electricity consumption strategy analysis methods generally take electricity cost optimization as the sole objective, simply generating production plans based on electricity price schedules, ignoring actual constraints in industrial production such as raw material shelf life, order delivery urgency, and finished product storage capacity.
[0003] The existing technology has the following technical problems: it cannot detect the risk of raw materials deteriorating near their expiration date, resulting in missed raw material usage windows due to waiting for off-peak electricity prices, causing material losses to outweigh electricity savings; it cannot detect the occupancy of finished product storage spaces, which may lead to full storage spaces, blocked passageways, and even affect normal shipments after large-scale production during off-peak periods; it cannot dynamically adjust production priorities according to the urgency of orders, delaying the delivery of urgent orders during peak seasons due to excessive pursuit of off-peak electricity production, and failing to make full use of low-priced electricity to stock up in advance during off-peak seasons; the differences in production and sales rhythms caused by seasonal changes are completely ignored, and the same set of strategy parameters is used throughout the year, resulting in poor adaptability. Summary of the Invention
[0004] The purpose of this invention is to provide an intelligent analysis method and system for peak-valley-level electricity consumption strategies in industrial enterprises, aiming to solve the technical problems existing in the prior art as identified in the background art.
[0005] This invention is implemented as follows: an intelligent analysis method for peak-valley-level electricity consumption strategies in industrial enterprises, the method comprising:
[0006] Collect enterprise operational status data, which includes inbound data, outbound data, and order urgency, where order urgency is the percentage of expedited orders to the total number of orders.
[0007] The ratio of the average raw material inbound rate over the past seven days to the monthly average rate over the whole year is calculated based on the inbound data. The current seasonal mode is determined based on the ratio and the urgency of the orders. Then, the bound raw material near-expiry emergency window days, the percentage of the dynamic full warehouse threshold for finished goods, and the temporary stacking allowance coefficient are output based on the current seasonal mode.
[0008] Obtain the physical occupancy rate and available temporary storage area of each warehouse area of the enterprise, calculate the current remaining capacity ratio of the warehouse location based on the physical occupancy rate of each warehouse area, and then correct the current remaining capacity ratio of the warehouse location based on the current seasonal pattern to obtain the production permit weight.
[0009] Obtain the remaining safe usage days for each batch of raw materials of the enterprise, dynamically determine the near-expiration judgment threshold according to the current seasonal pattern, and calculate the basic urgency of each batch of raw materials based on the comparison result between the remaining safe usage days of each batch of raw materials and the near-expiration judgment threshold.
[0010] The basic urgency of each raw material batch is weighted according to the order urgency to obtain the weighted urgency of each raw material batch, and combined with the production license weight to obtain the final execution score of each raw material batch;
[0011] Based on the final execution score of each raw material batch and the current seasonal pattern, combined with the preset enterprise peak-valley-flat electricity price schedule, a production execution instruction for each raw material batch is generated. The production execution instruction includes the planned start time and the allowed consumption quantity, and a production plan table is output.
[0012] As a further aspect of the present invention, the collection of enterprise operational status data specifically includes:
[0013] Read the daily inbound tonnage of the enterprise and use the daily inbound tonnage as the inbound data;
[0014] Read the daily outbound quantity of the enterprise and use the daily outbound quantity as the outbound data;
[0015] Read the delivery urgency flag of each order of the enterprise on the same day, count the number of expedited orders, and use the percentage obtained by dividing the number of expedited orders by the total number of orders on the same day as the order urgency.
[0016] As a further aspect of the present invention, the determination of the current seasonal pattern specifically includes:
[0017] Based on the aforementioned inbound data, the arithmetic mean of the daily inbound tonnage over the past seven days is calculated as the average raw material inbound rate over the past seven days.
[0018] Obtain the average inbound rate for each month of the past twelve months, and calculate the arithmetic mean of the average inbound rate for each month of the past twelve months as the annual monthly average.
[0019] The ratio of the average raw material inbound rate over the most recent seven days to the monthly average rate over the whole year is used as the judgment ratio.
[0020] The determination ratio is compared with the preset first ratio threshold and the second ratio threshold, and the order urgency is compared with the preset first urgency threshold and the second urgency threshold. Based on the comparison results, the current seasonal mode is determined to be peak season mode, off-season mode, or shoulder season mode.
[0021] As a further aspect of the present invention, the step of determining whether the current seasonal pattern is a peak season pattern, off-season pattern, or shoulder season pattern based on the comparison results specifically involves:
[0022] When the determination ratio is greater than the first ratio threshold and the order urgency is greater than the first urgency threshold, the current seasonal mode is determined to be the peak season mode.
[0023] When the determination ratio is less than the second ratio threshold and the order urgency is less than the second urgency threshold, the current seasonal mode is determined to be the off-season mode;
[0024] In other cases, the current seasonal pattern is determined to be a non-seasonal pattern.
[0025] As a further aspect of the present invention, obtaining the production license weight specifically includes:
[0026] Read the ratio of the current occupied volume of each independent storage area to the total storage capacity of that storage area as the physical occupancy rate of each storage area, and at the same time read the available temporary storage area of each independent storage area;
[0027] The difference between value 1 and the physical occupancy rate of each storage area is used as the proportion of the remaining capacity of the current storage location;
[0028] The correction coefficient is determined based on the current seasonal pattern, wherein the correction coefficient corresponding to the peak season pattern is less than the correction coefficient corresponding to the shoulder season pattern, which is less than the correction coefficient corresponding to the off-season pattern.
[0029] The product of the current remaining capacity ratio of the storage location and the correction coefficient is calculated as the production permit weight for that storage area.
[0030] As a further aspect of the present invention, the calculation of the basic urgency for each batch of raw materials specifically includes the following sub-steps:
[0031] Read the expiration date of each raw material batch. For raw materials with a clearly defined expiration date, calculate the number of days from the current date to the expiration date of the raw material batch as the remaining safe usage days.
[0032] The threshold for judging the imminent arrival of the peak season is dynamically determined based on the current seasonal pattern, wherein the threshold for judging the imminent arrival of the peak season is less than the threshold for judging the imminent arrival of the off-season, which is less than the threshold for judging the imminent arrival of the off-season.
[0033] The remaining safe usage days for each batch of raw materials are compared with the near-expiration judgment threshold. If the remaining safe usage days do not exceed the near-expiration judgment threshold, the difference between the near-expiration judgment threshold and the remaining safe usage days is calculated, and then the difference is incremented by one to obtain the basic urgency. If the remaining safe usage days are greater than the near-expiration judgment threshold, the basic urgency is set to zero.
[0034] As a further aspect of the present invention, obtaining the final execution score for each raw material batch specifically includes:
[0035] Calculate the weighted urgency of each raw material batch based on the basic urgency and order urgency of each batch;
[0036] Using the weighted urgency and production license weight of each raw material batch as input, the final execution score for the corresponding raw material batch is calculated.
[0037] As a further aspect of the present invention, the generation of production execution instructions for each batch of raw materials specifically includes:
[0038] Obtain a pre-set peak-valley-flat electricity price schedule for enterprises. The electricity price schedule includes the electricity price type for each time period of the day, and the electricity price type includes valley period, normal period and peak period.
[0039] A first score threshold and a second score threshold are determined based on the current seasonal pattern, wherein the first score threshold and the second score threshold corresponding to the peak season pattern are both higher than the threshold corresponding to the off-season pattern, and the first score threshold and the second score threshold corresponding to the off-season pattern are both lower than the threshold corresponding to the off-season pattern.
[0040] For each batch of raw materials, the final execution score is compared with the first score threshold and the second score threshold:
[0041] If the final execution score is not less than the first score threshold, the generated production execution instruction is to start the corresponding process at full power of the production line during the valley period immediately following the current time in the electricity price time table, and set the allowable consumption quantity of the raw material batch to the total remaining quantity of the batch.
[0042] If the final execution score is between the second score threshold and the first score threshold, the generated production execution instruction is to produce at standard power in the next normal period in the electricity price time table, and set the allowable consumption quantity of the raw material batch to half the quantity of the batch.
[0043] If the final execution score does not exceed the second score threshold, the generated production execution instruction is to abandon the production of the raw material batch and generate a raw material scrap warning record.
[0044] Another objective of this invention is to provide an intelligent analysis system for peak-valley-flat electricity consumption strategies in industrial enterprises, the system comprising:
[0045] The operational status data acquisition module is used to collect the enterprise's operational status data, which includes inbound data, outbound data, and order urgency, wherein the order urgency is the percentage of expedited orders to the total number of orders.
[0046] The seasonal pattern determination module is used to calculate the ratio of the average raw material inbound rate of the past seven days to the monthly average rate of the whole year based on the inbound data, and to determine the current seasonal pattern based on the determination ratio and the order urgency.
[0047] The warehouse capacity calculation module is used to obtain the physical occupancy rate and available temporary storage area of each warehouse area of the enterprise, and calculate the remaining capacity ratio of the current warehouse location based on the physical occupancy rate of each warehouse area. Then, it is corrected according to the current seasonal pattern to obtain the production permit weight.
[0048] The raw material batch urgency calculation module is used to obtain the remaining safe use days of each raw material batch of the enterprise, dynamically determine the near-expiration judgment threshold according to the current seasonal pattern, and then calculate the basic urgency of each raw material batch based on the comparison result between the remaining safe use days of each raw material batch and the near-expiration judgment threshold.
[0049] The weighted urgency generation module is used to weight the basic urgency of each raw material batch according to the order urgency to obtain the weighted urgency of each raw material batch, and combine it with the production license weight to obtain the final execution score of each raw material batch.
[0050] The production execution instruction generation module is used to generate a production execution instruction for each raw material batch based on the final execution score of each raw material batch and the current seasonal pattern, combined with the preset enterprise peak-valley-flat electricity price time table. The production execution instruction includes the planned start time and the allowed consumption quantity, and outputs a production plan table.
[0051] The beneficial effects of this invention are:
[0052] This invention dynamically determines seasonal patterns by collecting inbound and outbound data and order urgency. It compares the remaining safe days of raw materials with seasonally appropriate near-expiry thresholds to obtain a basic urgency level. This is then combined with order urgency weighting and storage capacity constraints to generate a final execution score, ultimately outputting a production plan based on an electricity price schedule. This method transforms peak-valley-flat electricity usage strategies from isolated electricity cost optimization tools into intelligent scheduling systems that work collaboratively with near-expiry raw material management, order delivery pressure, and warehouse physical limits. Enterprises do not need to increase hardware investment; they can prioritize delivery and prevent warehouse overload during peak seasons through software logic alone, while maximizing the use of off-peak electricity prices to reduce electricity costs during off-peak seasons, and avoiding raw material spoilage losses due to waiting for low-priced electricity. This method is particularly suitable for industrial enterprises such as food processing, chemicals, and pharmaceuticals, which have sensitive raw material shelf lives, limited storage space, and strong order seasonality, significantly improving the matching degree between production scheduling and electricity usage strategies. Attached Figure Description
[0053] Figure 1A flowchart of the intelligent analysis method for peak-valley-level electricity consumption strategy of industrial enterprises provided in the embodiments of the present invention;
[0054] Figure 2 A flowchart for collecting enterprise operational status data provided in an embodiment of the present invention;
[0055] Figure 3 A flowchart for determining the current seasonal pattern provided in an embodiment of the present invention;
[0056] Figure 4 A flowchart for obtaining production license weights provided in this embodiment of the invention;
[0057] Figure 5 A flowchart for calculating the basic urgency of each raw material batch is provided for embodiments of the present invention;
[0058] Figure 6 A flowchart for obtaining the final execution score for each raw material batch, provided for embodiments of the present invention;
[0059] Figure 7 A flowchart for generating production execution instructions for each batch of raw materials is provided as an embodiment of the present invention;
[0060] Figure 8 The structural block diagram of the intelligent analysis system for peak-valley-level electricity consumption strategy of industrial enterprises provided in the embodiments of the present invention. Detailed Implementation
[0061] To make the objectives, technical solutions, and advantages of this invention clearer, the invention will be further described in detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative and not intended to limit the invention.
[0062] Figure 1 The flowchart of the intelligent analysis method for peak-valley-flat electricity consumption strategy of industrial enterprises provided in the embodiments of the present invention is as follows: Figure 1 As shown, the method includes:
[0063] S100, collect enterprise operational status data, including inbound data, outbound data, and order urgency, wherein the order urgency is the percentage of expedited orders to the total number of orders;
[0064] Inventory intake data reflects the rhythm and scale of a company's raw material supply and is a core indicator for judging production capacity and market demand trends. Changes in inventory intake can help predict peak and off-peak production periods, providing basic data for subsequent seasonal pattern determination, and also assessing supply chain stability.
[0065] Outbound data reflects the speed of product sales and market absorption capacity. Combined with inbound data, it can be used to calculate inventory turnover rate and assess inventory health. Outbound data can also verify the authenticity of order urgency, preventing overproduction caused by inflated order numbers.
[0066] Order urgency: This directly reflects the market's time requirements for product delivery and is a key factor in determining production priority. A higher proportion of expedited orders indicates more urgent market demand and a greater risk of default, requiring priority production to ensure delivery.
[0067] S200 calculates the ratio of the average raw material inbound rate over the past seven days to the monthly average rate over the whole year based on the inbound data, and determines the current seasonal pattern based on the ratio and order urgency.
[0068] This step first calculates the ratio of the average raw material inbound rate over the past seven days to the monthly average for the whole year. Then, it combines this with the proportion of urgent orders in the order urgency ranking to classify the company's current production status into peak season, off-season, or shoulder season. This classification does not rely on any external calendar or manual preset; it is dynamically generated based entirely on the company's own material turnover speed and order urgency, and is therefore adaptive.
[0069] The seasonal pattern determination results directly serve as the correction coefficient for production license weight, the threshold for judging raw materials nearing their expiration date, and the grading threshold for the final execution score.
[0070] During peak season, storage space is tight and raw material turnover is rapid. A smaller correction coefficient is used to reduce the weight of production permits and suppress unnecessary production. A smaller threshold for determining near-expiration dates is also used, ensuring that only extremely near-expiration raw materials trigger production, thus avoiding the occupation of valuable storage capacity. Conversely, during off-season, the tolerance for near-expiration dates is relaxed, encouraging early production using off-peak electricity prices.
[0071] The special effect of this step is that it deeply couples the unique production and sales fluctuation patterns of industrial enterprises with peak-valley-flat electricity consumption strategies, so that electricity price optimization is no longer divorced from the actual production rhythm. This allows for priority to ensure delivery and prevent warehouse overload during peak seasons, and maximizes the use of off-peak electricity prices to reduce electricity costs during off-peak seasons.
[0072] S300: Obtain the physical occupancy rate and available temporary storage area of each warehouse area of the enterprise, calculate the current remaining capacity ratio of the warehouse location based on the physical occupancy rate of each warehouse area, and then correct the current remaining capacity ratio of the warehouse location based on the current seasonal pattern to obtain the production permit weight.
[0073] Because companies have varying tolerances for storage space shortages under different seasonal patterns, this step introduces a seasonal adjustment coefficient to weight the remaining capacity ratio. Under peak season conditions, the adjustment coefficient is smaller, meaning that even if the remaining capacity ratio is acceptable, the weight of production permits is lowered, thus proactively suppressing production impulses and preventing sudden storage overload from affecting normal shipments. Under off-season conditions, the adjustment coefficient is larger, so even if the remaining capacity ratio is low, the weight of production permits remains high, encouraging companies to utilize low-priced electricity periods for early production and to occupy temporary access routes. The adjustment coefficient for the neutral season is in the middle range.
[0074] In this way, production permit weighting integrates real-time warehouse status with seasonal production and sales patterns, providing precise capacity constraint signals for subsequent raw material batch decisions. This step ensures that peak-valley-flat electricity consumption strategies no longer blindly initiate production, but always adhere to the physical limits of warehousing, avoiding the contradictory situation of having electricity to produce but no warehouse space to store it.
[0075] S400: Obtain the remaining safe usage days for each batch of raw materials of the enterprise, dynamically determine the near-expiration judgment threshold according to the current seasonal pattern, and calculate the basic urgency of each batch of raw materials based on the comparison result between the remaining safe usage days of each batch of raw materials and the near-expiration judgment threshold.
[0076] Because the turnover rate of raw materials varies significantly under different seasonal patterns, this step dynamically determines the near-expiration threshold based on the current seasonal pattern. During peak season, raw material turnover is fast, and the near-expiration threshold is set relatively low; only batches truly close to the end of their shelf life are considered near expiration, avoiding overreaction. During off-season, raw material turnover is slow, and the near-expiration threshold is set relatively high, triggering near-expiration warnings more early to prevent raw materials from spoiling due to prolonged storage.
[0077] The remaining safe days for each batch are compared with the near-expiration threshold. If the value does not exceed the threshold, the difference between the threshold and the remaining days is calculated and then incremented by one as the basic urgency level. The larger the difference, the more urgent the situation. If the value exceeds the threshold, the basic urgency level is zero.
[0078] This step aligns the physical shelf life of raw materials with seasonal production rhythms, enabling peak-valley-flat electricity strategies to prioritize the disposal of raw materials that are about to be scrapped, thus avoiding material losses that outweigh electricity cost savings due to waiting for off-peak electricity prices.
[0079] S500: The basic urgency of each raw material batch is weighted according to the order urgency to obtain the weighted urgency of each raw material batch, and combined with the production license weight, the final execution score of each raw material batch is obtained.
[0080] Order urgency reflects the proportion of urgent orders to total orders. The higher this proportion, the greater the delivery pressure on the company, and production should be prioritized accordingly. Through weighting, even if the basic urgency of a batch of raw materials is the same, batches with higher order urgency will receive a higher weighted urgency, thus gaining priority in subsequent decision-making. Multiplying the weighted urgency by the production permit weight yields the final execution score. The production permit weight represents the storage capacity's ability to accommodate production, while the weighted urgency represents the intensity of demand for production driven by raw material risk and order pressure.
[0081] The logic behind multiplying these two factors is as follows: a high final execution score only occurs when both demand intensity and acceptance capacity are high. If storage space is full, resulting in a very low production permit weight, even if raw materials are extremely urgent, the final execution score will be suppressed, and the system will abandon production for that batch to avoid inventory buildup. Conversely, if storage space is ample but raw materials are not urgent, the final execution score will also be low, and the system will not blindly produce.
[0082] This step constructs a multi-dimensional decision-making index that unifies the risks of raw material spoilage, order delivery pressure, and physical limitations of warehousing into a single value, providing a concise and comprehensive basis for subsequent peak-valley-flat electricity pricing. This design avoids the decision conflicts caused by handling each constraint separately in traditional methods, ensuring that electricity cost optimization truly serves the overall operational goals of the enterprise.
[0083] S600 generates a production execution instruction for each raw material batch based on the final execution score of each raw material batch and the current seasonal pattern, combined with the preset enterprise peak-valley-flat electricity price time table. The production execution instruction includes the planned start time and the allowed consumption quantity, and outputs a production plan table.
[0084] The first and second score thresholds are dynamically determined based on the current seasonal pattern. Both thresholds are increased during peak season and decreased during off-season. This seasonal adjustment ensures that only batches with extremely high scores are allowed to produce during peak season, while conditions are relaxed to encourage production during off-season. For each raw material batch, its final execution score is compared to the two thresholds. If the final execution score is not lower than the first score threshold, the instruction is to start the corresponding production line at full power during the immediate off-peak period and consume all remaining quantities of the batch. If the final execution score is between the second and first thresholds, the instruction is to produce at standard power during the next normal period, consuming only half the quantity. If the final execution score does not exceed the second threshold, the instruction is to abandon the batch and trigger a scrap warning.
[0085] The purpose of this three-tiered strategy is to prioritize the allocation of production resources to the most urgent raw material batches, while matching different electricity price periods according to their urgency. Full-power off-peak production is suitable for the highest priority batches, maximizing electricity savings while immediately processing near-expiry raw materials. Half-power normal-peak production is suitable for medium-priority batches, slowing down the production pace within acceptable electricity cost limits. Abandoned production is suitable for low-priority batches, avoiding unnecessary occupation of storage space and production lines.
[0086] This step seamlessly integrates multi-dimensional decision scores with electricity pricing periods, transforming peak-valley-flat electricity consumption strategies from isolated energy-saving measures into an intelligent scheduling system that works in conjunction with raw material near-expiration management and warehouse capacity control. Through dynamic adjustments to thresholds based on seasonal patterns, businesses can prioritize delivery during peak seasons and prioritize electricity cost savings during off-seasons, achieving differentiated optimization goals for different periods.
[0087] like Figure 2 As shown, the collected enterprise operational status data specifically includes:
[0088] S110, Read the daily inbound tonnage of the enterprise and use the daily inbound tonnage as the inbound data;
[0089] S120, Read the daily outbound quantity of the enterprise and use the daily outbound quantity as the outbound data;
[0090] S130: Read the delivery urgency flag of each order of the enterprise on the same day, count the number of expedited orders, and use the percentage obtained by dividing the number of expedited orders by the total number of orders on the same day as the order urgency.
[0091] ;
[0092] in, Order urgency is expressed as a percentage. This represents the number of rush orders placed that day. This represents the total number of orders placed that day.
[0093] like Figure 3 As shown, determining the current seasonal pattern specifically includes:
[0094] S210, Based on the warehousing data, calculate the arithmetic average of the daily warehousing tons for the most recent seven days as the average raw material warehousing rate for the most recent seven days.
[0095] ;
[0096] in, This represents the average raw material inbound rate over the past seven days, in tons per day. Let represent the daily inbound tonnage on day i, where i ranges from 1 to 7, representing the most recent seven consecutive days.
[0097] S220, obtain the average inbound rate for each month of the past twelve months, and calculate the arithmetic mean of the average inbound rate for each month of the past twelve months as the annual monthly average.
[0098] ;
[0099] in, This represents the average monthly inbound rate throughout the year, expressed in tons per day. Let j be the average inbound rate over the past j-th month, where j ranges from 1 to 12, representing the past twelve consecutive months.
[0100] S230, calculate the ratio of the average raw material inbound rate of the most recent seven days to the monthly average rate of the whole year as the judgment ratio. ;
[0101] S240, compare the determination ratio with the preset first ratio threshold and the second ratio threshold respectively, and compare the order urgency with the preset first urgency threshold and the second urgency threshold respectively, and determine the current seasonal mode as peak season mode, off-season mode, or flat season mode based on the comparison results.
[0102] Setting the first and second ratio thresholds and the urgency threshold is to quantify the continuously changing inbound rate and order urgency into discrete seasonal pattern levels. This quantification simplifies complex market conditions into three typical scenarios, enabling the system to automatically match corresponding production parameters and power consumption strategies according to different scenarios, significantly reducing decision-making complexity.
[0103] The core purpose of comparing and determining seasonal patterns is to achieve dynamic adaptation of production strategies. Under different seasonal patterns, enterprises face completely different market environments, resource constraints, and business objectives. Only by adjusting production rhythms and electricity consumption plans in a targeted manner can electricity costs be minimized while ensuring production delivery.
[0104] Specifically, determining whether the current seasonal pattern is peak season, off-season, or shoulder season based on the comparison results involves:
[0105] When the determination ratio is greater than the first ratio threshold and the order urgency is greater than the first urgency threshold, the current seasonal mode is determined to be the peak season mode, which corresponds to a stage where raw material supply is sufficient and market demand is strong. At this time, the core objective of production is to ensure order delivery. Electricity costs can be appropriately reduced to meet delivery speed, and emergency production is allowed during peak hours.
[0106] When the determination ratio is less than the second ratio threshold and the order urgency is less than the second urgency threshold, the current seasonal mode is determined to be the off-season mode, which corresponds to a stage of insufficient raw material supply and sluggish market demand. At this time, the core objective of production is to reduce costs and avoid inventory backlog. Low-priced off-peak electricity should be used as much as possible for production reserves, and production during peak hours should be strictly controlled.
[0107] In other cases, the current seasonal pattern is determined to be a non-peak season, corresponding to the transition phase. The production goal is to balance delivery speed and electricity costs, taking into account both efficiency and economy, and to prioritize production during normal periods.
[0108] Different threshold combinations are used for peak and off-peak seasons because these two modes represent two extreme states of enterprise production and operation, requiring completely opposite production strategies. The use of "AND" logic ensures the accuracy of seasonal mode determination: only when both "high inventory inflow rate" and "high order urgency" are met simultaneously can it be determined as a peak season, avoiding blindly expanding production when raw material supply is insufficient; similarly, only when both "low inventory inflow rate" and "low order urgency" are met simultaneously can it be determined as an off-peak season, avoiding mistakenly reducing the production pace when market demand is still strong.
[0109] like Figure 4 As shown, obtaining the production license weight specifically includes:
[0110] S310, read the ratio of the current occupied volume of each independent storage area to the total storage capacity of the storage area as the physical occupancy rate of each storage area, and at the same time read the available temporary storage area of each independent storage area;
[0111] S320, calculate the difference between value 1 and the physical occupancy rate of each storage area as the current remaining capacity ratio of the storage location;
[0112] ;
[0113] This represents the remaining capacity percentage of the current storage location, with a value range of [0,1]. This represents the current occupied volume of the reservoir area; This refers to the total storage capacity of the reservoir area.
[0114] S330, determine the correction coefficient according to the current seasonal pattern, wherein the correction coefficient corresponding to the peak season pattern is less than the correction coefficient corresponding to the shoulder season pattern and less than the correction coefficient corresponding to the off-season pattern.
[0115] S340, calculate the product of the current remaining capacity ratio of the storage location and the correction coefficient as the production permit weight for the storage area.
[0116] ;
[0117] in, This represents the production permit weight for the storage area, with a value range of [0,1]. The correction factor corresponds to the seasonal pattern, satisfying the condition that the peak season correction factor < the off-season correction factor < the low-season correction factor.
[0118] Businesses have varying tolerances for inventory capacity depending on the season. During peak seasons, products are shipped out quickly, and finished goods inventory turnover is rapid, preventing prolonged stockpiling. Therefore, higher inventory occupancy rates are permissible. During off-seasons, however, product shipments are slow, and excessively high inventory occupancy rates can lead to inventory backlog risks, tying up significant amounts of capital and warehousing resources. Consequently, stricter control over production scale is necessary.
[0119] The proportion of remaining storage capacity is adjusted seasonally. During peak seasons, the adjustment coefficient is reduced to decrease the weight of production permits, thereby limiting the rapid growth of production scale. During off-seasons, the adjustment coefficient is increased to increase the weight of production permits, encouraging production and stockpiling during periods of low prices.
[0120] Available temporary storage area refers to the area within the warehouse that can be temporarily used for storing goods, excluding fixed shelving and necessary aisles. When calculating production permit weights, available temporary storage area serves as an additional storage capacity buffer: when the physical occupancy rate of fixed warehouse areas is high, temporary storage area can be used to increase available storage capacity, thereby increasing the production permit weight and allowing for appropriate expansion of production scale; when the temporary storage area is also full, the production permit weight will drop to zero, and the system will stop generating new production orders.
[0121] like Figure 5 As shown, the calculation of the basic urgency for each raw material batch specifically includes the following sub-steps:
[0122] S410, Read the expiration date of each raw material batch. For raw materials with a specified expiration date, calculate the number of days from the current date to the expiration date of the raw material batch as the remaining safe usage days.
[0123] ;
[0124] in, This refers to the remaining safe usage days for the raw material batch. This is the expiration date of the raw material batch; This is the current date.
[0125] S420, dynamically determine the imminent date judgment threshold according to the current seasonal pattern, wherein the imminent date judgment threshold corresponding to the peak season pattern is less than the imminent date judgment threshold corresponding to the off-season pattern and less than the imminent date judgment threshold corresponding to the off-season pattern.
[0126] The production pace and raw material consumption rate of enterprises vary depending on the seasonal pattern. During peak season, production load is high and raw material consumption is fast, so even raw materials close to their expiration date can be consumed in time. During off-season, production load is low and raw material consumption is slow, requiring earlier processing of near-expiration raw materials to avoid waste due to untimely consumption.
[0127] This serves as a dividing line for determining whether a raw material should be prioritized for production. A basic urgency level is only established when the remaining safe days of use for a raw material are below this threshold; otherwise, the raw material does not have production priority.
[0128] S430, compare the remaining safe usage days of each raw material batch with the near-expiration judgment threshold. If the remaining safe usage days do not exceed the near-expiration judgment threshold, calculate the difference between the near-expiration judgment threshold and the remaining safe usage days, and then add one to the difference as the basic urgency. If the remaining safe usage days are greater than the near-expiration judgment threshold, set the basic urgency to zero.
[0129] ;
[0130] The urgency of raw material batches; This is the threshold for judging the approaching period corresponding to the current seasonal pattern, in days.
[0131] Setting the basic urgency level to the difference plus one ensures that even if the raw material is exactly on the day of the near-expiry judgment threshold, it will still receive at least 1 point of basic urgency, avoiding the situation of "near-expiry raw materials having zero priority". It also makes the basic urgency level linearly positively correlated with the degree of near-expiry of the raw material. The fewer the remaining safe days, the higher the basic urgency level and the higher the production priority. When the remaining safe days are greater than the near-expiry judgment threshold, the basic urgency level is set to zero in order to eliminate the interference of non-near-expiry raw materials and allow the system to focus only on raw material batches that need to be handled urgently.
[0132] like Figure 6 As shown, obtaining the final execution score for each raw material batch specifically includes:
[0133] S510, Calculate the weighted urgency of each raw material batch based on the basic urgency and order urgency of each batch. ;
[0134] The production priority of raw materials depends not only on the degree of their expiration but also on the urgency of market demand for the product. Even if the raw materials are nearing their expiration date, production should not be undertaken blindly if there are no corresponding orders, otherwise it will lead to a backlog of finished goods inventory. Conversely, if the orders are highly urgent, even if the raw materials are only moderately nearing their expiration date, their production priority should be appropriately increased to ensure order delivery.
[0135] S520, using the weighted urgency and production license weight of each raw material batch as input, calculate the final execution score for the corresponding raw material batch.
[0136] ;
[0137] This represents the final execution score for the raw material batch.
[0138] The weighted urgency level comprehensively reflects the near-expiration risk of raw materials and the delivery pressure in the market, and is a core indicator for determining production priority.
[0139] The reason for multiplying the weighted urgency level by the production permit weight to obtain the final execution score is that production decisions must consider not only the urgency of demand but also the capacity constraints and inventory limitations of the supply side. The production permit weight reflects the degree to which the remaining capacity of the current storage area constrains the scale of production; the higher the weight, the more ample the inventory space, which can support larger-scale production.
[0140] The final execution score integrates information from three dimensions: near-expiry raw material risk, order delivery pressure, and inventory capacity constraints. It serves as the sole basis for the system to allocate production time slots and quantities. The higher the score, the more priority the production of that raw material batch needs to be arranged.
[0141] like Figure 7 As shown, the generation of production execution instructions for each raw material batch specifically includes:
[0142] S610, Obtain a preset enterprise peak-valley-flat electricity price time schedule, wherein the electricity price time schedule includes the electricity price type for each time period of the day, and the electricity price type includes valley period, normal period and peak period;
[0143] S620, determine a first score threshold and a second score threshold according to the current seasonal pattern, wherein the first score threshold and the second score threshold corresponding to the peak season pattern are both higher than the threshold corresponding to the off-season pattern, and the first score threshold and the second score threshold corresponding to the off-season pattern are both lower than the threshold corresponding to the off-season pattern.
[0144] Under different seasonal patterns, companies have different production goals and resource constraints. During peak seasons, the core objective of production is to ensure delivery, so it is necessary to raise the score threshold, and only the most urgent batches of raw materials will be scheduled for production during high-price peak periods. During off-seasons, the core objective of production is to reduce costs, so it is necessary to lower the score threshold and encourage more batches of raw materials to be produced during low-price trough periods.
[0145] The first score threshold represents the dividing line for emergency production. Raw material batches with scores exceeding this threshold have the highest priority and must be produced immediately, even if it requires the use of electricity during peak price periods.
[0146] The second score threshold represents the dividing line for production. Raw material batches with scores between the two thresholds have medium priority and can be scheduled for production during normal periods; raw material batches with scores below the threshold have no production value and should be scrapped.
[0147] S630, for each batch of raw materials, compare the final execution score with the first score threshold and the second score threshold:
[0148] If the final execution score is not less than the first score threshold, the generated production execution instruction is to start the corresponding process at full power of the production line during the valley period immediately following the current time in the electricity price time table, and set the allowable consumption quantity of the raw material batch to the total remaining quantity of the batch.
[0149] If the final execution score is between the second score threshold and the first score threshold, the generated production execution instruction is to produce at standard power in the next normal period in the electricity price time table, and set the allowable consumption quantity of the raw material batch to half the quantity of the batch.
[0150] If the final execution score does not exceed the second score threshold, the generated production execution instruction is to abandon the production of the raw material batch and generate a raw material scrap warning record.
[0151] Electricity prices are lowest during off-peak hours, so production tasks with the highest priority are scheduled during off-peak hours; electricity prices are next lowest during normal hours, so production tasks with medium priority are scheduled during off-peak hours; electricity prices are highest during peak hours, so production is not scheduled during off-peak hours unless there is a particularly urgent situation.
[0152] For the highest priority batch of raw materials, consuming all remaining quantities at once can avoid the efficiency loss caused by multiple production changes, while ensuring that raw materials nearing their expiration date can be consumed in a timely manner to avoid scrap losses.
[0153] For medium-priority raw material batches, consuming only half the quantity can balance delivery needs and electricity costs, while maintaining a certain level of inventory flexibility to cope with potential emergency orders in the future.
[0154] For the lowest priority batches of raw materials, abandoning production and generating a scrap warning can prevent blind production when there is no order demand, thus preventing finished product inventory backlog and further waste of electricity costs.
[0155] Figure 8 The structural block diagram of the intelligent analysis system for peak-valley-flat electricity consumption strategy of industrial enterprises provided in the embodiments of the present invention is as follows: Figure 8 As shown, the system includes:
[0156] The operational status data acquisition module 100 is used to collect the operational status data of the enterprise. The operational status data includes inbound data, outbound data, and order urgency. The order urgency is the percentage of the number of urgent orders to the total number of orders.
[0157] The seasonal mode determination module 200 is used to calculate the ratio of the average raw material inbound rate of the past seven days to the monthly average rate of the whole year based on the inbound data, and to determine the current seasonal mode based on the determination ratio and the urgency of the order. Then, based on the current seasonal mode, it outputs the number of days of the near-expiry emergency window for raw materials, the percentage of the dynamic full warehouse threshold for finished goods, and the temporary stacking allowance coefficient.
[0158] The warehouse capacity calculation module 300 is used to obtain the physical occupancy rate and available temporary storage area of each warehouse area of the enterprise, calculate the remaining capacity ratio of the current warehouse location based on the physical occupancy rate of each warehouse area, and then correct the remaining capacity ratio of the current warehouse location based on the current seasonal pattern to obtain the production permit weight.
[0159] The raw material batch urgency calculation module 400 is used to obtain the remaining safe use days of each raw material batch of the enterprise, and dynamically determine the near-expiration judgment threshold according to the current seasonal pattern.
[0160] The weighted urgency generation module 500 is used to weight the basic urgency of each raw material batch according to the order urgency to obtain the weighted urgency of each raw material batch, and combine it with the production license weight to obtain the final execution score of each raw material batch.
[0161] The production execution instruction generation module 600 is used to generate a production execution instruction for each raw material batch based on the final execution score of each raw material batch and the current seasonal pattern, combined with the preset enterprise peak-valley-flat electricity price time table. The production execution instruction includes the planned start time and the allowed consumption quantity, and outputs a production plan table.
[0162] The technical features of the above embodiments can be combined in any way. For the sake of brevity, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.
[0163] The embodiments described above are merely illustrative of several implementations of the present invention, and while the descriptions are specific and detailed, they should not be construed as limiting the scope of the present invention. It should be noted that those skilled in the art can make various modifications and improvements without departing from the concept of the present invention, and these modifications and improvements all fall within the scope of protection of the present invention. Therefore, the scope of protection of this patent should be determined by the appended claims.
[0164] The above description is only a preferred embodiment of the present invention and is not intended to limit the present invention. Any modifications, equivalent substitutions, and improvements made within the spirit and principles of the present invention should be included within the protection scope of the present invention.
Claims
1. A smart analysis method for peak-valley-level electricity consumption strategies in industrial enterprises, characterized in that, The method includes: Collect enterprise operational status data, which includes inbound data, outbound data, and order urgency, where order urgency is the percentage of expedited orders to the total number of orders. The ratio of the average raw material inbound rate over the past seven days to the monthly average rate for the whole year is calculated based on the inbound data. The current seasonal pattern is then determined based on the ratio and the urgency of orders. Obtain the physical occupancy rate and available temporary storage area of each warehouse area of the enterprise, calculate the current remaining capacity ratio of the warehouse location based on the physical occupancy rate of each warehouse area, and then correct the current remaining capacity ratio of the warehouse location based on the current seasonal pattern to obtain the production permit weight. Obtain the remaining safe usage days for each batch of raw materials of the enterprise, dynamically determine the near-expiration judgment threshold according to the current seasonal pattern, and calculate the basic urgency of each batch of raw materials based on the comparison result between the remaining safe usage days of each batch of raw materials and the near-expiration judgment threshold. The basic urgency of each raw material batch is weighted according to the order urgency to obtain the weighted urgency of each raw material batch, and combined with the production license weight to obtain the final execution score of each raw material batch; Based on the final execution score of each raw material batch and the current seasonal pattern, combined with the preset enterprise peak-valley-flat electricity price schedule, a production execution instruction for each raw material batch is generated. The production execution instruction includes the planned start time and the allowed consumption quantity, and a production plan table is output.
2. The method according to claim 1, characterized in that, The collected enterprise operational status data specifically includes: Read the daily inbound tonnage of the enterprise and use the daily inbound tonnage as the inbound data; Read the daily outbound quantity of the enterprise and use the daily outbound quantity as the outbound data; Read the delivery urgency flag of each order of the enterprise on the same day, count the number of expedited orders, and use the percentage obtained by dividing the number of expedited orders by the total number of orders on the same day as the order urgency.
3. The method according to claim 2, characterized in that, The determination of the current seasonal pattern specifically includes: Based on the aforementioned inbound data, the arithmetic mean of the daily inbound tonnage over the past seven days is calculated as the average raw material inbound rate over the past seven days. Obtain the average inbound rate for each month of the past twelve months, and calculate the arithmetic mean of the average inbound rate for each month of the past twelve months as the annual monthly average. The ratio of the average raw material inbound rate over the most recent seven days to the monthly average rate over the whole year is used as the judgment ratio. The determination ratio is compared with the preset first ratio threshold and the second ratio threshold, and the order urgency is compared with the preset first urgency threshold and the second urgency threshold. Based on the comparison results, the current seasonal mode is determined to be peak season mode, off-season mode, or shoulder season mode.
4. The method according to claim 3, characterized in that, The process of determining whether the current seasonal pattern is a peak season, off-season, or shoulder season based on the comparison results is as follows: When the determination ratio is greater than the first ratio threshold and the order urgency is greater than the first urgency threshold, the current seasonal mode is determined to be the peak season mode. When the determination ratio is less than the second ratio threshold and the order urgency is less than the second urgency threshold, the current seasonal mode is determined to be the off-season mode; In other cases, the current seasonal pattern is determined to be a non-seasonal pattern.
5. The method according to claim 4, characterized in that, The acquisition of production license weights specifically includes: Read the ratio of the current occupied volume of each independent storage area to the total storage capacity of that storage area as the physical occupancy rate of each storage area, and at the same time read the available temporary storage area of each independent storage area; The difference between value 1 and the physical occupancy rate of each storage area is used as the proportion of the remaining capacity of the current storage location; The correction coefficient is determined based on the current seasonal pattern, wherein the correction coefficient corresponding to the peak season pattern is less than the correction coefficient corresponding to the shoulder season pattern, which is less than the correction coefficient corresponding to the off-season pattern. The product of the current remaining capacity ratio of the storage location and the correction coefficient is calculated as the production permit weight for that storage area.
6. The method according to claim 4, characterized in that, The calculation of the basic urgency for each raw material batch specifically includes the following sub-steps: Read the expiration date of each raw material batch. For raw materials with a clearly defined expiration date, calculate the number of days from the current date to the expiration date of the raw material batch as the remaining safe usage days. The threshold for judging the imminent arrival of the peak season is dynamically determined based on the current seasonal pattern, wherein the threshold for judging the imminent arrival of the peak season is less than the threshold for judging the imminent arrival of the off-season, which is less than the threshold for judging the imminent arrival of the off-season. The remaining safe usage days for each batch of raw materials are compared with the near-expiration judgment threshold. If the remaining safe usage days do not exceed the near-expiration judgment threshold, the difference between the near-expiration judgment threshold and the remaining safe usage days is calculated, and then the difference is incremented by one to be used as the basic urgency. If the remaining safe usage days are greater than the near-expiration judgment threshold, then the basic urgency level is set to zero.
7. The method according to claim 6, characterized in that, The process of obtaining the final execution score for each raw material batch specifically includes: Calculate the weighted urgency of each raw material batch based on the basic urgency and order urgency of each batch; Using the weighted urgency and production license weight of each raw material batch as input, the final execution score for the corresponding raw material batch is calculated.
8. The system according to claim 7, characterized in that, The generation of production execution instructions for each raw material batch specifically includes: Obtain a pre-set peak-valley-flat electricity price schedule for enterprises. The electricity price schedule includes the electricity price type for each time period of the day, and the electricity price type includes valley period, normal period and peak period. A first score threshold and a second score threshold are determined based on the current seasonal pattern, wherein the first score threshold and the second score threshold corresponding to the peak season pattern are both higher than the threshold corresponding to the off-season pattern, and the first score threshold and the second score threshold corresponding to the off-season pattern are both lower than the threshold corresponding to the off-season pattern. For each batch of raw materials, the final execution score is compared with the first score threshold and the second score threshold: If the final execution score is not less than the first score threshold, the generated production execution instruction is to start the corresponding process at full power of the production line during the valley period immediately following the current time in the electricity price time table, and set the allowable consumption quantity of the raw material batch to the total remaining quantity of the batch. If the final execution score is between the second score threshold and the first score threshold, the generated production execution instruction is to produce at standard power in the next normal period in the electricity price time table, and set the allowable consumption quantity of the raw material batch to half the quantity of the batch. If the final execution score does not exceed the second score threshold, the generated production execution instruction is to abandon the production of the raw material batch and generate a raw material scrap warning record.
9. An intelligent analysis system for peak-valley-level electricity consumption strategies in industrial enterprises, characterized in that, The system includes: The operational status data acquisition module is used to collect the enterprise's operational status data, which includes inbound data, outbound data, and order urgency, wherein the order urgency is the percentage of expedited orders to the total number of orders. The seasonal pattern determination module is used to calculate the ratio of the average raw material inbound rate of the past seven days to the monthly average rate of the whole year based on the inbound data, and to determine the current seasonal pattern based on the determination ratio and the order urgency. The warehouse capacity calculation module is used to obtain the physical occupancy rate and available temporary storage area of each warehouse area of the enterprise, and calculate the remaining capacity ratio of the current warehouse location based on the physical occupancy rate of each warehouse area. Then, it is corrected according to the current seasonal pattern to obtain the production permit weight. The raw material batch urgency calculation module is used to obtain the remaining safe use days of each raw material batch of the enterprise, dynamically determine the near-expiration judgment threshold according to the current seasonal pattern, and then calculate the basic urgency of each raw material batch based on the comparison result between the remaining safe use days of each raw material batch and the near-expiration judgment threshold. The weighted urgency generation module is used to weight the basic urgency of each raw material batch according to the order urgency to obtain the weighted urgency of each raw material batch, and combine it with the production license weight to obtain the final execution score of each raw material batch. The production execution instruction generation module is used to generate a production execution instruction for each raw material batch based on the final execution score of each raw material batch and the current seasonal pattern, combined with the preset enterprise peak-valley-flat electricity price time table. The production execution instruction includes the planned start time and the allowed consumption quantity, and outputs a production plan table.
