Next Article in Journal
Characterization of Blast Wave Parameters in the Detonation Locus and Near Field for Shaped Charges
Next Article in Special Issue
A Combinatorial Model for Determining Information Loss in Organizational and Technical Systems
Previous Article in Journal
Identification of Review Helpfulness Using Novel Textual and Language-Context Features
Previous Article in Special Issue
A Model of a Universal Neural Computer with Hysteresis Dynamics for Avionics Problems
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

A Model of Optimal Production Planning Based on the Hysteretic Demand Curve

by
Mikhail E. Semenov
1,2,3,*,
Sergei V. Borzunov
1,
Peter A. Meleshenko
1 and
Alexey V. Lapin
4
1
Department of Computer Science, Voronezh State University, Universitetskaya Sq. 1, 394018 Voronezh, Russia
2
Department of Applied Mathematics and Mechanics, Voronezh State Technical University, XX-letiya Oktyabrya St. 84, 394006 Voronezh, Russia
3
Geophysical Survey of Russia Academy of Sciences, Lenina Av. 189, 249035 Obninsk, Russia
4
Automatic Control Systems Department, Bauman Moscow State Technical University, 2-nd Baumanskaya St., 5, 105005 Moscow, Russia
*
Author to whom correspondence should be addressed.
Mathematics 2022, 10(18), 3262; https://doi.org/10.3390/math10183262
Submission received: 18 July 2022 / Revised: 22 August 2022 / Accepted: 1 September 2022 / Published: 8 September 2022
(This article belongs to the Special Issue Nonlinear Dynamics Systems with Hysteresis)

Abstract

:
The article considers a hysteretic model of consumer behaviour in mono-product markets. Demand generation with regard to an individual consumer is modeled using a non-ideal relay with inverted thresholds. Therefore, the sales rate is defined as an analogue of the Preisach converter. The article considers the problem of the optimal production, storage, and distribution of goods, taking into account the hysteretic nature of the demand curve. The problem is reduced to a non-classical optimal control problem with hysteretic non-linearities. The latter is solved using Pontryagin’s maximum principle. The adopted economic model is based on the binary relationship of consumers to the product: the product is bought or the product is not bought. Transitions between these states are determined within the framework of our model only by the price of the goods; therefore, only the operator of a non-ideal relay can accurately describe such a dependence. The article presents the results of computational experiments illustrating the theoretical assumptions.

1. Introduction

The production, storage, and distribution of goods is one of the most important problems in applied economics. A large number of production models use the demand curve, which characterizes the intention and the ability of consumers to purchase goods produced by a particular enterprise. The demand curve is most commonly defined as a deterministic dependence of the sales volume on the “instantaneous” parameters of the state of the market. Such dependencies usually allow for a qualitative description of the market dynamics over short periods of time. However, they do not take into account earlier values of the parameters and, thus, do not account for a number of important factors, including consumer inertia and demand shifts occurring over time [1].

1.1. Purpose/Background

A number of studies [2,3,4,5,6] have suggested the completion of dynamic models of socio-economic processes with hysteretic elements. Thus, ref. [5] argues for the use of hysteretic elements in dynamic models. Here, hysteresis relates to the sum of individual impacts of all the participants of the market. The effect of hysteretic non-linearities on the level of unemployment is studied in [7].
A recent study [8] investigated the robustness of a large variety of macroeconomic models. The authors demonstrated that non-linear operators, namely, the play operator and the Prandtl–Ishlinskii operator, can be used to design accurate models of financial and economic processes.
It is known that hysteresis is commonly observed in various fields of physics, chemistry, economics, and biology. It takes place when the state of a system is determined by external conditions at a particular moment in time, as well as at other moments in the past. In this case, separate parts of a complex system usually exhibit strongly non-linear properties, which affect the behaviour of the whole system. We should note that dynamics are rather difficult to describe due to the complexity of the phase space and non-differentiability of the corresponding operators. Nevertheless, there are a number of constructive models of hysteretic converters which have been used effectively in the modeling of technical systems [9,10,11,12]. The most recent studies of the problem are presented in [13,14].
A large number of studies are devoted to the problem of the optimal control of dynamic systems that have hysteresis blocks in their composition. Thus, in [15,16], the optimal control problem is solved for a system with two state variables, one of which has evolution regulated by a controlled ordinary differential equation, and the other contains a hysteresis operator (backlash, Prandtl–Ishlinski operator and Preisach operator). Using the dynamic programming method, the corresponding Hamilton–Jacobi equation of the first order is derived, and it is proved that the objective function is the only bounded uniformly continuous solution of the Cauchy problem.
In a number of studies, hysteresis terms are present both in the equations of state and of control [17,18]. Within the framework of the discrete-time approach, dynamic programming equations are obtained and a method for their numerical solution is presented. In the case of continuous time, the conclusion is essentially based on the concept of the derivatives of multivalued functions. These results can be applied to systems with sensors and actuators (for example, piezoceramic materials).
Some specific problems of mathematical physics, in particular, the diffusion problem, are considered in [19,20]. A constructive method based on a two-parameter penalty function is proposed. The small parameter determines the deviation of the solution in finite time from the expected value, while the second parameter is used to approximate the main variational inequalities. The solution to the problem of control can be obtained by taking the limit in a doubly degenerate control system; the convergence in spatial coordinates is observed in a strong sense and is uniform in time. Diffusion in biological systems is discussed in [21]. In this article, the analyzed system contains three diffusion equations describing the evolution of three biological species: prey, predator and prey food (or vegetation). The equation for food density includes a hysteresis operator in the form of a generalized stop. The problem of minimizing the integral functional of costs in relation to the solutions of the above-mentioned system is examined. Some relaxation-type results for the minimization problem are obtained and the existence of an almost optimal solution is established. The problem of reaction diffusion control [22] is modeled by a system with two types of control, namely distributed control functions and controls that act on part of the boundary of the domain. The equation of state is given by the reaction-diffusion system with the additional property that the scalar stop operator is included in the reaction rate. A feature of the output of the conjugate system is the non-locality in time of the Hadamard derivative of the state control operator.
Another interesting way to use hysteresis non-linearities in control problems is proposed in [23]. Here the hysteresis term is introduced as a variational inequality of evolution with a closed convex m-dimensional real arithmetic space. In this case, there are optimal solutions, as well as the necessary conditions for optimality of the first order. In particular, under certain assumptions about regularity, the behavior of solutions of the conjugate system is described in detail. It is emphasized that a significant difficulty in obtaining optimality conditions is caused by the non-differentiability of the non-linear operators considered.
In technical tasks, the control of elements of mechanical systems, in particular, the mechanical transmission, is of great interest [24,25]. In some cases, the task is reduced to eliminating the hysteresis effect in a high-precision mechanical transmission. To describe the hysteresis behavior of a harmonic drive, a modified Bouc–Wen model is used. With the help of coordinate transformation and feedback linearization, a mathematical model of a sequential mechanical drive system is obtained. The reference trajectory is tracked by a controller based on a linear quadratic controller. The relative error in tracking steady-state fluctuations tends to zero. When using optimal control, the output signal of the harmonic drive can follow a more complex trajectory. In a series of investigations, refs. [26,27,28,29] demonstrate the possibility of controlling magnetostrictive and piezoelectric drives. The main task is solved in detail, achieving a given trajectory of movement, as well as reducing vibrations.
In a recent paper [30], the problem of identifying the parameters of the Preisach converter was solved using the improved particle swarm optimization method, an important property of which is that it is not necessary to know the exact gradient of the optimized function. Using the example of calculating the characteristics of piezoelectric actuators (piezoelectric actuators), fast convergence, small calculation time and higher accuracy were demonstrated compared to the classical particle swarm optimization algorithm.
The Preisach model is one of the most prominent constructive models of hysteresis [31]. It is also one of the most popular and actively developing models, and employs hysteretic operators with stochastic parameters. Thus, [32] investigated the response of a non-linear system to stochastic external factors, while [33] modified the said model to the threshold numbers characterised by random, rather than deterministic variables. In [34], hysteretic operators with stochastic parameters are discussed.
Other hysteresis models, such as the Bouc–Wen model, can also be applied in this kind of approach. For example, in [26], the problem of controlling the drive of an atomic force microscope driven by piezoelectric actuators was solved. It was shown that the presence of hysteresis friction degraded the characteristics of the microscope and led to a loss of accuracy. To eliminate estimation errors, non-simulated vibration and disturbances, a sliding mode control with perturbation estimation was used. This method was used to improve the performance and reliability of the system—the designed controller can provide superior tracking performance for piezoelectric actuators with low input frequencies. Similar ideas have been considered in recent studies [35,36,37,38,39].

1.2. Method

To date, several methods for solving optimal control problems have been used: the Bellman principle, dynamic programming, and the Pontryagin maximum principle [40,41,42,43,44]. The first two of these require smoothness of the right parts of the dynamic system, as well as the integrand in the target functional. The problem considered in this paper contains strong non-linearities (i.e., non-linearities that do not allow the possibility of linearization). It is known that the operator corresponding to the Preisach converter does not have a weak Gâteaux derivative. Therefore, the Pontryagin maximum principle is used to solve the problem, where smoothness is not necessary [45].
It should be noted that a number of issues related to optimal control leading to non-classical variational problems have previously been considered by various authors. Further development of the theoretical foundations of control methods for complex systems has been aimed at the introduction of stochastic control and stochastic filtering of dynamic systems, and the construction of general methods for solving non-classical variational problems.
The adopted economic model is based on the binary relationship of consumers to the product: the product is bought or the product is not bought. Transitions between these states are determined within the framework of our model only by the price of the goods; therefore, only the operator of a non-ideal relay can accurately describe such a dependence.

1.3. Results and Conclusions

In this article, we consider the problem of the optimal production, storage, and distribution of goods, taking into account the hysteretic nature of the demand curve. Namely, the problem is considered with regard to the demand curve determined by means of the Preisach converter with an inverted individual relay. With certain limitations imposed on the parameters, the problem has a single solution.
To use the proposed model for the description of real economic processes, a method for identifying the model parameters is required. This requires statistical studies of the attitudes of individual consumers to certain goods; that is, each potential consumer needs to compare, by means of a survey, the threshold values of the price at which the goods either cease to be purchased or begin to be purchased. However, in this paper, we solve the problem associated with modeling hysteresis effects in economic relations, and also consider a relatively simple problem of optimizing the trade and production strategy of producers under the conditions of the hysteresis function of demand.

2. Non-Ideal Relay

To describe hysteresis non-linearity, special functional operators are introduced. This approach to describing the hysteretic behaviour of systems was suggested and actively developed by M. A. Krasnosel’skii and A. V. Pokrovskii [46]. The models of hysteretic operators are defined on the space of continuous functions, and the dynamics of these converters are described by the relations “input state” and “output state”.
Let R [ α , β , x 0 , t 0 ] denote a hysteretic converter corresponding to the non-ideal relay with thresholds α and β , where x 0 { 0 , 1 } is the initial state of the converter and t 0 is the initial moment. The state space of the non-ideal relay is a set of two elements { 0 , 1 } . The input of the system is a function u ( t ) , which is continuous, when t t 0 . The output of the system is a step function x ( t ) determined by the operator relation
x ( t ) = R [ α , β , x 0 , t 0 ] u ( t ) .
The initial state x 0 of the converter has to comply with the following condition:
x 0 = 0 , if u ( 0 ) α , 1 , if u ( 0 ) β .
When α u ( 0 ) β is satisfied, x 0 can take any value belonging to the set { 0 , 1 } . The output values x ( t ) , when the input u ( t ) is continuous for t ( t 0 , ) with any t = τ , are determined according to the following rule:
R [ α , β , x 0 , t 0 ] u ( τ ) = x 0 , if t [ t 0 , τ ] : [ α < u ( t ) < β ] , 1 1 , if t [ t 0 , τ ) : [ u ( t ) β ] { t [ t , τ ] : [ u ( t ) > α ] } , 1 0 , if t [ t 0 , τ ) : [ u ( t ) α ] { t [ t , τ ] : [ u ( t ) < β ] } .
Thus, the output takes the value of [ t 1 , t 2 ] , if either x ( t 1 ) = 0 and u ( t ) α with t [ t 1 , t 2 ] , or x ( t 1 ) = 1 and u ( t ) β with t [ t 1 , t 2 ] . We can say that the relay is on, when the output is 1. Otherwise the relay is considered to be off. A detailed description of the non-ideal relay converter and its properties is given in [46].
The Preisach converter is a continuous analogue of non-ideal relays connected in parallel. The state space of the converter consists of pairs { u , z ( α , β ) } , where u is an arbitrary value and z ( α , β ) is the characteristic function of the subset of the half-plane α < β . For most applied problems, the support of the z ( α , β ) function belongs to a finite set, although this is not a crucial limitation.
The output of this converter is determined by the relation:
R [ z ( α , β ) , t 0 , x 0 ] u ( t ) = α < β R [ α , β , x 0 , t 0 ] u ( t ) d α d β .
The state space of the converter is demonstrated in Figure 1.

3. Modeling the Demand Curve

As we have mentioned in the Introduction, there are a large number of models that describe—in more or less detail—the attitude of consumers to a particular good (a group of goods). These models do not always take into account the history of such relations. In this regard, we should note that [1,2,7] demonstrated the need to consider the ambiguity of economic processes. In this article, we suggest a consumer demand model which reflects the dependence of its present state on its history.
Let the sales rate P ( t ) (i.e., the number of goods sold per unit of time) at any particular moment t depend on the price c ( t ) of the goods and its previous values. We note that consumers’ attitude towards the goods may change over time. Let the attitude of a particular consumer be a function R [ c ( t ) ] , which takes the values from the set { 0 , 1 } according to the following rule:
R [ c ( t ) ] = 1 , if c ( t ) α ( t ) , 0 , if c ( t ) β ( t ) , 0 or 1 , if α ( t ) < c ( t ) < β ( t ) ,
According to (5), the function R [ c ( t ) ] equals 1, if the consumer purchases the goods at the moment t. Otherwise the function equals 0. Let us consider R [ c ( t ) ] to be the output of a converter R [ α ( t ) , β ( t ) , R 0 ] , analogous to the non-ideal relay with inverted thresholds α , β , which receives an input signal c ( t ) with t [ 0 , T ] , where R 0 is the initial state of the converter. The attitude towards the goods changing over time can be modeled as dependencies α = α ( t ) , β = β ( t ) .
The relations between the input and the output of the converter R [ α , β , R 0 ] are schematically shown in Figure 2.
Let γ i denote the purchase rate of the i-th consumer, i = 1 , , n . Then, for the system of n consumers, the sales function will be
P ( c ( t ) ) = i = 1 n γ i R [ α i , β i , R 0 , ( i ) ] c ( t ) .
Of practical importance is the case with a large number of individual consumers n , when the impact of each participant of the market is γ i 0 . In this case, the sales function should be equal to the continuous limit of the sum (6):
P ( c ( t ) ) = α < β ω ( α , β , t ) d μ ,
with designations
ω ( α , β , t ) = Γ [ ω 0 ( α , β ) ] c ( t ) = R [ α ( γ ) , β ( γ ) , R 0 ( γ ) ] c ( t ) ,
and γ { ( α , β ) : α < β } . The dependence of the measure μ = μ ( t ) on the time makes it possible to update the dynamics of the attitude of groups of consumers towards the goods.
The converter (7) is analogous to the Preisach converter [46,47] with inverted 1 s and 0 s.

4. A Production Model

Below, we suggest that the support of the measure μ is contained in the triangle of the half-plane β > α , described by the inequalities α > 0 , β < a .
In the simplest case, the problem of profit maximisation at the current time is set as follows: it is necessary to determine the price function c * ( t ) on the time interval [ 0 , T ] so that at the moment t = t 1 , the profit
c ( t ) P ( t ) | t 1 max .
Let us assume that t [ 0 , T ] : 0 < c ( t ) a , i.e., the price of the goods is not negative and is limited from above by a.
This problem can be solved using the following function:
c * ( t ) = a τ τ t , if 0 t < τ , a 2 ( t 1 τ ) t τ , if τ t t 0 .
The graph of the function c * ( t ) is shown in Figure 3a.
Indeed, at the moment t = τ , the goods’ price is maximum c ( τ ) = a , and all individual relays are off, which corresponds to the lack of demand. On the segment [ τ , t 1 ] , the price monotonously decreases, and the demand P ( c ( t ) ) = a 2 2 c 2 2 grows (see Figure 3b). As we can see, when t = t 1 , the profit reaches its maximum, since the derivative
d ( c P ( c ) ) d c = d d c c a 2 2 c 2 2 = 1 2 a 2 4 c 2
equals zero, when c = a 2 , and the second derivative d 2 ( c P ( c ) ) d c 2 = 4 c < 0 , since the price is not negative.
Thus, for a rather simple production model, the profit maximisation is obtained through raising the price to its maximum level and then monotonously reducing it to a / 2 . However, a detailed analysis of a more realistic production model requires the use of optimal control methods [45,48].
Let us consider a problem of the optimal planning of the production process based on a hysteretic demand curve. For this, we should introduce the following designations (see Figure 4):
Z ( t ) —the number of goods at the manufacturer’s warehouse,
V ( t ) —the number of goods purchased by the consumer,
U ( t ) —the production rate, i.e., the number of goods supplied to the warehouse per unit of time,
P ( t ) —the sales rate, i.e., the number of goods sold per unit of time,
k 1 —consumption coefficient,
k 2 —coefficient characterising the cost of storage per goods item,
c ( t ) —price per goods item.
Let us assume that the production cost is 1. The system of integro-differential equations used to model the problem of production, storage, and distribution of goods is presented as follows:
Z ˙ = U P ,
V ˙ = P k 1 V ,
P ( t ) = Z ( t ) α < β ω ( α , β , t ) d α d β ,
ω ( α , β , t ) = Γ [ ω 0 ( α , β ) ] c ( t ) ,
Z ( 0 ) = V ( 0 ) = 0 .
To solve the production optimisation problem, we need to introduce the following additional assumptions:
(1) 0 U ( t ) U 0 — the presence of the threshold U 0 of the maximum production rate;
(2) 0 < c ( t ) a — the price of the goods is not negative and is limited by a;
(3) the production cost equals 1 (by redetermining the unit of measurement of the number of goods, we can set the cost arbitrarily, provided that it is not negative).
Let us now consider the functional equal to the total income over a finite time interval T, taken with the opposite sign:
I ( T ) = 0 T [ c ( t ) P ( t ) + U ( t ) + k 2 Z ( t ) ] d t .
Now we need to determine the conditions which allow for the maximum functional I ( T ) .
According to Pontryagin’s maximum principle [45,48], to reach the minimum of the functional (17), we need the maximum of the function H ( p 1 , p 2 , Z , V , P , U , c ) , called the Hamiltonian of system (16):
H ( p 1 , p 2 , Z , V , P , U , c ) = p 1 ( U P ) + p 2 ( P k 1 V ) ( c P + U + k 2 Z ) = = ( p 1 1 ) U + ( p 2 p 1 + c ) P k 1 p 2 V k 2 Z .
Since function H is linear along the argument U, max H ( p 1 , p 2 , Z , V , P , U , c ) =
H ( p 1 , p 2 , Z , V , P , U * , c * ) is reached when
U * ( t ) = 0 , if p 1 ( t ) < 1 , U 0 , if p 1 ( t ) > 1 , U , if p 1 ( t ) = 1 .
Let us describe the conditions, when summand A ( c ) ( p 2 p 1 + c ) P ( c ) makes an extreme contribution to the Hamiltonian (18). (1) Let p 2 p 1 + c > 0 be true. Then, A max when P = ( a 2 c ( t ) 2 ) / 2 (see Figure 5a).
d A ( c ) d c = 3 2 c 2 c ( p 1 p 2 ) 1 2 a 2 .
The derivative equals zero when
c ± = 1 3 [ p 1 p 2 ± ( p 2 p 1 ) 2 + 3 a 2 ] .
According to the model, the price belongs to segment [ 0 , a ] . Therefore, we need only the positive root c + = 1 3 [ p 1 p 2 + ( p 2 p 1 ) 2 + 3 a 2 ] . With all the possible values of p 1 , p 2 , a , this root belongs to segment [ 0 , a ] and corresponds to the maximum of the function A ( c + ) , since d 2 A ( c ) d c 2 | c = c + < 0 .
(2) Let p 2 p 1 + c < 0 be true. Then, as shown in Figure 5b, A max when P = ( a c ) 2 / 2 .
A ( t ) = ( p 2 p 1 + c ) ( a c ( t ) ) 2 2 ,
d A ( c ) d c = 1 2 ( a c ) 2 ( a c ) ( p 2 p 1 + c ) .
The derivative equals zero when the price value equals either c = a , or
c = 1 3 [ a 2 ( p 2 p 1 ) ] .
Thus, the maximum of the Hamiltonian is reached at a certain c * [ 0 , a ] , which satisfies the condition:
c * = 1 3 [ p 1 p 2 + ( p 2 p 1 ) 2 + 3 a 2 ] , if p 2 p 1 + c * > 0 ; 1 3 [ a 2 ( p 2 p 1 ) ] , if p 2 p 1 + c * < 0 .
Taking into account the determined value of c * , we obtain:
max { p 1 , p 2 , Z , V , P , U , c } H = H * ( p 1 , p 2 , Z , V ) | c ( t ) = c * = ( p 1 1 ) U * + ( p 2 p 1 + c * ) P k 1 p 2 V k 2 Z .
According to Pontryagin’s maximum principle, the unknown functions p 1 ( t ) and p 2 ( t ) satisfy differential equations
p ˙ 1 ( t ) = H * Z = k 2 ( p 2 p 1 + c * ) α < β ω ( α , β , t ) d α d β ,
p ˙ 2 ( t ) = H * V = k 1 p 2 ( t )
when t [ 0 , T ] with boundary conditions p 1 ( T ) = p 2 ( T ) = 0 .
As can be seen, the solution to function p 2 ( t ) is trivial: p 2 ( t ) 0 for any t [ 0 , T ] . Therefore, the dynamics of the integro-differential system (16) are determined by the evolution of the function p 1 ( t ) over time. The function, in turn, depends significantly on the output values of the hysteretic converter.
Relative to p 1 , the equation is presented as:
p ˙ 1 ( t ) = k 2 ( c * p 1 ) α < β ω ( α , β , t ) d α d β .
Let us assume that the storage cost is low compared to the production cost and the revenues: k 2 = 0 . In this case, the dependence of the parameter p 1 on the time in the interval [ 0 , T ] is determined by the differential equation
p ˙ 1 ( t ) = ( p 1 ( t ) c * ( t ) ) α < β ω ( α , β , t ) d α d β , p 1 ( T ) = 0 ,
where
c * = 1 3 p 1 + p 1 2 + 3 a 2 , if p 1 < c * , 1 3 a + 2 p 1 , if p 1 > c * .
According to (19), when t = 0 , the initial condition must satisfy the inequality p 1 ( 0 ) 1 . Indeed, we would otherwise observe the equality U * ( 0 ) = 0 , which, according to the model, would mean that the production had not begun. Since the initial moment for our model is the start of the production process, the inequality p 1 ( 0 ) 1 is true at the start of the production process.
The obtained inequality, in turn, imposes an important limitation on the relation (31): in the time interval [ 0 , T ] only p 1 < c * is implemented. Let us prove it.
Let us assume the opposite: t [ 0 , T ] : p 1 ( t ) > c * ( t ) . Then, at this point c * ( t ) = 1 3 a + 2 p 1 or
1 3 ( a c ( t ) ) + 2 3 ( p 1 ( t ) c ( t ) ) = 0 .
In (32), the second summand is positive, which means the first summand ( a c ( t ) ) / 3 < 0 . This contradicts the idea of price c ( t ) in our model, since the price is limited over the whole observation range: t [ 0 , T ] : 0 < c ( t ) a . We can, thus, conclude that, for our model, only the first equation from (31) is implemented, namely:
c * = 1 3 p 1 + p 1 2 + 3 a 2 .
Being inserted in (30) it results in:
p ˙ 1 ( t ) = 1 3 2 p 1 ( t ) p 1 2 ( t ) + 3 a 2 α < β ω ( α , β , t ) d α d β , p 1 ( T ) = 0 , 1 < p 1 ( 0 ) < a .
Therefore, we come to the following conclusion: in the production model (16) for any finite time moment T in the interval [ 0 , T ] , there is a single solution c * ( t ) to the system (34), which is strictly monotonous on [ 0 , T ] .
Indeed, we can easily see that ( p 1 < a ) : 2 p 1 ( t ) p 1 2 ( t ) + 3 a 2 < 0 . Therefore, extreme values of the functional I ( T ) are implemented by the function p ( t ) , for which p ˙ 1 ( t ) < 0 and p ( T ) = 0 . It is obvious that this function monotonously decreases from a particular initial value p 1 ( 0 ) < a to zero. It follows from (31) that the value of p 1 on the right border corresponds to the price at the final moment: c ( T ) = a / 3 .
This proves the existence and the strict monotony of the function p 1 ( t ) on [ 0 , T ] . Then, according to (33), the price is a strictly monotonous function of p 1 ( t ) , which proves the existence of c * and its monotony in a strict sense. The uniqueness of c * stems from the uniqueness of the solution to the ordinary differential Equation (34) [49,50]. Therefore, for any final moment T system (34) has a single solution c * ( t ) .

5. Results

We should point out that system (34) has a boundary condition corresponding to the end of the modeling time T. Therefore, the value of p 1 ( 0 ) is unknown. Unfortunately, the system (34) cannot be solved numerically by reversing the time axis due to the asymmetry of the Preisach converter with regard to the t parameter.
However, when t = T , the boundary condition can be satisfied using the following method: based on (34), we select the initial value m p 1 ( 0 ) [ 1 , a ] and perform the numerical solution. We can thus determine p 1 ( T ) | m .
Let us consider the mapping U T : p ( 0 ) p 1 ( 0 ) p 1 ( T ) . Since p ( ) : ( U T p ( ) < 0 ) and p ( + ) : ( U T p ( + ) > 0 ) , the continuity of the mapping U T results in p 1 ( * ) : ( U T p 1 ( * ) = 0 ) [49,50].
Due to the monotony of p 1 ( t ) over the entire analysed segment, we can use a binary search to find the single root of the equation
p 1 ( T ) | m = 0 .
The corresponding root m determines the initial value of the studied function at the moment t = 0 , matching the right border.
As we can see, the initial value of p 1 ( 0 ) depends on the parameters of the problem, namely on the state of the Preisach converter.
For the numerical experiments, we selected the following values of the dynamic system: a = 10 , U 0 = 1 , k 1 = 1.0 , T { 10 , 50 } .
Figure 6, Figure 7, Figure 8 and Figure 9 demonstrate the initial state of the hysteretic converter, corresponding to the demand at the moment t = 0 and the function p 1 ( t ) and c * ( t ) . The graphs show that, at the final moment, p 1 ( t ) turns zero and c * ( T ) takes the value a / 3 . The graphs show the following functions: U ( t ) (production rate), Z ( t ) (the number of goods at the warehouse), V ( t ) (the number of goods purchased by consumers), P ( t ) (the sales rate).
The number of elementary relays in the analogue of the Preisach converter in our numerical calculations was N = 210 . The monotonous decrease in the price with the growth of t results in the monotonous increase in P ( c ( t ) ) . Due to the finiteness of N, P ( c ( t ) ) changes rapidly at some points in time, which results in rapid changes in P ( t ) = Z ( t ) P ( c ( t ) ) . The behaviour of P ( c ( t ) ) described above occurs after the “activation” of each of the subsequent lines of individual relays of the converter (see Figure 5b).
Figure 6, Figure 7, Figure 8 and Figure 9 demonstrate that, at the time of production ( { t : U ( t ) > 0 } ), the number of goods at the warehouse and the number of good purchased by consumers grow. When the production process stops, the derivative of the function Z ( t ) becomes negative, while the growth of V ( t ) continues. However, V ( t ) soon reaches its maximum and begins to decrease monotonously due to the negative impact of the goods consumption k 1 V ( t ) in (12).
Let us also consider the value Q ( T ) = I ( T ) T , showing the profit of the manufacturer per unit of time. The dependence of this value on the sales duration is presented in Figure 10. The monotonous dependence demonstrates that the relative profit grows with an increase in the duration of the production process.

6. Conclusions

The article proposes a model of demand generation based on the hysteretic approach. The attitude of consumers towards the goods was modeled using an operator analogous to the operator of a non-ideal relay with inverted thresholds. This model makes it possible to take into account the history of consumers’ attitudes at a finite time interval. The analogue of the said model for a finite number of consumers (when their number approaches infinity) is the Preisach converter, whose state space consists of characteristic functions of the half-plane { α < β } of a non-classical type and determines the clockwise direction of the hysteresis loop. In this article, we considered the problem of the optimal production, storage, and distribution of goods on mono-product markets, taking into account the hysteretic nature of the demand curve. The problem was reduced to a non-classical optimal control problem with hysteretic non-linearities. The latter was solved using the Pontryagin’s maximum principle. The study demonstrated that, with certain limitations imposed on the parameters, the problem has a single solution. The article presents model examples illustrating the search for an optimal solution to the studied problem.
Finally, we note that the results obtained can be used in solving optimization problems related to competition in single-commodity markets. It is also important to study open economic systems under the conditions of hysteresis behavior of economic agents.

Author Contributions

Conceptualization, M.E.S. and S.V.B.; methodology, A.V.L. and P.A.M.; software, S.V.B.; validation, M.E.S., A.V.L. and P.A.M.; formal analysis, M.E.S. and P.A.M.; writing—original draft preparation, S.V.B.; writing—review and editing, M.E.S. and P.A.M.; visualization, S.V.B. and P.A.M.; supervision, M.E.S. and A.V.L.; project administration, M.E.S. All authors have read and agreed to the published version of the manuscript.

Funding

This research was conducted with the financial support of the Russian Federation Ministry of Higher Education and Science within the scope of agreement No. 075-11-2020-024.

Institutional Review Board Statement

Not applicable.

Informed Consent Statement

Not applicable.

Data Availability Statement

Not applicable.

Conflicts of Interest

The authors declare no conflict of interest.

References

  1. Blanchard, O.; Wolfers, J. The roles of shocks and institutions in the rise of European unemployment: The aggregate evidence. Econ. J. 2000, 110, C1–C33. [Google Scholar] [CrossRef]
  2. Cross, R.; McNamara, H.; Pokrovskii, A.V.; Rachinskii, D. A new paradigm for modeling hysteresis in macroeconomic flows. Phys. B Condens. Matter 2008, 403, 231–236. [Google Scholar] [CrossRef]
  3. Darby, J.; Cross, R.; Piscitelli, L. Hysteresis and unemployment: A preliminary investigation. In The Science of Hysteresis; Bertotti, G., Mayergoyz, I.D., Eds.; Academic Press: Oxford, UK, 2006; Volume 1, pp. 667–699. [Google Scholar] [CrossRef]
  4. Rios, L.; Rachinskii, D.; Cross, R. A model of hysteresis arising from social interaction within a firm. J. Phys. Conf. Ser. 2017, 811, 012011. [Google Scholar] [CrossRef]
  5. Rios, L.; Rachinskii, D.; Cross, R. On the rationale for hysteresis in economic decisions. J. Phys. Conf. Ser. 2017, 811, 012012. [Google Scholar] [CrossRef]
  6. Borzunov, S.V.; Semenov, M.E.; Sel’vesyuk, N.I.; Meleshenko, P.A.; Solovyov, A.M. Stochastic model of the hysteresis converter with a domain structure. Math. Models Comput. Simul. 2022, 14, 305–321. [Google Scholar] [CrossRef]
  7. Cross, R. Unemployment: Natural rate epicycles or hysteresis? Eur. J. Econ. Econ. Policies Interv. 2014, 11, 136–148. [Google Scholar] [CrossRef]
  8. Lamba, H.; Krejčí, P.; Rachinskii, D. The global stability of a class of history-dependent macroeconomic models. Math. Model. Nat. Phenom. 2020, 15, 1–24. [Google Scholar] [CrossRef]
  9. Carboni, B.; Lacarbonara, W.; Brewick, P.T.; Masri, S.F. Dynamical response identification of a class of nonlinear hysteretic systems. J. Intell. Mater. Syst. Struct. 2018, 29, 2795–2810. [Google Scholar] [CrossRef]
  10. Lacarbonara, W.; Vestroni, F. Nonclassical Responses of Oscillators with Hysteresis. Nonlinear Dyn. 2003, 32, 235–258. [Google Scholar] [CrossRef]
  11. Li, Y.; Zhou, S.; Litak, G. Robust design optimization of a nonlinear monostable energy harvester with uncertainties. Meccanica 2020, 55, 1753–1762. [Google Scholar] [CrossRef]
  12. Medvedskii, A.L.; Meleshenko, P.A.; Nesterov, V.A.; Reshetova, O.O.; Semenov, M.E.; Solovyov, A.M. Unstable Oscillating Systems with Hysteresis: Problems of Stabilization and Control. J. Comput. Syst. Sci. Int. 2020, 59, 533–556. [Google Scholar] [CrossRef]
  13. Pei, J.S.; Carboni, B.; Lacarbonara, W. Mem-models as building blocks for simulation and identification of hysteretic systems. Nonlinear Dyn. 2020, 100, 973–998. [Google Scholar] [CrossRef]
  14. Semenov, M.E.; Solovyov, A.M.; Meleshenko, P.A.; Reshetova, O.O. Efficiency of hysteretic damper in oscillating systems. Math. Model. Nat. Phenom. 2020, 15, 43. [Google Scholar] [CrossRef]
  15. Bagagiolo, F. Dynamic programming for some optimal control problems with hysteresis. Nonlinear Differ. Equ. Appl. 2002, 9, 149–174. [Google Scholar] [CrossRef]
  16. Bagagiolo, F. Viscosity solutions for an optimal control problem with Preisach hysteresis nonlinearities. ESAIM Control Optim. Calc. Var. 2004, 10, 271–294. [Google Scholar] [CrossRef]
  17. Belbas, S.A.; Mayergoyz, I.D. Dynamic programming for systems with hysteresis. Phys. B 2001, 306, 200–205. [Google Scholar] [CrossRef]
  18. Belbas, S.A.; Mayergoyz, I.D. Optimal control of dynamical systems with Preisach hysteresis. Int. J. -Non-Linear Mech. 2002, 37, 1351–1361. [Google Scholar] [CrossRef]
  19. Gavioli, C.; Krejčí, P. Control and Controllability of PDEs with Hysteresis. Appl. Math. Optim. 2021, 84, 829–847. [Google Scholar] [CrossRef]
  20. Brokate, M.; Friedman, A. Optimal Design for Heat Conduction Problems with Hysteresis. SIAM J. Control Optim. 1989, 27, 697–717. [Google Scholar] [CrossRef]
  21. Chen, B.; Timoshin, S.A. Optimal control of a population dynamics model with hysteresis. Acta Math. Sci. 2022, 42B, 283–298. [Google Scholar] [CrossRef]
  22. Münch, C. Optimal control of reaction-diffusion systems with hysteresis. ESAIM Control Optim. Calc. Var. 2018, 24, 1453–1488. [Google Scholar] [CrossRef]
  23. Brokate, M.; Krejčí, P. Optimal control of ODE systems involving a rate independent variational inequality. Discret. Contin. Dyn. Syst. Ser. B 2013, 18, 331–348. [Google Scholar] [CrossRef]
  24. Lu, Q.; Gang, T.; Hao, G.; Chen, L. Compound optimal control of harmonic drive considering hysteresis characteristic. Mech. Sci. 2019, 10, 383–391. [Google Scholar] [CrossRef]
  25. Belhaq, M.; Kirrou, I.; Mokni, L. Periodic and quasiperiodic galloping of a wind-excited tower under external excitation. Nonlinear Dyn. 2013, 74, 849–867. [Google Scholar] [CrossRef]
  26. Ding, B.; Li, Y. Hysteresis Compensation and Sliding Mode Control with Perturbation Estimation for Piezoelectric Actuators. Micromachines 2018, 9, 241. [Google Scholar] [CrossRef]
  27. Zhang, J.; Merced, E.; Sepúlveda, N.; Tan, X. Optimal compression of generalized Prandtl–Ishlinskii hysteresis models. Automatica 2015, 57, 170–179. [Google Scholar] [CrossRef]
  28. Tan, X.; Baras, J.S. Optimal Control of Hysteresis in Smart Actuators: A Viscosity Solutions Approach. In Proceedings of the International Workshop on Hybrid Systems: Computation and Control (HSCC 2002), Stanford, CA, USA, 25–27 March 2002; Lecture Notes in Computer Science; Tomlin, C.J., Greenstreet, M.R., Eds.; Springer: Berlin/Heidelberg, Germany, 2002; Volume 2289, pp. 451–464. [Google Scholar] [CrossRef]
  29. Tan, X.; Baras, J.S.; Krishnaprasad, P.S. Control of hysteresis in smart actuators with application to micro-positioning. Syst. Control Lett. 2005, 54, 483–492. [Google Scholar] [CrossRef]
  30. Yang, L.; Ding, B.; Liao, W.; Li, Y. Identification of Preisach Model Parameters Based on an Improved Particle Swarm Optimization Method for Piezoelectric Actuators in Micro-Manufacturing Stages. Micromachines 2022, 13, 698. [Google Scholar] [CrossRef]
  31. Mayergoyz, I.D. Mathematical Models of Hysteresis. Phys. Rev. Lett. 1986, 56, 1518–1521. [Google Scholar] [CrossRef]
  32. Mayergoyz, I.; Dimian, M. Analysis of spectral noise density of hysteretic systems driven by stochastic processes. J. Appl. Phys. 2003, 93, 6826–6828. [Google Scholar] [CrossRef]
  33. Semenov, M.E.; Borzunov, S.V.; Meleshenko, P.A. Stochastic Preisach operator: Definition within the design approach. Nonlinear Dyn. 2020, 101, 2599–2614. [Google Scholar] [CrossRef]
  34. Borzunov, S.V.; Semenov, M.E.; Sel’vesyuk, N.I.; Meleshenko, P.A. Hysteretic Converters with Stochastic Parameters. Math. Models Comput. Simul. 2020, 12, 164–175. [Google Scholar] [CrossRef]
  35. Deng, Z.; Zhong, S. A digital image encryption algorithm based on chaotic mapping. J. Algorithm Comput. Technol. 2019, 13, 1–11. [Google Scholar] [CrossRef]
  36. Man, Z.; Li, J.; Di, X.; Sheng, Y.; Liu, Z. Double image encryption algorithm based on neural network and chaos. Chaos Solitons Fractals 2021, 152, 111318. [Google Scholar] [CrossRef]
  37. Wang, X.; Yang, J.; Guan, N. High-sensitivity image encryption algorithm with random cross diffusion based on dynamically random coupled map lattice model. Chaos Solitons Fractals 2021, 143, 110582. [Google Scholar] [CrossRef]
  38. Chaudhary, N.; Shahi, T.B.; Neupane, A. Secure Image Encryption Using Chaotic, Hybrid Chaotic and Block Cipher Approach. J. Imaging 2022, 8, 167. [Google Scholar] [CrossRef]
  39. Meleshenko, P.A.; Semenov, M.E.; Klinskikh, A.F. Conservative chaos in a simple oscillatory system with non-smooth nonlinearity. Nonlinear Dyn. 2020, 101, 2523–2540. [Google Scholar] [CrossRef]
  40. Luo, X.; Liu, Z.; Wu, J. Dynamic Pricing and Optimal Control for a Stochastic Inventory System with Non-Instantaneous Deteriorating Items and Partial Backlogging. Mathematics 2020, 8, 906. [Google Scholar] [CrossRef]
  41. Dikariev, I.; Angulo, F.; Angulo-Garcia, D. Single-Switching Reachable Operation Points in a DC-DC Buck Converter: An Approximation from Time Optimal Control. Micromachines 2020, 11, 834. [Google Scholar] [CrossRef]
  42. Udrişte, C.; Ţevy, I. Minirobots Moving at Different Partial Speeds. Mathematics 2020, 8, 1036. [Google Scholar] [CrossRef]
  43. Yuan, Z.; Teng, L.; Fengchun, S.; Peng, H. Comparative Study of Dynamic Programming and Pontryagin’s Minimum Principle on Energy Management for a Parallel Hybrid Electric Vehicle. Energies 2013, 6, 2305–2318. [Google Scholar] [CrossRef]
  44. Persio, L.D.; Garbelli, M. Deep Learning and Mean-Field Games: A Stochastic Optimal Control Perspective. Symmetry 2021, 13, 14. [Google Scholar] [CrossRef]
  45. Pontryagin, L.S.; Boltyanskii, V.G.; Gamkrelidze, R.V.; Mishechenko, E.F. The Mathematical Theory of Optimal Processes; Neustadt, L.W., Ed.; Wiley: New York, NY, USA, 1962; pp. 9–73. [Google Scholar]
  46. Krasnosel’skii, M.A.; Pokrovskii, A.V. Systems with Hysteresis; Springer: Berlin/Heidelberg, Germany, 1989; p. 410. [Google Scholar] [CrossRef]
  47. Mayergoyz, I.D. The Classical Preisach Model of Hysteresis. In Mathematical Models of Hysteresis; Springer: New York, NY, USA, 1991; pp. 1–63. [Google Scholar] [CrossRef]
  48. Lee, E.B.; Markus, L. Foundations of Optimal Control Theory; Wiley: Malabar, FL, USA, 1986; pp. 239–307. [Google Scholar]
  49. Arnold, V.I. Ordinary Differential Equations; Springer: Berlin/Heidelberg, Germany, 1992; pp. 89–103. [Google Scholar]
  50. Fedoryuk, M.V. Asymptotic Analysis: Linear Ordinary Differential Equations; Springer: Berlin/Heidelberg, Germany, 1993; pp. 1–23. [Google Scholar] [CrossRef]
Figure 1. An example of the state space of a system of non-ideal relays.
Figure 1. An example of the state space of a system of non-ideal relays.
Mathematics 10 03262 g001
Figure 2. The input-output relation of the converter R [ α , β , x 0 , t 0 ] with thresholds α and β . The hysteresis loop is reverse (i.e., it is directed clockwise) as compared to the classical definition of a non-ideal relay.
Figure 2. The input-output relation of the converter R [ α , β , x 0 , t 0 ] with thresholds α and β . The hysteresis loop is reverse (i.e., it is directed clockwise) as compared to the classical definition of a non-ideal relay.
Mathematics 10 03262 g002
Figure 3. (a) The graph of the function c * ( t ) , demonstrating the profit maximisation c ( t ) P ( t ) at the moment t 1 > 0 ; (b) The state of the Preisach operator at the moment t = t 1 . The region of the plane ( α , β ) , where the elementary relays are on, is filled with colour.
Figure 3. (a) The graph of the function c * ( t ) , demonstrating the profit maximisation c ( t ) P ( t ) at the moment t 1 > 0 ; (b) The state of the Preisach operator at the moment t = t 1 . The region of the plane ( α , β ) , where the elementary relays are on, is filled with colour.
Mathematics 10 03262 g003
Figure 4. A production and consumption model.
Figure 4. A production and consumption model.
Mathematics 10 03262 g004
Figure 5. (a) The extreme value of A ( c ) when p 2 p 1 + c > 0 ; (b) the extreme value of A ( c ) when p 2 p 1 + c < 0 .
Figure 5. (a) The extreme value of A ( c ) when p 2 p 1 + c > 0 ; (b) the extreme value of A ( c ) when p 2 p 1 + c < 0 .
Mathematics 10 03262 g005
Figure 6. (a) Initial state; (b) dependence p 1 ( t ) ; graphs of the function p 1 ( t ) , and p 1 ( t ) ± 0.1 are given for clarity; (c) the price function depending on the time; (d) functions U, Z depending on the time; (e) functions V, P depending on the time. Values of the parameters of the dynamic system: a = 10 , U 0 = 1 , T = 10 , k 1 = 1.0 .
Figure 6. (a) Initial state; (b) dependence p 1 ( t ) ; graphs of the function p 1 ( t ) , and p 1 ( t ) ± 0.1 are given for clarity; (c) the price function depending on the time; (d) functions U, Z depending on the time; (e) functions V, P depending on the time. Values of the parameters of the dynamic system: a = 10 , U 0 = 1 , T = 10 , k 1 = 1.0 .
Mathematics 10 03262 g006
Figure 7. (a) Initial state; (b) dependence p 1 ( t ) , graphs of the functions p 1 ( t ) ± 1.0 are given for clarity; (c) the price function depending on the time; (d) functions U, Z depending on the time; (e) functions V, P depending on the time. Values of the parameters of the dynamic system: a = 10 , U 0 = 1 , T = 50 , k 1 = 1.0 .
Figure 7. (a) Initial state; (b) dependence p 1 ( t ) , graphs of the functions p 1 ( t ) ± 1.0 are given for clarity; (c) the price function depending on the time; (d) functions U, Z depending on the time; (e) functions V, P depending on the time. Values of the parameters of the dynamic system: a = 10 , U 0 = 1 , T = 50 , k 1 = 1.0 .
Mathematics 10 03262 g007
Figure 8. (a) Initial state; (b) dependence p 1 ( t ) , graphs of the functions p 1 ( t ) ± 0.5 are given for clarity; (c) the price function depending on the time; (d) functions U, Z depending on the time; (e) functions V, P depending on the time. Values of the parameters of the dynamic system: a = 10 , U 0 = 1 , T = 10 , k 1 = 1.0 .
Figure 8. (a) Initial state; (b) dependence p 1 ( t ) , graphs of the functions p 1 ( t ) ± 0.5 are given for clarity; (c) the price function depending on the time; (d) functions U, Z depending on the time; (e) functions V, P depending on the time. Values of the parameters of the dynamic system: a = 10 , U 0 = 1 , T = 10 , k 1 = 1.0 .
Mathematics 10 03262 g008
Figure 9. (a) Initial state; (b) dependence p 1 ( t ) , graphs of the functions p 1 ( t ) ± 1.0 are given for clarity; (c) the price function depending on the time; (d) functions U, Z depending on the time; (e) functions V, P depending on the time. Values of the parameters of the dynamic system: a = 10 , U 0 = 1 , T = 50 , k 1 = 1.0 .
Figure 9. (a) Initial state; (b) dependence p 1 ( t ) , graphs of the functions p 1 ( t ) ± 1.0 are given for clarity; (c) the price function depending on the time; (d) functions U, Z depending on the time; (e) functions V, P depending on the time. Values of the parameters of the dynamic system: a = 10 , U 0 = 1 , T = 50 , k 1 = 1.0 .
Mathematics 10 03262 g009
Figure 10. Dependence of Q on the duration of sales T. Values of the parameters of the dynamic system: a = 10 , U 0 = 1 , k 1 = 1.0 .
Figure 10. Dependence of Q on the duration of sales T. Values of the parameters of the dynamic system: a = 10 , U 0 = 1 , k 1 = 1.0 .
Mathematics 10 03262 g010
Publisher’s Note: MDPI stays neutral with regard to jurisdictional claims in published maps and institutional affiliations.

Share and Cite

MDPI and ACS Style

Semenov, M.E.; Borzunov, S.V.; Meleshenko, P.A.; Lapin, A.V. A Model of Optimal Production Planning Based on the Hysteretic Demand Curve. Mathematics 2022, 10, 3262. https://doi.org/10.3390/math10183262

AMA Style

Semenov ME, Borzunov SV, Meleshenko PA, Lapin AV. A Model of Optimal Production Planning Based on the Hysteretic Demand Curve. Mathematics. 2022; 10(18):3262. https://doi.org/10.3390/math10183262

Chicago/Turabian Style

Semenov, Mikhail E., Sergei V. Borzunov, Peter A. Meleshenko, and Alexey V. Lapin. 2022. "A Model of Optimal Production Planning Based on the Hysteretic Demand Curve" Mathematics 10, no. 18: 3262. https://doi.org/10.3390/math10183262

APA Style

Semenov, M. E., Borzunov, S. V., Meleshenko, P. A., & Lapin, A. V. (2022). A Model of Optimal Production Planning Based on the Hysteretic Demand Curve. Mathematics, 10(18), 3262. https://doi.org/10.3390/math10183262

Note that from the first issue of 2016, this journal uses article numbers instead of page numbers. See further details here.

Article Metrics

Back to TopTop